Audio Queue Services provides a straightforward, low overhead way to record and play audio in OS X. Starting with OS X v10.5, it is the recommended technology to use for adding basic recording or playback features to your Mac app.
Questions tagged [audioqueueservices]
172 questions
1
vote
0 answers
How to read Audio queue service bufer by byte?
I am recording sound from mic input using Audio queue service.
-(void)startRecording{
[self setupAudioFormat:&recordState.dataFormat];
recordState.currentPacket = 0;
OSStatus status;
status =…

Streetboy
- 4,351
- 12
- 56
- 101
1
vote
1 answer
Objective-C - Passing Streamed Data to Audio Queue
I am currently developing an app on iOS that reads IMA-ADPCM audio data in over through a TCP socket and converts it to PCM and then plays the stream. At this stage, I have completed the class that pulls (or should I say reacts to pushes) in the…

DoctorDbx
- 328
- 4
- 12
1
vote
0 answers
How i can work with AvCaptureSession and OpenAL or an other service to play the sound
I like to implement a voice chat, i have first capture audio with CaptureSession and when i try to play the audio, i have some problems.
With OpenAL, i can't have the sound, data have been append in the buffer but no sound out, but captureSession…

user1352128
- 51
- 4
1
vote
2 answers
How to get the linear PCM from a recording on iPhone?
I want to do something like speaker verification on iPhone (as a course project). And I'm wondering how to get linear PCM from the speaker. I read about the documentation about queue services, and it seems that it records the sound and then store it…

yoyosir
- 458
- 2
- 11
- 27
0
votes
1 answer
iPhone 4s mic is worse than iPhone 4 mic
I'm using Audio Queue Framework with sample rate 44100 Hz to record data from the microphone on iPhone.
Then I test frequency response for iPhone 4 and iPhone 4s.
iPhone 4s mic is blind on frequencies higher than 20 kHz unlike iPhone 4.
It seems…

alexey
- 8,360
- 14
- 70
- 102
0
votes
1 answer
Audio output queue on iOS 5
Has anyone ever experienced that an audio output queue in iOS 5 is silent even though the queue is running and no errors are returned?
Downloaded a sample code that had the same issue.

Trenskow
- 3,783
- 1
- 29
- 35
0
votes
1 answer
AudioFileStreamParseBytes returns "pty?" on streamed, recorded data
I am working on an app that involves recording audio on one device and playing it back on another device connected with a socket connection.
I am using Audioqueues to record data on one peer device, and streaming that data OTA, as in SpeakHere…

dagnytaggart
- 511
- 7
- 17
0
votes
1 answer
what is a reasonable set of values for a core audio AudioStreamBasicDescription for an mp3?
I'm try to record some audio to mp3 based on Apple's AudioQueueTool example program; however, when I attempt to create Audio Queue using AudioQueueNewInput I get back the error 1718449215 which according to Apple's documentation means that "The…

user963697
- 65
- 1
- 1
- 3
0
votes
1 answer
AVAssestReader stop Audio Callbacks
So I setup an Audio session
AudioSessionInitialize(NULL, NULL, NULL, NULL);
AudioSessionSetActive(true);
UInt32 audioCategory = kAudioSessionCategory_MediaPlayback; //for output audio
OSStatus tErr =…

TurqMage
- 3,321
- 2
- 31
- 52
0
votes
0 answers
AudioQueue not playing the PCM I provide
I am trying to play pcm data in an iOS app using AudioQueues. I provide the pcm data in a buffer like so:
status = AudioQueueEnqueueBuffer(audioQueue!, buffer!, 0, nil)
where the buffer has been filled with:
memcpy(buffer!.pointee.mAudioData,…

TheCodeAspirer
- 59
- 6
0
votes
1 answer
Is it possible to access decoded audio data from Audio Queue Services?
I have an app in the App Store for streaming compressed music files over the network. I'm using Audio Queue Services to handle the playback of the files.
I would like to do some processing on the files as they are streamed. I tested the data in the…

Ben Baron
- 14,496
- 12
- 55
- 65
0
votes
1 answer
Remove Users from a Teams Call Queue
I have a quick question and I wander if you can help. Does any of you know how to remove a user from a teams call queue using Powershell? For some reason I'm not able to do it through Admin Center.
On admin center I can see 4 items added to the…

Tomas Gonzales
- 1
- 1
0
votes
1 answer
extracting mp3 file duration using AudioQueueServices
I have implemented a streaming mp3 player using AudioQueueServices, that downloads mp3s over an NSURLConnection. Playback, pausing, and seeking work great, however I can't figure out how to extract the duration of the audio from the mp3 files…

Brad The App Guy
- 16,255
- 2
- 41
- 60
0
votes
1 answer
iOS AudioQueue playing AAC data always delay for 2-3 seconds
Recently I was using AudioQueue to play network AAC data. My plan is that once a AAC data is received, audioqueue enqueue this buffer and play immediately.
When I start audioQueue, I use AudioQueueStart(audioQueue, NULL) to start audioQueue as soon…

Rango
- 21
- 5
0
votes
1 answer
iPhone dev - AudioQueue Services recording on background
I've built an audio recording app (like 'SpeakHere' demo from apple), and I was wondering how can I modify it to work on BACKGROUND.
Every time I enter background, the AudioQueue callback freezes, and I did not receive a single audio byte.
I've seen…

Lucas
- 1,135
- 1
- 9
- 20