mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Issue #1053 - Remove __ANDROID__ defines (except in third party code)
This commit is contained in:
parent
a29e342411
commit
b8f2ada817
10 changed files with 17 additions and 137 deletions
|
|
@ -630,15 +630,7 @@ AudioCallbackDriver::Init()
|
|||
|
||||
mSampleRate = output.rate = CubebUtils::PreferredSampleRate();
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
output.stream_type = CUBEB_STREAM_TYPE_MUSIC;
|
||||
if (output.stream_type == CUBEB_STREAM_TYPE_MAX) {
|
||||
NS_WARNING("Bad stream type");
|
||||
return;
|
||||
}
|
||||
#else
|
||||
(void)mAudioChannel;
|
||||
#endif
|
||||
|
||||
output.channels = mGraphImpl->AudioChannelCount();
|
||||
if (AUDIO_OUTPUT_FORMAT == AUDIO_FORMAT_S16) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue