lkml.org 
[lkml]   [2011]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [alsa-devel] [PATCH 1/4] ASoC: DAPM: Allow multiple mixer sources to be routed via the same switch
    On 08/11/2011 11:31 AM, Mark Brown wrote:
    > On Wed, Aug 10, 2011 at 05:52:41AM +0200, Lars-Peter Clausen wrote:
    >> Currently it is only possible to route one source per switch into a mixer.
    >> This patch modifies the code, so that it is possible to route multiple sources
    >> into a mixer via the same switch. One use-case for this is routing a stereo
    >> channel pair into a mono-mixer via the same switch.
    >
    > I'd have thought the dapm_is_shared_control() stuff should handle this?


    The dapm_is_shared_control() stuff is about sharing kcontrols between multiple
    muxes. This is about sharing the same kcontrol between multiple paths of the
    same mixer.

    i.e

    { "Mono Mixer", "DAC", "Left DAC" },
    { "Mono Mixer", "DAC", "Right DAC" },

    doesn't work without this patch.


    \
     
     \ /
      Last update: 2011-08-11 12:05    [W:0.020 / U:64.088 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site