MrJackSpade / RG35XXP-XFCE

102 stars 6 forks source link

RetroArch sounds missing after installing XFCE #17

Closed kasra9400 closed 1 week ago

kasra9400 commented 2 months ago

RetroArch sounds disappeared after installing XFCE. in retroarch Audio setting if you turn OFF audio and turn it ON again audio returns or you can use other sounds drivers (sdl2 driver works for me) to always have sounds. also, default Stock OS music player Audio is missing. I like to report issues to help this project progress ❤️

MrJackSpade commented 2 months ago

Maybe possibly reverting the pulse-audio stuff when existing the desktop might resolve the issue. I'll take a look at it when I get the chance.

Muuuush commented 2 months ago

Sometimes re-entry the XFCE, the pulse-audio didn't work normally.

MrJackSpade commented 1 week ago

I've modified the setup scripts to switch retroarch to SDL2 by default during installation, but the embedded media player appears to be having problems. Its trying to use pulse by default since its installed, which isn't working due to some missing library

root@ANBERNIC:~# /mnt/vendor/bin/music/mplayer2 -slave '/mnt/mmc/Music/01-Hotel California.flac' -vo null -quiet -softvol -volume 100 
MPlayer 1.1-7 (C) 2000-2012 MPlayer Team

Playing /mnt/mmc/Music/01-Hotel California.flac.
demux_open, file_format 0
libavformat version 54.6.100 (internal)
demux_ogg_open begin
Audio only file format detected.
Clip info:
 Artist: Eagles
 Title: Hotel California
 Album: Hotel California
Load subtitles in /mnt/mmc/Music/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 54.23.100 (internal)
AUDIO: 192000 Hz, 2 ch, s32le, 5152.9 kbit/41.93% (ratio: 644113->1536000)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
[AO_ALSA] alsa-lib: conf.c:4002:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so (/usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_conf_pulse.so: cannot open shared object file: No such file or directory)
[AO_ALSA] alsa-lib: pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
DVB card number must be between 1 and 4
AO: [null] 192000Hz 2ch s32le (4 bytes per sample)
[Mixer] No hardware mixing, inserting volume filter.
Video: no video
Starting playback...
MrJackSpade commented 1 week ago

Resolved.