I moved my hooks to asound.conf unfortunately without a change on the
behaviour.


an example out of the asound.conf:

pcm.AndroidPlayback_Speaker_normal {
        type hooks
        slave.pcm {
                type hw
                card {
                        @func refer
                        name defaults.pcm.card
                }
                device {
                        @func refer
                        name defaults.pcm.device
                }
        }
        hooks.0 {
                type ctl_elems
                hook_args [
                        {
                                name 'MM DAC Enable'
                                value 'on'
                                lock false
                                preserve true
                                optional false
                        }
                ]
        }
}


What I get with logcat is that:

E/ALSALib ( 1633): external/alsa-lib/src/control/setup.c:556:
(add_elem) Cannot obtain info for CTL elem (MIXER,'MM DAC Enable',
0,0,0): No such file or directory


but what I see with amixer is:

Simple mixer control 'MM DAC Enable',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]



So there is a control named 'MM DAC Enable'


What is wrong?

Sven

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to