[pulseaudio-tickets] [PulseAudio] #179: set-default-sink with wrong sink name fatal even when in .nofail section
PulseAudio
trac-noreply at tango.0pointer.de
Sat Dec 8 05:37:27 PST 2007
#179: set-default-sink with wrong sink name fatal even when in .nofail section
--------------------------------------+-------------------------------------
Reporter: pixelpapst | Owner: lennart
Type: defect | Status: new
Priority: normal | Milestone:
Component: daemon | Severity: normal
Keywords: .nofail set-default-sink |
--------------------------------------+-------------------------------------
Hi all,
my default.pa ends like this:
{{{
.nofail
set-default-sink alsa_output.pci_1274_5880_alsa_playback_0
}}}
Now, after upgrade to 0.9.8, for some reason module-detect-hal loads the
oss driver instead of alsa, so the sink name is different. However, the
deamon aborts after ~1 sec. with:
{{{
E: main.c: daemon/main.c : Fatal error. Default sink name
(alsa_output.pci_1274_5880_alsa_playback_0) does not exist in name
register.
}}}
I would expect only a warning here. From the short delay and error message
I assume that the name is cached and only looked up later - at which point
the missing sink is fatal.
IMHO it would be better to implement some non-fatal error behaviour, since
I also load module-rescue-streams for such occasions. :)
--
Ticket URL: <http://pulseaudio.org/ticket/179>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list