[alsa-devel] Audio codec volume control
Rajeev kumar
rajeev-dlh.kumar at st.com
Thu Sep 20 12:08:25 CEST 2012
Hello Peter
On 9/20/2012 3:28 PM, Peter Ujfalusi wrote:
> On 09/20/2012 10:56 AM, Rajeev kumar wrote:
>> Hello Mark,
>>
>> We have three volume control in audio codec.
>> 1. Master volume: control both left and right channel volume
>> 2. left volume: control left channel vol
>> 3. right volume: control right channel vol.
>>
>> So we can provide interfaces for all volume control to the user. Please
>> find below the control I can provide to the user space
>>
>> case 1:
>> 1. Provide master volume control
>> 2. Provide Left channel volume control.
>> 3. Provide Right channel volume control.
>>
>> case 2:
>>
>> 1. Provide master volume control
>> 2. Instead of providing separate control for left and right channel,
>> combined it and provide a single control to user space. so that left and right
>> volume is always in sync.
>
> case 3:
> 1. Provide master volume control
> 2. stereo volume control for the left/right channel
>
You mean to say
Left and Right should be a single stereo control which can be provided
with SOC_DOUBLE. Actually case 2 corresponds to the same setting which
you are suggesting.
But why this is better option?
In case user wants a separate left/right volume control then how this
setting is going to help.
Best Rgds
~Rajeev
More information about the Alsa-devel
mailing list