Play difference type of audio simultaneously

Hello everybody
i am making iphone app.
i want to play two audio files simultaneously. here the type of two files is difference. one is wav and another is mp3.
i tried to play these file with AudioToolbox Fameworks.
Therefore, in some time it normally works but in some time my app halts at the AudioQueueStop function.
i want to play two files normally in all the times.
is there anyway to do this!
Any kind of information on this topic is highly appreciated.
Thanks

You could possibly try using AVAudioPlayer instead. It's much simpler. However, I am having some trouble playing non-wav formats. See my other post for details. You can try your luck.

Similar Messages

  • I'm getting an "unable to play this type of audio file" message.

    I have a ton of music on my Incredible but don't listen too often.  I tried the other day and keep getting the message that it's unable to play or can't find any music.  Music files are MP3 and m4a files but I never had a problem in the past.  Does anyone know if a recent upgrade changed something or if I need an App, etc.?

    Hi Shadow9809!
    I have an article here that addresses this issue, and can help you troubleshoot it further:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • How to make mplayer play 3gp type files ??

    how to make mplayer play 3gp type files ??
    I downloaded a Japanese blue movie by amule, but I cannot play it!

    Army wrote:Actually, a few weeks ago, opencore-amr went into [extra] and ffmpeg and mplayer are being compiled against it, so Arch's mplayer should support 3gp files ootb including audio. Video playback was never an issue, because 3gp is just a container, the video codec is usually h263 or h264, which are no problem for mplayer.
    Very new versions of FFmpeg have native amr-nb support. I'm not sure if it happened before or after the most recent FFmpeg bump in the repos.

  • Can't play .amr files (MMS audio) after upgrading to iOS4

    I was able to play .amr files (MMS audio) prior to upgrading to iOS4 on my iPhone 3G but now get a notice saying this file type is not supported. Does anyone know how I can play these files on my phone again? Thanks!

    I just noticed that today too.

  • I rented 3 episodes of a TV Show on my iPhone but it says can't play this type of file?

    I paid for the rental, it was downloaded on an iPhone, yet when I go to play it it tells me "Cant play this type of file".
    So confused - why did it allow the download, but can't play it? I have an iPhone 3G - anyone have a similar problem (or know a solution?)

    First off, which nano? The 6th doesn't do video, and while I've never tried a TV show or movie, I have loaded some short video podcasts, which will play the audio, but not the video.
    I'd look through the different tabs in iTunes to see if there is a checkbox that turns on the ability to use video on your 5th or earlier Nano, if that's what you have. Lastly, did you buy the show from the iTunes store, or somewhere else?

  • If anyone can help i would be hugely grateful, I'm literally pulling my hair out.    I bought the Airport express so i could surf the web and wireless play music through my stereo simultaneously. Can I do this? I've managed to play music wirelessly from m

    If anyone can help i would be hugely grateful, I'm literally pulling my hair out. 
    I bought the Airport express so i could surf the web and wireless play music through my stereo simultaneously. Can I do this? I've managed to play music wirelessly from my macbook to the express/stereo, however i cant surf the web because i can only presume i haven't set up the express to join my sky network.  So therefore the only way to surf the web at the moment is swap wireless devices from express back to my current sky network, then the airplay stops obviously.
    I've tried to join the express to my sky network/netgear router, at face value it looks simple.  The sky network name automatically comes up and then all i have to do is select the correct wireless security which i haven't got a clue which one my sky/netgear router is using, then type in the password which i presume is the network key number on the back of the netgear router?  However its not connecting??  I am doing something wrong?
    Can someone please give me some guidence on how to connect express to my current network?

    and then all i have to do is select the correct wireless security which i haven't got a clue which one my sky/netgear router is using
    Suggest that you ask Sky what type of wireless security that is used on the devices that they provide.
    Once you have that information, you can choose the correct matching setting when you configure the AirPort Express to "join" the Sky wireless network.
    The "password" would be the normal phrase that you use to connect to your wireless network at the present time.

  • Can CDHtmlDialog play swf file with audio component?

    Hello, I'm using CDHtmlDialog in our application to play swf that shows user how to do a workflow. It works fine if swf does NOT have audio; if the swf has audio component, then it does not play.
    Can CDHtmlDialog play swf with audio?
    If not, any suggestion on how to implement playing swf file with audio?
    Many thanks in davance.

    Hi PingHu,
    How do you play the swf file in a html. I tried play a swf file with audio in my CDHtmlDialog class. I just use this:
    Html code Play the SWF file.
    <!DOCTYPE html>
    <html>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <body>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="200" height="100">
    <param name="movie" value="filename.swf">
    <param name="wmode" value="transparent">
    <embed src="D:\html directory\swf filename.swf" width="400" height="500" type="application/x-shockwave-flash" />
    </object>
    </body>
    </html>
    Then my sample is able to play a SWF file with audio. Hope this helps some.
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Types of audio formats

    I wish to have some audio over a photo.  What types of audio files/formats will iMovie take?
    Thanks -

    Hi
    I convert all to .aiff 16-bit 44.1kHz (Audio-CD) or 48kHz (as from miniDV tape Cameras)
    • Never .mp3 (or other alient format as .wma etc)
    • Not directly from iTunes as it will add a DRM-copy protection - resulting in (if made) a silent DVD.
    (By copying out from iTunes as an Audio-CD (.aiff) and using the files on this in the movie project it will play well)
    Yours Bengt W

  • When using ipad4, why do videos not play on Google?  Audio works fine

    WWhen using ipad,why do videos not play on Google? Audio still plays. I have reset the Google app and it will be ok for short time but then reverts back to not playing videos.

    Hi Vernon70,
    Welcome to the Apple Support Communities!
    I understand that an application you downloaded from the App Store, Google, is not functioning as you would expect. In this situation, I would recommend following the troubleshooting steps outlined in the attached article. 
    If an app you installed unexpectedly quits, stops responding, or won’t open - Apple Support
    Best regards,
    Joe

  • How to play more than 2 audio at the same time in a page

    I worked for interactivity book's page in Hype and I inserted two audio in a page
    One is background music played when page opend, Other is effect audio that played when touch the object.
    i added this widget in ibooks author.
    In ibooks-author on mac, i can hear two sound well. but in ibooks on ipad i got the problem..
    When i touch the object and play effect sound, background audio is stopped.
    Moreover, after effect sound ended then bgm is not played.
    i hope to hear two sound at the same time on ibooks, if not, play bgm continue after effect audio over.
    plz answer this problem.. T.T

    I got the same problems! I can't play multi audio at the same time. Would you mind letting me know the detail of how to deal with this problems.
    Regards,

  • How can I get iTunes 11 to play a video's audio over airplay on my Denon?

    It still shows AppleTV, but on the previous iTunes version it would play a video's audio on the Denon through Airplay.

    If the Denon shows in airplay mirroring you can just turn on mirroring and get the sound.  Otherwise try System Preferences -> Sound -> Output and choose the Denon there. Any system sound will play through the airplay device.  I don't know why apple doesn't just give an airplay option from the menu bar sound icon to make this easier.... seems like they are pushing people to mirror

  • How do I get the songs on my mac to play through my home audio receiver , USING THE MAC?

    The sales person at the apple store told me Apple TV would do that wirelessly.  While I can play the songs on my computer through my home theater by using the screen on the TV that Apple TV creates, I want to be able to just go to my mac, select my playlists and have those songs play through my home audio. I don't want to go through the whole Apple TV nonsense....
    Did I buy the wrong device?

    No you bought the correct device
    In iTunes you should see an AirPlay icon in the lower right hand side of the window (a box with a triangle in it).
    Click on the AirPlay icon and you should see the Apple TV listed in the drop down list. You should have the option to play music to the Computer, your Apple TV and Multiple Speakers (i.e.you can play to Compouter & Apple TV at the same time).  Select the Apple TV, the Apple TV should then turn on and your music will then play to it without the need to turn on the actual TV screen (might take a few secs for the Apple TV to wake up and fr playbask streaming to start, give it a chance to start up). 
    You just use iTunes in the normal way, playing what ever music you want, the output now goes to the Apple TV instead of the Computer.

  • When sending video from my iphone to apple tv it says on screen it is doing it but it wont play on tv but audio works great

    when sending video from my iphone to apple tv it says on screen it is doing it but it wont play on tv but audio works great

    Welcome to the Apple Community.
    Websites and third party Apps need enabling before they will allow AirPlay of Video content. Some Website/App developers have not enabled their products, some simply haven't got around to it yet, others have stated that they won't be enabling AirPlay (likely as a result of licensing issues).
    I have created a User Tip to list Apps that have been tested with Video Airplay, if you have any Apps that you have tested please email me details and I'll add them to the User Tip.

  • I imported a video and when I play it back, the audio does not match the video. When I view the tape in my camera it looks fine. I've tried imported twice and each time it doesn't match. What can I do to fix this?

    I imported a video and when I play it back, the audio does not match the video. When I view the tape in my camera it looks fine. I've tried imported twice and each time it doesn't match. What can I do to fix this?

    The default settings mostly likely use an audio sample rate of 32k. This doesn't work probably in FCP. You're probably better off capturing the tape in iMovie.

  • QT 7.3 won't play older qualcomm-purevoice audio

    QT 7.3 won't play older qualcomm-purevoice audio
    Q: How Do I get these older .mov files to play the audio

    Update to version 7.4 as it has fixed the Qualcomm issue.

Maybe you are looking for