Reading the sample buffer of the default audio output
Reading the sample buffer of the default audio output
- Subject: Reading the sample buffer of the default audio output
- From: Nils Svangård <email@hidden>
- Date: Thu, 21 Mar 2002 15:55:27 +0100
Hey,
While browsing the CoreAudio documentation I got the impression that the
Audio Driver fed back the Sample buffer to the HAL, and that I could
read this buffer with AudioDeviceRead(). (At least while looking at
figure 2-3 "Writing Audio Drivers" document.) What I'm trying to do is
write an application that does not play any sound but process the sound
other applications emit through sample buffer of the Default output
device.
However, after initializing and starting the device and registering the
AudioBuffers, AudioDeviceRead() returns
kAudioHardwareIllegalOperationError all the time. I've only heard
rumours that this should be possible, but perhaps it's not? Anyone got
any idea how I could do this?
Cheers,
--
Nils Svangerd, Catchy Software
http://www.catchysoftware.com
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.