我在 Linux MINt 17.1 Mate 64 位上的 Mednafen 中没有声音。相关部分
~/.mednafen/mednafen.cfg是:
;Disable speed throttling when sound is disabled.
nothrottle 0
;Automatically save and load save states when a game is closed or loaded, respectively.
autosave 0
;Select sound driver.
sounddriver default
;Select sound output device.
sounddevice default
;Sound volume level, in percent.
soundvol 100
;Enable sound emulation.
sound 1
;If non-zero, specifies the desired period size in microseconds. Currently only affects OSS and ALSA output.
sound.period_time 0
;Specifies the desired size of the sound buffer, in milliseconds.
soundbufsize 32
;Specifies the sound playback rate, in frames per second("Hz").
soundrate 48000
Run Code Online (Sandbox Code Playgroud)
从命令行启动 Mednafen 时输出的相关部分是:
Initializing sound...
Using "ALSA" audio driver with device "default":ALSA Error: snd_pcm_open(&alsa_pcm, id ? id : "hw:0", SND_PCM_STREAM_PLAYBACK, 0) No such file or directory
Error opening a sound device.
Run Code Online (Sandbox Code Playgroud)
我已经安装了 alsa-base,我还需要别的东西吗?有任何想法吗?
小智 7
刚设置
sounddevice sexyal-literal-default
Run Code Online (Sandbox Code Playgroud)
仅供参考:http : //mednafen.sourceforge.net/documentation/mednafen.html#Core+Features%01Troubleshooting+and+Common+Solutions%01No+sound+output+on+Linux。
| 归档时间: |
|
| 查看次数: |
13694 次 |
| 最近记录: |