I am trying to play audio on OMAP5 EVM, but i am not able to play any.
OMAP5 board specification:
Kernel: 3.8.13-g2c871a8, gl-sdk 6.04
please help me get audio playing on OMAP5 EVM.
below i am copying my observation on the board, when i run few commands related to alsa.
cat /etc/asound.conf
# default Arago configuration -> this is the only line in the asound.conf file
"amixer scontrols" shows nothing.
"amixer sset Headphone 100%+" shows the below line as response
#amixer: Unable to find simple control 'Headphone',0
"gst-launch-0.10 audiotestsrc ! alsasink device=hw:1,0" shows the below response
----------------------------------------------- Response ------------------------------------------
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could not get/set settings from/on resource.
Additional debug info:
gstalsasink.c(523): set_hwparams (): /GstPipeline:pipeline0/GstAlsaSink:alsasink0:
Unable to set hw params for playback: Invalid argument
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
-----------------------------------------------------------------------------------------------------------
"aplay -Dhw:1,0 -f cd xyz.wav" shows the below response
------------------------------------Response-----------------------------------------------------
Playing WAVE 'al05_48_320.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
aplay: set_params:1166: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 48000
PERIOD_TIME: 125000
PERIOD_SIZE: 6000
PERIOD_BYTES: 24000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 24000
BUFFER_BYTES: 96000
TICK_TIME: 0
-------------------------------------------------------------------------------------------------------------------------------
Best regards,
Srinivas.