diff options
Diffstat (limited to 'src/Main.hxx')
-rw-r--r-- | src/Main.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Main.hxx b/src/Main.hxx index 7e3fecd0b..dae7a5043 100644 --- a/src/Main.hxx +++ b/src/Main.hxx @@ -75,4 +75,15 @@ win32_app_stopping(void); #endif +#ifdef __APPLE__ + +/* Runs the OS X native event loop in the main thread, and runs + * mpd_main on a new thread. This lets CoreAudio receive route + * change notifications (e.g. plugging or unplugging headphones). + * All hardware output on OS X ultimately uses CoreAudio internally. + */ +int osx_main(int argc, char *argv[]); + +#endif + #endif |