Results 1 to 2 of 2
Discuss [iPhone SDK] Problem with playback audio using AudioQueue at the iPhone Developer Exchange - Hackint0sh.org; Hello, i have created a simple audio playback using the audio queue feature. My destination ...
  1. #1
    Newbie Array

    Join Date
    Mar 2008
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default [iPhone SDK] Problem with playback audio using AudioQueue

    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!



  2. #2
    Professional Array

    Join Date
    Dec 2007
    Posts
    81
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    11

    Default

    You only need that do-while loop if you are running the code in a separate thread. The main thread already has one of those things.

    So your options are either to remove the loop and see how it works, or to detach a new thread, and leave the loop in there.

 

 

Similar Threads

  1. MacNN: Yamaha intros mini system with wireless audio playback
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 11-13-2009, 04:10 PM
  2. MacNN: iDFX app enhances audio playback on iPods
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 10-10-2009, 12:10 AM
  3. Video playback problem
    By aristotele in forum AppleTV 1
    Replies: 0
    Last Post: 09-16-2009, 09:34 PM
  4. iPhone audio and youtube problem with iPlus
    By shabuya in forum General
    Replies: 2
    Last Post: 03-16-2008, 01:46 PM
  5. Replies: 5
    Last Post: 01-04-2008, 08:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 10:04 AM.
twitter, follow us!