diff options
Diffstat (limited to 'src/audio_core/adsp')
| -rw-r--r-- | src/audio_core/adsp/apps/opus/opus_decoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/adsp/apps/opus/opus_decoder.cpp b/src/audio_core/adsp/apps/opus/opus_decoder.cpp index 2084de128..75f0fb9ad 100644 --- a/src/audio_core/adsp/apps/opus/opus_decoder.cpp +++ b/src/audio_core/adsp/apps/opus/opus_decoder.cpp | |||
| @@ -30,9 +30,9 @@ bool IsValidMultiStreamChannelCount(u32 channel_count) { | |||
| 30 | return channel_count <= OpusStreamCountMax; | 30 | return channel_count <= OpusStreamCountMax; |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | bool IsValidMultiStreamStreamCounts(s32 total_stream_count, s32 sterero_stream_count) { | 33 | bool IsValidMultiStreamStreamCounts(s32 total_stream_count, s32 stereo_stream_count) { |
| 34 | return IsValidMultiStreamChannelCount(total_stream_count) && total_stream_count > 0 && | 34 | return IsValidMultiStreamChannelCount(total_stream_count) && total_stream_count > 0 && |
| 35 | sterero_stream_count > 0 && sterero_stream_count <= total_stream_count; | 35 | stereo_stream_count >= 0 && stereo_stream_count <= total_stream_count; |
| 36 | } | 36 | } |
| 37 | } // namespace | 37 | } // namespace |
| 38 | 38 | ||