[pulseaudio-tickets] [PulseAudio] #839: Pulseaudio tries to rewind on ioplug devices
PulseAudio
trac-noreply at tango.0pointer.de
Mon Jul 12 13:13:12 PDT 2010
#839: Pulseaudio tries to rewind on ioplug devices
----------------------+-----------------------------------------------------
Reporter: mcarans | Owner: lennart
Type: defect | Status: reopened
Milestone: | Component: module-alsa-*
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment(by mcarans):
The only error in the code you pasted was the else should say else if.
Yes, the crash is in snd_pcm_rewindable(). I believe it's because
u->pcm_handle for the sink is null (it isn't for other hardware sinks in
my setup).
There's an enum for PCM types:
http://www.alsa-project.org/alsa-doc/alsa-
lib/group___p_c_m.html#g60df675e39a8c0da3488bc06b1fe34ff
const char * snd_pcm_type_name (snd_pcm_type_t type): get name
of PCM type
might be helpful
Unfortunately I couldn't find a function that actually returns you a
snd_pcm_type_t, but I'm sure one must exist.
--
Ticket URL: <http://pulseaudio.org/ticket/839#comment:11>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list