Re: Help: About Input Volume
Re: Help: About Input Volume
- Subject: Re: Help: About Input Volume
- From: Jeff Moore <email@hidden>
- Date: Mon, 5 Dec 2005 14:43:12 -0800
I'll just add that quite often it is the case that input devices do
not have software controlled volumes. From the sound of it, this is
the case here. The easiest way to tell for sure is to see how many
input volume sliders AMS or HALLab puts up for the device in question.
One other common problem that folks run into is that USB Audio
devices are split into two devices, an input device and an output
device. Quite often, people will mistake one for the other. So, be
sure to check to see that the device you are talking to actually has
input channels. You can use kAudioDevicePropertyStreamConfiguration
to find out.
On Dec 5, 2005, at 6:06 AM, David Duncan wrote:
On Dec 5, 2005, at 08:02 AM, aizhimin wrote:
// Change input's volume and failed !
err = AudioDeviceGetPropertyInfo (
inputDevice,
1, // I have tryed set channel form 0 to 100, but
everytime returned by "err = 2003332927"
false,
kAudioDevicePropertyVolumeScalar,
NULL, &isWritable);
//----------------------------------------------------------
Who can help me ??? Help me ~~~~
2003332927 == 0x77686F3F == 'who?' - which in CoreAudio/
AudioHardware.h is kAudioHardwareUnknownPropertyError. Try checking
the channel that you are using.
And what did you want to do this for again? I know your trying to
modify the volume of a usb device, but why?
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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