Re: [pulseaudio-discuss] [WIP] Passthrough support

2011-03-16 Thread Arun Raghavan
On Tue, 2011-03-15 at 17:36 -0500, pl bossart wrote: I pushed your change along with a fix for the assert you saw to my tree as well. I tested the latest batch of patches with AC3/SPDIF this time. Works well in general, however I found some interesting points: - in Rhythmbox, the

[pulseaudio-discuss] [PATCH] Flip default to no git pull on make dist

2011-03-16 Thread mkbosmans
From: Maarten Bosmans mkbosm...@gmail.com --- Makefile.am |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index d69087a..9ae2948 100644 --- a/Makefile.am +++ b/Makefile.am @@ -73,8 +73,8 @@ fedora-snapshot: dist dist-hook: if test

[pulseaudio-discuss] New win32 patch series

2011-03-16 Thread Maarten Bosmans
The updated branch is online at https://github.com/mkbosmans/pulseaudio/compare/mingw32-build [PATCH 1/9] module-waveout: Add device_name parameter [PATCH 2/9] Find modules and config files relative to the installed libraries. [PATCH 3/9] build: copy instead of link pacat to other utils on win32

[pulseaudio-discuss] [PATCH 1/9] module-waveout: Add device_name parameter

2011-03-16 Thread Maarten Bosmans
Also use the name in the source/sink description. Based on a patch by srirams, from github. --- src/modules/module-waveout.c | 32 ++-- 1 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/modules/module-waveout.c b/src/modules/module-waveout.c index

[pulseaudio-discuss] [PATCH 3/9] build: copy instead of link pacat to other utils on win32

2011-03-16 Thread Maarten Bosmans
This is necessary as symlinks are not supported on Windows. Also use the $(EXEEXT) variable. As a side effect on POSIX, an absolute symbolic link is now created instead of a relative one. --- src/Makefile.am | 21 + 1 files changed, 13 insertions(+), 8 deletions(-) diff

[pulseaudio-discuss] [PATCH 4/9] build: Protect some more variables by ifdefs

2011-03-16 Thread Maarten Bosmans
This avoids empty directories being created on builds without X11, ALSA, etc. --- src/Makefile.am | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 3736669..e0c5d0d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -27,10

[pulseaudio-discuss] [PATCH 6/9] Fix pa_rtclock_from_wallclock

2011-03-16 Thread Maarten Bosmans
The HAVE_CLOCK_GETTIME macro protects timespec and related functions, nothing of which is used in pa_rtclock_from_wallclock. And silently just not converting was not the proper solution anyway. Also add an assert in pulse/mainloop.c to report the integer overflow that was triggered by the

[pulseaudio-discuss] [PATCH 7/9] module-waveout: Query device for supported samplerate

2011-03-16 Thread Maarten Bosmans
Instead of using a fixed list list of supported rates, ask the wave subsystem whether the rate can be used. --- src/modules/module-waveout.c | 59 + 1 files changed, 36 insertions(+), 23 deletions(-) diff --git a/src/modules/module-waveout.c

[pulseaudio-discuss] [PATCH 8/9] module-waveout: Move thread creation

2011-03-16 Thread Maarten Bosmans
--- src/modules/module-waveout.c | 22 +- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/modules/module-waveout.c b/src/modules/module-waveout.c index 44b15da..90d0599 100644 --- a/src/modules/module-waveout.c +++ b/src/modules/module-waveout.c @@ -650,7

[pulseaudio-discuss] [PATCH 9/9] module-waveout: Fix record/playback args

2011-03-16 Thread Maarten Bosmans
--- src/modules/module-waveout.c | 20 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/modules/module-waveout.c b/src/modules/module-waveout.c index 90d0599..6c96921 100644 --- a/src/modules/module-waveout.c +++ b/src/modules/module-waveout.c @@ -256,20

Re: [pulseaudio-discuss] [WIP] Passthrough support

2011-03-16 Thread Arun Raghavan
On Wed, 2011-03-16 at 11:19 +0530, Arun Raghavan wrote: [...] It will work, but not with paplay, only with the extended API when you create a non-PCM stream. I will rationalise the check for passthrough sink inputs in a bit, but for now, could you change the checks (there I've pushed a more

Re: [pulseaudio-discuss] [WIP] Passthrough support

2011-03-16 Thread Tanu Kaskinen
On Tue, 2011-03-15 at 17:36 -0500, pl bossart wrote: I pushed your change along with a fix for the assert you saw to my tree as well. I tested the latest batch of patches with AC3/SPDIF this time. Works well in general, however I found some interesting points: - in Rhythmbox, the