avaudioplayer
How to unduck AVAudioSession
kAudioSessionProperty_OtherMixableAudioShouldDuck开发者_StackOverflow中文版 is used For audio session categories that allow mixing of iPod audio with application audio, specifies whether iPod audio sh[详细]
2023-03-16 01:22 分类:问答EXC_BAD_ACCESS after audioPlayerDidFinishPlaying: called
I have a class that I call to utilize AVAudioPlayer and everything works fine and dandy when it comes to playing the audio, but when the -audioPlayerDidFinishPlaying: is called my NSLog() command says[详细]
2023-03-14 15:08 分类:问答AVPlayer + loop + background
I need to: play a sound loop continue to play in b开发者_运维问答ackground All works fine with AVAudioPlayer, but now I have to use AVPlayer to play also music songs from the iPod library. But the[详细]
2023-03-14 10:36 分类:问答avaudioplayer-two background music problem
I have two .xibs in my app.The first .xib contains a round rectangle button that opens second .xib.ViewDidLoad 开发者_如何学编程method of second .xib starts a background music(mp3 file) using AVAudioP[详细]
2023-03-14 09:14 分类:问答Is it possible to use different volume levels for different players (AVAudio Player and MPMusicPlayer) while they are playing simultaneously?
I need to set different volume levels for different players using AVAudio and MPMusic Players, I am playing both players but I do not know how to set different different volumes levels.[详细]
2023-03-14 06:41 分类:问答AVAudioPlayer Keeps Playing After Multitasking
I have an app which plays music in the background during a game, which supports multitasking. When I press the home button, an action is called on applicationWillResignActive. This pulls up the pause[详细]
2023-03-14 03:51 分类:问答AVAudioPlayer Won't Play Repeatedly
I have a relatively simple app that plays a sound using AVAudioPlayer, like this: NSURL *file3 = [NSURL fileURLWithPath:[NSString stringWithFormat:@\"%@/ball_bounce.aiff\", [[NSBundle mainBundle] res[详细]
2023-03-14 02:10 分类:问答What Frameworks and imports are necessary to use AVAudioPlayer on iOS?
I\'m trying to play 开发者_StackOverflow社区a sound on iOS using AVAudioPlayer. I added the AVFoundation.framework and MediaPlayer.framework and tried to import AVAudioPlayer.h (this part didn\'t work[详细]
2023-03-13 15:33 分类:问答Change audio file from UIPicker
I have a UIPickerView set up and running fine.When the user selects a row I want one audio file to start but then if the user selects another row before the first audio file has stopped playing I want[详细]
2023-03-13 00:09 分类:问答Playing multiple sounds simultaneously with AVAudioPlayer
Could someone help me with a function that fires multiple AVAudioPlayers at the same time? Right now I am trying to get a total of twelve AVAudioPlayers to fire at once if twelve buttons are activated[详细]
2023-03-11 04:47 分类:问答