Re: HAL Output IOProc and multiple AudioBuffers
Re: HAL Output IOProc and multiple AudioBuffers
- Subject: Re: HAL Output IOProc and multiple AudioBuffers
- From: Jeff Moore <email@hidden>
- Date: Tue, 6 Jul 2004 12:22:57 -0700
The right thing to do with streams you don't wish to do IO with is to
disable them for your IOProc using
kAudioDevicePropertyIOProcStreamUsage.
On Jul 6, 2004, at 6:18 AM, Sven Behne Listen wrote:
Hi all!
I'm having a question regarding the HAL output IOProc in cases where an
AudioDevice has an AudioBufferList with more than one AudioBuffer (like
a MOTU 828 with 8 analog and 2 digital outs).
Supposed, I'm having only 8 channels and don't want any output on the
additional 2 digital channels, is it allright to set the mDataByteSize
field of the corresponding buffer to 0?
Or - if that's not within specs - am I safe to assume, that the
AudioBuffer's data will be zero the first time the IOProc is called and
I don't have to zero the buffer every time the IOProc is called?
Best regards,
Sven
_______________________________________________
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.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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.