This class provides an Objective-C alternative to many features from the C-based Audio Session Services.
Questions tagged [avaudiosession]
1047 questions
0
votes
1 answer
AVQueuePlayer is pausing but play icon won't disappear
I'm building an application that uses an AVQueuePlayer to stream audio. I have my AVAudioSession set up with the category AVAudioSessionCategoryPlayback and I'm able to receive events from remoteControlReceivedWithEvent:. However, when I pause my…

AdamPro13
- 7,232
- 2
- 30
- 28
0
votes
0 answers
Resume HTTP playback after audio session interruption ends
I am developing an application that plays HTTP live streaming via AVPlayer. When an my audio session gets interruptued (i.e incoming phone call, launch YouTube application ...) i save the state of my player. When the audio session interruption ends,…

rokridi
- 1,565
- 2
- 11
- 20
0
votes
1 answer
Audio recording formats in iphone?
I want to record audio in my iphone app, I found that the recording format is AAC
what are the other formats I can do record,
How to record audio in MP3 format, is there any tutorial for that ?

user2115266
- 137
- 1
- 12
0
votes
1 answer
Enable ring/silent switch with AVAudioSessionCategoryPlayAndRecord
How do I make physical ring/silent switch work again when I want to play and record audio at the same time using AVAudioSessionCategoryPlayAndRecord? I just cannot find an answer to that anywhere.

Rafał
- 1,237
- 1
- 11
- 21
0
votes
1 answer
How should I go about stopping/resuming all sounds within my iOS game?
I currently have background music that starts up when the app opens and runs an infinite loop until the user goes into the settings and turns the music off using this
-(IBAction)stopMusicButton{
[(AppDelegate*)[UIApplication…

Dave123
- 306
- 2
- 4
- 13
0
votes
1 answer
AVAudioPlayer behaviour handling issue
I have been trying to learn AVAudioPlayer and it's behaviour.
So to start with I had written
AVAudioPlayer *player = [[AVAudioPlayer alloc] initWithContentsOfURL:soundFileURL error:nil];
player.numberOfLoops = -1;
[player play];
It did worked well…

Sagrian
- 1,048
- 2
- 11
- 29
0
votes
1 answer
ios , get float level mic updateMesters when mic is recording audio
here is my code for recording now how can get the level sound input in mic by sample UIlable float number
i think i will use this function but how can i use this in rec.h & rec.m file
(void)updateMeters
AVAudioSession * audioSession =…

user1466308
- 77
- 9
0
votes
1 answer
Can iPhone app play audio over the top of iTunes?
Can an iPhone app play/overlay an audio source over the top of the iTunes app?
Ie. Can a user have a song playing in the iTunes app whilst my app plays additional audio simultaneously?
Can expand further if required.
Any assistance would be greatly…

Zam
- 115
- 1
- 4
- 13
0
votes
1 answer
AVAudioPlayer won't mute when SilentMode is on
I am starting to get convinced that iOS is just pure magic. I looked through numerous posts on AVAudioPlayer for solutions, but none worked.
When the application starts I have a movie starting off from MPMoviePlayerController and I have…

Setrino
- 341
- 4
- 9
0
votes
1 answer
AVAudioSession - reduce iOS background volume to make way for effect
I see a lag in the display when trying to turn off the ambient music (eg Music player or Spotify) for a sound effect. I'm using AudioServicesPlaySystemSound to play the effect itself. I use the following to start the session and play music in the…

Steve
- 988
- 1
- 12
- 25
0
votes
2 answers
Convert .Caf file to more standard format programatically in iOS
I know this has been asked around, but couldn't find a straight answer.
My App uploads .caf files from ios to Webserver, where .caf isn't a recognized format. What Should I do programatically in iOS to turn it into mp3, .wav..etc before uploading to…

SMA2012
- 161
- 1
- 3
- 9
0
votes
1 answer
Audio playback for movie despite in silent mode?
sorry for my question but i´ve implemented a intro- video and despite of the hardware silent-switch of my iPad, the audio is playing.
I´m also using the AVAudioplayer within my app just for playing short sound samples. Within this class, its the…

geforce
- 2,593
- 3
- 28
- 44
0
votes
1 answer
How can i get the Audio Data With Audio setting in Avfoundation
I added the Microphone device with AVCaptureSession. I need audio through the delegateMethod . this method writing the audio on Server every time when I am getting it.
But AUDIO FORMAT is not right. Server required in PCM. So how can I get the audio…
user1202059
0
votes
1 answer
AVAudioSession - Seems to Think I'm Always Playing Audio
I'm using background audio in my iOS app. When the app launches there is no audio playing, but the status bar shows the play icon & the pause button is shown on the remote control. The app seems to think I'm already playing…

bendytree
- 13,095
- 11
- 75
- 91
0
votes
2 answers
MPMoviePlayerController Causes All Other Audio To Be Soft (After MP finishes)
I have an app that plays some background music, when a certain button is pushed, it pushes a new view using the navigation controller. That new view has a MPMoviePlayerController and an AVCaptureSession with a shared AudioSession. After that view…

user717452
- 33
- 14
- 73
- 149