[pulseaudio-discuss] Pulseaudio and Qt4
lennart at poettering.net
Mon Sep 3 10:29:11 PDT 2007
On Tue, 28.08.07 21:13, Nicolas Peyron (peyronn at free.fr) wrote:
> I am currently trying to integrate pulseaudio in the Qt4 main loop. My goal is
> for now to rewrite the little apps like pavucontrol in Qt4.
> My integration is working fine on my laptop, but I have some problems on my
> desktop. Pulseaudio is requiring simultanemously 2 "fd watch" on the same
> fd, with "write" enable for both. This confuses the loop integration as i have
> code it, because Qt doesn't want to watch the same fd twice on the same thing
> (write). So I would like to know if it is an expected behavior or,
> if there is a bug. (It's seems weird to me to ask the same think twice at the
> same time). If it's an expected comportement i will modify my loop
> integration, but i don't want to do the work if it's a bug.
Uh oh. PA definitely should not listen on the same fd twice. If that's
the case you found a bug.
Could you paste your code somehwere so that I can have a look?
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss