CoreAudio: Fix iphone build after audio device refactor (#17742)
(cherry picked from commit e955fbc36e
)
This commit is contained in:
parent
9a21f964ba
commit
3dc4447cb8
1 changed files with 2 additions and 0 deletions
|
@ -56,9 +56,11 @@ class AudioDriverCoreAudio : public AudioDriver {
|
||||||
|
|
||||||
Vector<int32_t> samples_in;
|
Vector<int32_t> samples_in;
|
||||||
|
|
||||||
|
#ifdef OSX_ENABLED
|
||||||
static OSStatus output_device_address_cb(AudioObjectID inObjectID,
|
static OSStatus output_device_address_cb(AudioObjectID inObjectID,
|
||||||
UInt32 inNumberAddresses, const AudioObjectPropertyAddress *inAddresses,
|
UInt32 inNumberAddresses, const AudioObjectPropertyAddress *inAddresses,
|
||||||
void *inClientData);
|
void *inClientData);
|
||||||
|
#endif
|
||||||
|
|
||||||
static OSStatus output_callback(void *inRefCon,
|
static OSStatus output_callback(void *inRefCon,
|
||||||
AudioUnitRenderActionFlags *ioActionFlags,
|
AudioUnitRenderActionFlags *ioActionFlags,
|
||||||
|
|
Loading…
Reference in a new issue