我用mplayer播放音乐,用alsa声音会卡,
我用oss,声音不卡了,但是不能再打开其他的了
下面是我用oss打开一个后,在打开其他的,mplayer返回的信息
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
[AO_ALSA] alsa-lib: pcm_hw.c:1132:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
[AO_ALSA] alsa-lib: pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: Device or resource busy
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Exiting... (End of file)
刘冲 于 2010-02-07 16:45:18发表:
还真不懂.
lijiang 于 2010-02-07 15:52:06发表:
感谢楼上的
woodelf 于 2009-12-31 08:04:37发表:
OSS不支持混音的,只能独占音频设备。要打开混音支持,请参考http://blog.chinaunix.net/u/20515/showart_145694.html,我就是根据这个打开了混音。