Path: blob/master/dep/cubeb/src/cubeb_osx_run_loop.h
4246 views
/*1* Copyright © 2014 Mozilla Foundation2*3* This program is made available under an ISC-style license. See the4* accompanying file LICENSE for details.5*/67/* On OSX 10.6 and after, the notification callbacks from the audio hardware are8* called on the main thread. Setting the kAudioHardwarePropertyRunLoop property9* to null tells the OSX to use a separate thread for that.10*11* This has to be called only once per process, so it is in a separate header12* for easy integration in other code bases. */13#if defined(__cplusplus)14extern "C" {15#endif1617void18cubeb_set_coreaudio_notification_runloop();1920#if defined(__cplusplus)21}22#endif232425