Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mumble/CoreAudio.h')
-rw-r--r--src/mumble/CoreAudio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mumble/CoreAudio.h b/src/mumble/CoreAudio.h
index 9e76618b0..98c3f9619 100644
--- a/src/mumble/CoreAudio.h
+++ b/src/mumble/CoreAudio.h
@@ -45,6 +45,8 @@ protected:
AudioBufferList buflist{};
static void propertyChange(void *udata, AudioUnit au, AudioUnitPropertyID prop, AudioUnitScope scope,
AudioUnitElement element);
+ static OSStatus deviceChange(AudioObjectID inObjectID, UInt32 inNumberAddresses,
+ const AudioObjectPropertyAddress inAddresses[], void *udata);
static OSStatus inputCallback(void *udata, AudioUnitRenderActionFlags *flags, const AudioTimeStamp *ts,
UInt32 busnum, UInt32 npackets, AudioBufferList *buflist);
@@ -64,6 +66,8 @@ protected:
AudioUnit auHAL{};
static void propertyChange(void *udata, AudioUnit au, AudioUnitPropertyID prop, AudioUnitScope scope,
AudioUnitElement element);
+ static OSStatus deviceChange(AudioObjectID inObjectID, UInt32 inNumberAddresses,
+ const AudioObjectPropertyAddress inAddresses[], void *udata);
static OSStatus outputCallback(void *udata, AudioUnitRenderActionFlags *flags, const AudioTimeStamp *ts,
UInt32 busnum, UInt32 npackets, AudioBufferList *buflist);