Reasons why an AudioDeviceIOProc won't be added ?
Reasons why an AudioDeviceIOProc won't be added ?
- Subject: Reasons why an AudioDeviceIOProc won't be added ?
- From: Rolley <email@hidden>
- Date: Thu, 28 Feb 2002 23:23:06 -0500
Hi,
it seems that I can't stop my output AudioDeviceIOProc. Although, I get no
error for adding and starting it, when removing or stopping it I get "com.
apple.audio.CAException[JCoreAudio:1.1.111],You cannot stop a device's
IOProc that is not added to the device." What would be the reasons for an
AudioDevice to not accept or not recognize an AudioDeviceIOProc ?
The IOProc is being called though, and actually won't stop because I can't
remove/stop it! Unfortunatly I get no output from my application. All I
try to do is redirect output to input. Do I need some kind of processing
on the input if I just want to plug my guitar into the built-in port and
hear some sound through the computer ?
What is usually the length of an AudioBufferList when receiving input ? I
get a length of one on every call.
Is it correct to copy each buffer of the AudioBufferList (with copyFromTo(
...) ) during input and during output replacing ( again with copyFromTo )
each buffers of the AudioBufferList by the one I've copied before ?
Thanks,
Roland Fines
_______________________________________________
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.