25 Oct
2008
25 Oct
'08
5:22 p.m.
On Wed, 15.10.08 12:14, Takashi Iwai (tiwai@suse.de) wrote:
Hi Lennart,
Heya!
I got a bug report about the recording with pulse alsa-plugin. It gets just -EIO error.
I checked it, and can reproduce it actually. The problem appears to happen since 1.0.18rc1, and the affecting commit is:
commit 90c32999189cf6f5c63f40dadb8076eca379713b Author: Lennart Poettering mznyfn@0pointer.de Date: Fri Jul 18 21:45:47 2008 +0200
send both an uncork and a trigger in _start()
The problem is that pa_stream_trigger() returns NULL for capture. I made a quick fix for this (the patch attached below), but not entirely sure whether it's the right thing. Please check.
Looks good. Please apply!
Thanks for looking into this!
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4