#839: Pulseaudio tries to rewind on ioplug devices ----------------------+----------------------------------------------------- Reporter: mcarans | Owner: lennart Type: defect | Status: reopened Milestone: | Component: module-alsa-* Resolution: | Keywords: ----------------------+----------------------------------------------------- Changes (by tanuk):
* status: closed => reopened * resolution: elsewhere => Comment: Reopening the bug, and changing the summary. Rationale below: Quoting Jaroslav Kysela[1]: "The rewind/forward implementation in ioplug is actually broken, because it moves only internal pointer without notification to real external plugin." So pulseaudio shouldn't try to rewind when it's using an ioplug device. I don't know whether it's possible to query alsa about the device type - maybe it's possible to ask if the device is an ioplug device, in which case we could set the sink's max rewind size to zero. Regardless of whether it's possible to query the device type, calling snd_pcm_rewindable() before calling snd_pcm_rewind() should fix this problem - presumably ioplug devices will always return zero from snd_pcm_rewindable(). If that's not the case, then that will need to be fixed in alsa. [1] http://thread.gmane.org/gmane.linux.alsa.devel/52773 -- Ticket URL: <http://pulseaudio.org/ticket/839#comment:10> PulseAudio <http://pulseaudio.org/> The PulseAudio Sound Server _______________________________________________ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets