| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
#if BUILDFLAG(ENABLE_PLATFORM_IAMF_AUDIO) || BUILDFLAG(ENABLE_IAMF_TOOLS)You could create a single flag which is enabled when either of these build arguments are enabled. We'd just have to make sure to not break downstream code in doing so.
Areas that are truly "platform IAMF"-only could still use `ENABLE_PLATFORM_IAMF_AUDIO` when needed.
bool IsDecoderIamfBuiltInAudioType() {
#if BUILDFLAG(ENABLE_PLATFORM_IAMF_AUDIO) || BUILDFLAG(ENABLE_IAMF_TOOLS)
return true;
#else
return false;
#endif // BUILDFLAG(ENABLE_PLATFORM_IAMF_AUDIO) || BUILDFLAG(ENABLE_IAMF_TOOLS)
}NIT: Could be `constexpr`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
#if BUILDFLAG(ENABLE_PLATFORM_IAMF_AUDIO) || BUILDFLAG(ENABLE_IAMF_TOOLS)You could create a single flag which is enabled when either of these build arguments are enabled. We'd just have to make sure to not break downstream code in doing so.
Areas that are truly "platform IAMF"-only could still use `ENABLE_PLATFORM_IAMF_AUDIO` when needed.
Created a single flag for this case. There was one specific case where `ENABLE_PLATFORM_IAMF_AUDIO` had to stay (mass prependingIADescriptors). Done.
bool IsDecoderIamfBuiltInAudioType() {
#if BUILDFLAG(ENABLE_PLATFORM_IAMF_AUDIO) || BUILDFLAG(ENABLE_IAMF_TOOLS)
return true;
#else
return false;
#endif // BUILDFLAG(ENABLE_PLATFORM_IAMF_AUDIO) || BUILDFLAG(ENABLE_IAMF_TOOLS)
}| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
channel_layout = CHANNEL_LAYOUT_DISCRETE;I know we added this for the prototype. I'm not sure that we want to default to DISCRETE without the rest of the prototype's code.
Leave as STEREO, and re-add as needed?
enable_iamf_audio = enable_platform_iamf_audio || media_use_iamfHere, `use_iamf_tools` might be helpful, in letting us know that this is using `third_party/iamf_tools`, versus whatever the OS/Platform is already providing.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |