How to set volume of Generic Output Unit in subgraph
How to set volume of Generic Output Unit in subgraph
- Subject: How to set volume of Generic Output Unit in subgraph
- From: "Jan Calta" <email@hidden>
- Date: Sun, 1 Jul 2007 18:48:49 +0200
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