175 |
} |
} |
176 |
|
|
177 |
String AudioOutputDeviceCoreAudio::Version() { |
String AudioOutputDeviceCoreAudio::Version() { |
178 |
String s = "$Revision: 1.2 $"; |
String s = "$Revision: 1.3 $"; |
179 |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
180 |
} |
} |
181 |
|
|
318 |
* Entry point for the thread. |
* Entry point for the thread. |
319 |
*/ |
*/ |
320 |
int AudioOutputDeviceCoreAudio::Main() { |
int AudioOutputDeviceCoreAudio::Main() { |
321 |
dmsg(2,("CoreAudio thread started\n")); |
dmsg(1,("CoreAudio thread started\n")); |
322 |
OSStatus res; |
OSStatus res; |
|
std::cout<<"thread started ca\n"; |
|
323 |
if(aqPlayerState.mQueue == NULL) { |
if(aqPlayerState.mQueue == NULL) { |
324 |
/* |
/* |
325 |
* Need to be run from this thread because of CFRunLoopGetCurrent() |
* Need to be run from this thread because of CFRunLoopGetCurrent() |