Big pile of interdependant changes:
authorLennart Poettering <lennart@poettering.net>
Wed, 23 Apr 2008 18:26:48 +0000 (18:26 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 23 Apr 2008 18:26:48 +0000 (18:26 +0000)
commit76031df4a4a156b7a6a9723b108bfdb37521ef7c
tree6c52c49bca198ab175b88fe67b9e84658bcd5e4e
parenta197644ea2cac5e35f2ca6d3d2af149ebedc13ba
Big pile of interdependant changes:
* Fix a deadlock when an asyncq overflows and an RT thread needed to wait until space became available again while the main thread was waiting for a operation to complete and thus didn't free any new items. Now, if the asyncq overflows, queue those items temporarily, and return immediately. Then, when the queue becomes writable again, flush it.
* Modify pa_thread_mq_init() to also set up pa_rtpoll events properly for the MQ
* Some more pa_bool_t'ization
* Unify more common code between alsa-sink and alsa-source
* The upper limit for the tsched watermark is max_use minus one frame
* make module-alsa-source work
* make the alsa modules use pa_alsa_build_pollfd() now
* fix detection of dB scale for alsa-source

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2308 fefdeb5f-60dc-0310-8127-8f9354f1896f
13 files changed:
src/modules/module-alsa-sink.c
src/modules/module-alsa-source.c
src/modules/module-null-sink.c
src/modules/module-pipe-sink.c
src/modules/module-pipe-source.c
src/pulsecore/asyncmsgq.c
src/pulsecore/asyncmsgq.h
src/pulsecore/asyncq.c
src/pulsecore/asyncq.h
src/pulsecore/rtpoll.c
src/pulsecore/rtpoll.h
src/pulsecore/thread-mq.c
src/pulsecore/thread-mq.h