Skip to content

Commit

Permalink
Remove unused comment for SB_DCHECK
Browse files Browse the repository at this point in the history
b/275199195
  • Loading branch information
borongc committed Sep 5, 2023
1 parent df60499 commit ddf33c2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions starboard/shared/starboard/player/decoded_audio_internal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ DecodedAudio::DecodedAudio(int channels,
size_in_bytes_(size_in_bytes) {
SB_DCHECK(channels_ > 0);
SB_DCHECK(size_in_bytes_ >= 0);
// TODO(b/275199195): Enable the SB_DCHECK below.
// SB_DCHECK(size_in_bytes_ % (GetBytesPerSample(sample_type_) * channels_) ==
// 0);
}

DecodedAudio::DecodedAudio(int channels,
Expand All @@ -88,7 +85,6 @@ DecodedAudio::DecodedAudio(int channels,
size_in_bytes_(size_in_bytes) {
SB_DCHECK(channels_ > 0);
SB_DCHECK(size_in_bytes_ >= 0);
// TODO(b/275199195): Enable the SB_DCHECK below.
SB_DCHECK(size_in_bytes_ % (GetBytesPerSample(sample_type_) * channels_) ==
0);
}
Expand Down

0 comments on commit ddf33c2

Please sign in to comment.