This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm8168 下面播放音频时如何指定设备?



我将mplayer移植到了板子上面,可以播放MP4视频,但是没有声音。我单独播放MP3时,会显示

[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory

Opening /dev/dvb/adapter0/audio0

DVB AUDIO DEVICE: No such file or directory

AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video

这种错误。

运行-ao help 参数时,有以下选项:

MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: ARM
Available audio output drivers:
oss OSS/ioctl audio output
mpegpes DVB audio output
v4l2 V4L2 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output

但是我轮着试了一遍,都不行。

另外,在内核启动时,还出现了这些打印信息:m8960asp2-codec 1-005c: No platform data supplied

请各位专家给点帮助,谢谢。

PS:开发包为dvrrdk3.5,音频芯片采用8960.目前可以通过mic录音,

录音时是通过代码(alsa)来实现,snd_pcm_open()设备名为“default:SOUND0”。