Re: How to set volume of Generic Output Unit in subgraph
Re: How to set volume of Generic Output Unit in subgraph
- Subject: Re: How to set volume of Generic Output Unit in subgraph
- From: William Stewart <email@hidden>
- Date: Mon, 2 Jul 2007 19:41:33 -0700
The volume parameter is not supported on the generic output (if you
run auval on the audio unit, you can see what parameters it does have:
% auval -v auou genr appl
You can use a mixer unit before the generic output and set its output
volume
Bill
On 01/07/2007, at 9:48 AM, Jan Calta wrote:
Hello,
I'd like to know, how to set volume of output unit, which has subtype
kAudioUnitSubType_GenericOutput and is part of subgraph connected to
mixer unit? I try to set it by calling AudioUnitSetParameter function
with kHALOutputParam_Volume parameter and when I call
AudioUnitGetParameter to find out what value was set, it seems to be
right, but volume of whole processing never changes.
As I've found in header file, kHALOutputParam_Volume is a "parameter
for the HAL Output Unit (and Default and System Output units)", so it
isn't intended for setting Generic Output Unit?
I use generic output unit as an end of subgraph, which is connected to
mixer unit (and mixer is connected to HAL Output unit). All possible
volumes in mixer unit are set to 1. I'd like to control the volume of
subgraph in its output unit, not in the mixer, is it possible? Does
volume of mixer influence volume on its output relatively (by
multiplying volume on its input by mixer volumes) or absolutely (by
substitution of input volume by mixer volumes)?
Thank you for any answer
Jan Calta
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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