Opened 5 years ago

Last modified 4 years ago

#11405 new defect

BACKENDS: RPi 3/4 - PulseAudio hoarse sound on any game

Reported by: idanmiara Owned by:
Priority: normal Component: Ports
Version: Keywords: audio
Cc: antoniou79 Game:

Description (last modified by idanmiara)

Hi,

I'm running ScummVM from the official raspbian repo.
Same results on both Raspberry Pi 3 and 4.
Sound works fine till I install PulseAudio (which I needed for a different app).
Then Any sound for any game sound very hoarse.
Is this a known issue?
I've found the following related thread:
https://forums.scummvm.org/viewtopic.php?t=10930

Is there a way to make ScummVM to ignore PulseAudio ?

does the following warning give any hint?

pi@raspberrypi:~ $ scummvm -v
ScummVM 2.0.0 (Dec 9 2018 13:06:11)
Features compiled in: Vorbis FLAC MP3 ALSA SEQ sndio TiMidity RGB zLib MPEG2 FluidSynth Theora AAC FreeType2 JPEG PNG

pi@raspberrypi:~ $ scummvm
WARNING: SDL mixer output buffer size: 512 differs from desired: 1024!
User picked target 'monkey' (gameid 'monkey')...

Looking for a plugin supporting this gameid... SCUMM [all games]
Starting 'The Secret of Monkey Island'

Change History (7)

comment:1 by idanmiara, 5 years ago

Description: modified (diff)

comment:2 by idanmiara, 5 years ago

Description: modified (diff)
Summary: Raspberry pi 4: hoarse sound on any gameRaspberry pi 4+PulseAudio: hoarse sound on any game

comment:3 by idanmiara, 5 years ago

Description: modified (diff)
Summary: Raspberry pi 4+PulseAudio: hoarse sound on any gameRaspberry Pi 3/4+PulseAudio: hoarse sound on any game

comment:4 by idanmiara, 5 years ago

Description: modified (diff)

comment:5 by antoniou79, 5 years ago

If you are able to build ScummVM yourself for the RPi (cross compilation or locally on the Pi*), then you could try with running the configure command with the --disable-alsa option, ie.:

./configure --host=raspberrypi --with-sdl-prefix=$RPI_ROOT/usr --disable-debug --enable-release --enable-optimizations --disable-alsa

...based on the instructions from: https://wiki.scummvm.org/index.php/Compiling_ScummVM/RPI

I haven't tried this myself, but it seems like a possible solution

*. Compiling locally on the RPi may produce a linker error. A possible remedy is mentioned in the above ScummVM wiki page: https://wiki.scummvm.org/index.php/Compiling_ScummVM/RPI

comment:6 by antoniou79, 5 years ago

Cc: antoniou79 added

comment:7 by raziel-, 4 years ago

Component: AudioPorts
Keywords: audio added
Summary: Raspberry Pi 3/4+PulseAudio: hoarse sound on any gameBACKENDS: RPi 3/4 - PulseAudio hoarse sound on any game
Note: See TracTickets for help on using tickets.