¡@

Home 

2014/10/15 ¤U¤È 10:04:12

iphone Programming Glossary: audioqueuebufferref

How do I synthesize sounds with CoreAudio on iPhone/Mac

http://stackoverflow.com/questions/1361148/how-do-i-synthesize-sounds-with-coreaudio-on-iphone-mac

0 audioQueue Allocate buffers for the AudioQueue and pre fill them. for int i 0 i BUFFER_COUNT i AudioQueueBufferRef mBuffer err AudioQueueAllocateBuffer audioQueue BUFFER_SIZE mBuffer if err noErr break AudioQueueCallback NULL audioQueue.. AudioQueue needs more data. Implement with something like void AudioQueueCallback void inUserData AudioQueueRef inAQ AudioQueueBufferRef inBuffer void pBuffer inBuffer mAudioData UInt32 bytes inBuffer mAudioDataBytesCapacity Write max bytes bytes of audio to..

where to start with audio synthesis on iPhone

http://stackoverflow.com/questions/2067267/where-to-start-with-audio-synthesis-on-iphone

endian signed 16 bit @ 44.1KHz class BleepMachine static void staticQueueCallback void userData AudioQueueRef outAQ AudioQueueBufferRef outBuffer BleepMachine pThis reinterpret_cast BleepMachine userData pThis queueCallback outAQ outBuffer void queueCallback.. reinterpret_cast BleepMachine userData pThis queueCallback outAQ outBuffer void queueCallback AudioQueueRef outAQ AudioQueueBufferRef outBuffer AudioStreamBasicDescription m_outFormat AudioQueueRef m_outAQ enum kBufferSizeInFrames 512 kNumBuffers 4 kSampleRate.. m_outFormat AudioQueueRef m_outAQ enum kBufferSizeInFrames 512 kNumBuffers 4 kSampleRate 44100 AudioQueueBufferRef m_buffers kNumBuffers bool m_isInitialised struct Wave Wave volume 1.f phase 0.f frequency 0.f fStep 0.f float volume float..

Data format from recording using Audio Queue framework

http://stackoverflow.com/questions/3963827/data-format-from-recording-using-audio-queue-framework

the callback which handles new audio data void AQRecorder MyInputBufferHandler void inUserData AudioQueueRef inAQ AudioQueueBufferRef inBuffer const AudioTimeStamp inStartTime UInt32 inNumPackets const AudioStreamPacketDescription inPacketDesc AQRecorder..

AVAssetReader and Audio Queue streaming problem

http://stackoverflow.com/questions/4763598/avassetreader-and-audio-queue-streaming-problem

when it is not called by the AudioQueue callback. static void HandleOutputBuffer void playerStateH AudioQueueRef inAQ AudioQueueBufferRef inBuffer AQPlayerState pplayerState AQPlayerState playerStateH if pplayerState mIsRunning 0 return UInt32 bytesToRead pplayerState..

Why might my AudioQueueOutputCallback not be called?

http://stackoverflow.com/questions/7575670/why-might-my-audioqueueoutputcallback-not-be-called

Prototype declared above the class's @implementation void AQBufferCallback void inUserData AudioQueueRef inAudioQueue AudioQueueBufferRef inAudioQueueBuffer Definition at the bottom of the file. void AQBufferCallback void inUserData AudioQueueRef inAudioQueue.. Definition at the bottom of the file. void AQBufferCallback void inUserData AudioQueueRef inAudioQueue AudioQueueBufferRef inAudioQueueBuffer printf callback n MyAudioPlayer inUserData audioQueue inAudioQueue didAquireBufferForReuse inAudioQueueBuffer..

iOS Stream Audio from one iOS Device to Another

http://stackoverflow.com/questions/8357514/ios-stream-audio-from-one-ios-device-to-another

That's the call back method set up in AQPlayer void AQPlayer AQBufferCallback void inUserData AudioQueueRef inAQ AudioQueueBufferRef inCompleteAQBuffer The method that we'll use to add part of our data to the audio queue is AudioQueueEnqueueBuffer AudioQueueEnqueueBuffer..

Audio recorded using Audio Queue Services to data

http://stackoverflow.com/questions/8451084/audio-recorded-using-audio-queue-services-to-data

the audio data to the other iPhone as it is being recorded. I believe I should do this in the AudioInputCallback . My AudioQueueBufferRef is called inBuffer and it seems that I want to convert the inBuffer mAudioData to NSData and then send the NSData to the.. I should grab the data and send it to the other iPhone void AudioInputCallback void inUserData AudioQueueRef inAQ AudioQueueBufferRef inBuffer const AudioTimeStamp inStartTime UInt32 inNumberPacketDescriptions const AudioStreamPacketDescription inPacketDescs..