Skip to content

Commit

Permalink
Do not merge - IAMF stub decoding on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
osagie98 committed Oct 10, 2024
1 parent c191d03 commit f2b32f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions starboard/linux/shared/media_is_audio_supported.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ bool SbMediaIsAudioSupported(SbMediaAudioCodec audio_codec,
return bitrate <= kSbMediaMaxAudioBitrateInBitsPerSecond;
}

#if SB_API_VERSION >= 15
if (audio_codec == kSbMediaAudioCodecIamf) {
return bitrate <= kSbMediaMaxAudioBitrateInBitsPerSecond;
}
#endif // SB_API_VERSION >= 15

if (audio_codec == kSbMediaAudioCodecAc3 ||
audio_codec == kSbMediaAudioCodecEac3) {
#if SB_API_VERSION < 15
Expand Down

0 comments on commit f2b32f0

Please sign in to comment.