Hi,
Im using OMAP4460. Amixer settings for the ALSA soundcard driver in order to enable audio output are shown below.
# amixer sset Headset 10
Simple mixer control 'Headset',0
Capabilities: pvolume penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 15
Mono:
Front Left: Playback 10 [67%] [-10.00dB]
Front Right: Playback 10 [67%] [-10.00dB]
# amixer sset 'Headset Right Playback' 'HS DAC'
Simple mixer control 'Headset Right Playback',0
Capabilities: enum
Items: 'Off' 'HS DAC' 'Line-In amp'
Item0: 'HS DAC'
# amixer sset 'Headset Left Playback' 'HS DAC'
Simple mixer control 'Headset Left Playback',0
Capabilities: enum
Items: 'Off' 'HS DAC' 'Line-In amp'
Item0: 'HS DAC'
#
# gst-launch-0.10 playbin2 uri="file:///home/ROOT/aliceinwonderland_01_carroll_6
4kb.m4b" audio-sink="alsasink device=plughw:0,8"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Caught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 4005249024 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
This used to work earlier. But now, I'm just able to hear noise and no audio from the track that is playing.
What I now did is, I tried with some other soundcard and digital audio device combination. In my case, plughw:0,4 . The pipeline fails and returns error.
But now, if I try the previous soundcard and digital audio device combination, i.e. plughw:0,8, audio works perfectly fine. I'm able to hear the song and there's absolutely no noise.
# gst-launch-0.10 playbin2 uri="file:///home/ROOT/aliceinwonderland_01_carroll_6
4kb.m4b" audio-sink="alsasink device=plughw:0,4"
Setting pipeline to PAUSED ...
[ 79.889556] omap-abe-twl6040 omap-abe-twl6040: can't get playback BE for Vibra Playback
[ 79.898040] OMAP ABE Vibra Playback: no BE found for Vibra Playback
Pipeline is PREROLLING ...
ERROR: from element /GstPlayBin2:playbin20/GstPl[ 79.972045] omap_hwmod: aess: _wait_target_disable failed
aySink:playsink0/GstBin:abin/GstBin:bin0/GstAlsaSink:alsasink0: Could not get/set settings from/on resource.
Additional debug info:
gstalsasink.c(462): set_hwparams (): /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstBin:bin0/GstAlsaSink:alsasink0:
Broken configuration for playback: no configurations available: Invalid argument
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
# gst-launch-0.10 playbin2 uri="file:///home/ROOT/aliceinwonderland_01_carroll_6
4kb.m4b" audio-sink="alsasink device=plughw:0,8"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Caught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 1752258301 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
I'm not able to figure out what exactly is wrong. Please help.
Thanks in advance,
Carol