-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate SB_HAS_QUIRK(SUPPORT_INT16_AUDIO_SAMPLES)
SB_HAS_QUIRK(SUPPORT_INT16_AUDIO_SAMPLES) was introduced to allow platforms to use `kSbMediaAudioSampleTypeInt16` after it's deprecated. Now SB_HAS_QUIRK(SUPPORT_INT16_AUDIO_SAMPLES) was removed from Starboard 16, and platforms can no longer use `kSbMediaAudioSampleTypeInt16`. All platforms have to support float sample type in their AudioSink implementations, which will be verified by nplb. `kSbMediaAudioSampleTypeInt16Deprecated` is kept but will no longer be used by Cobalt, so the AudioSink implementations can continue to support int16 sample type for internal use. We may remove `SbMediaAudioSampleType` and `SbAudioSinkIsAudioSampleTypeSupported()` completely in a future release, and assume that the only sample type supported by AudioSink across the Starboard interface is int 16. This only affects the usage of int 16 samples in Cobalt, where the Starboard interface is the only channel to communicate to platform implementations. Platforms using AudioSink for video playback that also need to support int 16 sample type internally can continue to do so by defining their own types and enum values for int 16 sample type below Starboard. b/332054094 Change-Id: I8924ce5717e9d815aa46050c6e85488a8cdedc13
- Loading branch information
Showing
13 changed files
with
52 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters