modusNX
03-18-2008, 12:31 AM
Hello,
i have created a simple audio playback using the audio queue feature. My destination is to create background music; nothing more. If you have a look at the Apple examples, you always find the code:
do {
CFRunLoopRunInMode (kCFRunLoopDefaultMode, 0.25, false);
} while (mIsRunning);
If i put these lines in the code, then the audio is playing correctly, but the UI is not reacting! I can push no button!
What do i have to do? Do i have to created a thread? Please help! Thank you!
i have created a simple audio playback using the audio queue feature. My destination is to create background music; nothing more. If you have a look at the Apple examples, you always find the code:
do {
CFRunLoopRunInMode (kCFRunLoopDefaultMode, 0.25, false);
} while (mIsRunning);
If i put these lines in the code, then the audio is playing correctly, but the UI is not reacting! I can push no button!
What do i have to do? Do i have to created a thread? Please help! Thank you!