4 |
* * |
* * |
5 |
* Copyright (C) 2009 Grigor Iliev * |
* Copyright (C) 2009 Grigor Iliev * |
6 |
* Copyright (C) 2011-2013 Andreas Persson * |
* Copyright (C) 2011-2013 Andreas Persson * |
7 |
* Copyright (C) 2014-2017 Christian Schoenebeck * |
* Copyright (C) 2014-2020 Christian Schoenebeck * |
8 |
* * |
* * |
9 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
10 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
309 |
*/ |
*/ |
310 |
int AudioOutputDeviceCoreAudio::Main() { |
int AudioOutputDeviceCoreAudio::Main() { |
311 |
dmsg(1,("CoreAudio thread started\n")); |
dmsg(1,("CoreAudio thread started\n")); |
312 |
|
|
313 |
|
#if DEBUG |
314 |
|
Thread::setNameOfCaller("CoreAudio"); |
315 |
|
#endif |
316 |
|
|
317 |
OSStatus res; |
OSStatus res; |
318 |
if(aqPlayerState.mQueue == NULL) { |
if(aqPlayerState.mQueue == NULL) { |
319 |
/* |
/* |