REL 1.0
Page 64 of 69
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15D Linux User Manual
5.10
Multimedia test
The iW-RainboW-G15M-Q7 platform will support the below audio and video devices.
Camera
AC97 & HDMI Audio
Gstreamer package to play video/audio files
VPU Test
Testing device Requirements
To test Multimedia devices supported by iW-RainboW-G15M-Q7 platform, following Items are required:
HDMI monitor.
Head Phone with Mic.
5.10.1
Audio Test
The given BSP supports the AC’97 and HDMI audio devices. This section explains how to test AC’97 and HDMI audio
codecs in the iW-RainboW-G15M platform.
To list the available audio interfaces, execute the below command.
root@iWave-G15~$aplay –l
The registered audio interfaces will be displayed on terminal as shown below,
**** List of PLAYBACK Hardware Devices ****
card 0: rt5610audio [rt5610-audio], device 0: rt5610 HIFI rt5610-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: imxhdmisoc [imx-hdmi-soc], device 0: IMX HDMI TX mxc-hdmi-soc-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
To play an audio file, execute the below command.
root@iWave-G15~$aplay -D plughw:<card>,<subdevice> /<path to audio file>/<audiofile_name>
Example
root@iWave-G15~$aplay -D plughw:0,0 /unit_tests/audio8k16S.wav
To record an audio file, execute the below command.
root@iWave-G15~$arecord -D plughw:<card>,<subdevice> -d <duration in sec> /<path to audio
file>/<audiofile_name>
Example
root@iWave-G15~$arecord -D plughw:0,0 -d 10 /unit_tests/test.wav
Note: AC'97 audio-in may not work properly. To fix this issue, refer the section Audio-in patch apply procedure.