AudioHardwareIOProcStreamUsage: does the hardware know?
AudioHardwareIOProcStreamUsage: does the hardware know?
- Subject: AudioHardwareIOProcStreamUsage: does the hardware know?
- From: Heiko Panther <email@hidden>
- Date: Wed, 04 Dec 2002 13:22:05 +0100
Hi!
A HAL client can switch streams on or off by using the selector
kAudioDevicePropertyIOProcStreamUsage. This has the cycle-saving effect
of the hardware drivers' sample conversion methods not being called for
an unused stream.
Is there a way for the hardware driver to find out that a sream has been
"switched off"? Some kind of notification maybe?
A less elegant solution would be to have counters in the sample
conversion routine for each stream, and check that way if any of the
streams are not being processed anymore.
Heiko Panther
_______________________________________________
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.