How to correctly set input gain for a HAL device?
How to correctly set input gain for a HAL device?
- Subject: How to correctly set input gain for a HAL device?
- From: Rustam Muginov <email@hidden>
- Date: Tue, 20 Dec 2005 11:00:39 +0300
Hello all.
How to correctly set input gain for a HAL input device?
As far as I understand, i should first check if master-channel is
available for input.
If device does have master-channel, then use it to set gain.
If device does not have master-channel, iterate thru all channel and
set gain individually.
Is it correct? Should the same method be applied then setting output
volume of HAL device? Could anyone provide "algorithm" or pseudo-code
for this?
Yes, i know that I should use AUHAL functionality, but I need to
support two version of interfaces for interfaces, both HAL and AUHAL
for some time.
Thank you in advance.
--
Sincerely,
Rustam Muginov
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden