Comment 25 for bug 108577

Revision history for this message
arcadepro (arcadepro) wrote :

Small update.

- Removed all config files from home directories.
- Re-installed esdcompat from the Hardy repository.
- Added: 'load-module module-esound-protocol-unix socket=/tmp/.esd-1000/socket' to default.pa

This stopped the errors from the gnome applet and the 'Failed to open module "module-protocol-esound-unix"' errors.
Why this did not work before I am not sure. Residual conflicting config files perhaps.
(There is an inconsistency there by the way. The module name you need to invoke is different to the filename. This causes some confusion)

Sound was still silent from EsounD sources at this point but errors had ceased and the pulseaudio daemon was now running.
(pulseaudio -v)

However, on running 'pactl list' I discovered that EsounD is mapped to the following.

*** Sample #1 ***
Name: esound.gnome-2/logout
Volume: 0: 100% 1: 100%
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right<---
Duration: 1.8s
Size: 310.1 KiB
Lazy: no
Filename: n/a

I opened 'alsamixer' and set PCM Front to 100, it was currently on 0.
Device is an Audigy 2 Pro (w/box) using the standard driver from a clean Hardy install.

Sound returned at this point.

Incidentally this also cured missing sounds in Adobe Flash Player. (AMD64 using nspluginwrapper in Firefox 64).

'No sound in flash ubuntu' has an insane number of hits on google. I'm not saying this is THE fix but if someone has exhausted all other avenues then simply increasing PCM Front seems worth a shot if the pulseaudio daemon is booting without error.