tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

cubeb_osx_run_loop.h (646B)


      1 /*
      2 * Copyright © 2014 Mozilla Foundation
      3 *
      4 * This program is made available under an ISC-style license.  See the
      5 * accompanying file LICENSE for details.
      6 */
      7 
      8 /* On OSX 10.6 and after, the notification callbacks from the audio hardware are
      9 * called on the main thread. Setting the kAudioHardwarePropertyRunLoop property
     10 * to null tells the OSX to use a separate thread for that.
     11 *
     12 * This has to be called only once per process, so it is in a separate header
     13 * for easy integration in other code bases.  */
     14 #if defined(__cplusplus)
     15 extern "C" {
     16 #endif
     17 
     18 void
     19 cubeb_set_coreaudio_notification_runloop();
     20 
     21 #if defined(__cplusplus)
     22 }
     23 #endif