Re: [pulseaudio-discuss] Compile and build of pulseaudio under Windows Mingw32

2012-01-06 Thread Maarten Bosmans
2012/1/4 peqoud peq...@gmail.com: Hello! Hi Erich, I sent my reply to the pulseaudio mailing list. Please subscribe or keep the list included in CC. Iam Erich and I just recently found out about your mingw32-build branch of pulseaudio for Windows on the following link:

Re: [pulseaudio-discuss] Sharing logged in users instance over TCP better than systemwide daemon?

2011-12-31 Thread Maarten Bosmans
2011/12/31 Graeme Pietersz graeme.piete...@gmail.com: Conceptally a system daemon ran from an /etc/init.d script is a better fit to make a sound server available than a auto-logon user. I can see that, but after all the warnings about a system wide daemon being unsupported I was looking for a

Re: [pulseaudio-discuss] [PATCH] Remove pa_prioq priority queue implementation

2011-12-26 Thread Maarten Bosmans
ping 2011/11/18 Maarten Bosmans mkbosm...@gmail.com: How is it that we end up with these list-like datatypes in the tree which are completely unused? The pa_prioq datatype was added three years ago, but never used. So unless somebody envisions a use for it in the near future, I propose

Re: [pulseaudio-discuss] Sharing logged in users instance over TCP better than systemwide daemon?

2011-12-22 Thread Maarten Bosmans
2011/12/22 Graeme Pietersz graeme.piete...@gmail.com: Message: 1 Date: Wed, 21 Dec 2011 23:24:50 +0100 From: Maarten Bosmans mkbosm...@gmail.com Subject: Re: [pulseaudio-discuss] Sharing logged in users instance       over TCP better than systemwide daemon? To: General PulseAudio Discussion

Re: [pulseaudio-discuss] [PATCH] echo-cancel test: fix segfault if invalid AEC method is given and handle mem leaks due to open files

2011-12-21 Thread Maarten Bosmans
Good work Peter, I'd split this up into two separate patches, as the patch solves two conceptually different issues, which just happen to be in the same file. (I'm sure at least Arun agrees with me here, as he has asked the same many time already) And the spelling fixes on the other hand could

Re: [pulseaudio-discuss] what's the minimum requirement for a PA sink module

2011-12-21 Thread Maarten Bosmans
2011/12/1 wang dengyi dy_w...@yahoo.com: Hi Guys, We use pulseaudio as the audio server on our Linux system but the real sound card is on the other OS which only provides a very basic audio driver. The audio driver only receive the PCM data (in certain format) and play it back. Could you

Re: [pulseaudio-discuss] [RFC] [PATCH] build-sys: Make esound bits optional

2011-12-21 Thread Maarten Bosmans
2011/12/21 Arun Raghavan arun.ragha...@collabora.co.uk: IMO EsounD is really quite irrelevant on most modern systems today, and more so for embedded systems. Any objections to making it optional? No, seems fine. I'd go for HAVE_ESOUND though just to keep it consistent with the rest. As seen

Re: [pulseaudio-discuss] [PATCH] consistently use parameter name p for a pa_proplist in prototype

2011-12-21 Thread Maarten Bosmans
2011/12/12 Peter Meerwald pme...@pmeerw.net: From: Peter Meerwald p.meerw...@bct-electronic.com ---  src/pulse/proplist.h |    6 +++---  1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pulse/proplist.h b/src/pulse/proplist.h index 52bc5ba..b95cfc9 100644 ---

Re: [pulseaudio-discuss] [PATCH v2] make Adrian's echo cancellation code optional

2011-12-21 Thread Maarten Bosmans
2011/12/11 Peter Meerwald pme...@pmeerw.net: From: Peter Meerwald p.meerw...@bct-electronic.com makes the Adrian echo canceller implementation optional at compile time this patch supersedes an earlier patch proposal and addresses the following comments: * separate patch from speex

[pulseaudio-discuss] commit: resampler: Move some peak resampler asserts around

2011-12-21 Thread Maarten Bosmans
This commit: http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=dc8edf4b43bf20e9edf6efd31836218924fad1f0 resampler: Move some peak resampler asserts around This moves a couple of asserts from peak_resample() to peaks_init() since they're resampler parameters that shouldn't change after

Re: [pulseaudio-discuss] detection of SSE3 support in configure.ac

2011-12-06 Thread Maarten Bosmans
2011/12/6 Nallasellan, Singaravelan singaravelan.nallasel...@intel.com: I have an optimized SSE-based resampling library that I bolted in PulseAudio. It was measured to bring a 2x speed-up over speex, mainly because it uses fixed-tables instead of interpolations, the price being that it can

Re: [pulseaudio-discuss] [PATCH 2/3] conf-parser: Add support for parsing property lists.

2011-12-03 Thread Maarten Bosmans
Would the patch in this form also allow the parse_properties in module-augment-properties to be replaced by this generic function from conf-parser.h? That would be a nice extra. Maarten 2011/12/3 Tanu Kaskinen ta...@iki.fi: ---  src/daemon/daemon-conf.c                |    2 +-  

Re: [pulseaudio-discuss] [PATCH] Add a property list to ports.

2011-12-02 Thread Maarten Bosmans
2011/12/2 David Henningsson david.hennings...@canonical.com: There not used for anything yet, but hopefully soon they'll be. I think it's a good idea to add this together with the first user of the port proplist. Also in the same series, please add a patch showing the port proplist in pactl and

Re: [pulseaudio-discuss] daemon ping-pongs the sink port

2011-12-01 Thread Maarten Bosmans
2011/12/2 Tony Bernardin sarus...@gmail.com: Sorry if I'm posting this question in the wrong list. I've been trying to search for this issue, but have been unsuccessful so far with not even a hint at what I could try to get to the bottom of this. I'm not very familiar with the sound system.

Re: [pulseaudio-discuss] list-sinks doesn't match aplay -l

2011-11-30 Thread Maarten Bosmans
2011/11/29 Cyrus Vafadari cyr...@mit.edu: I'm trying to use a bunch of sundcards (8 usb + 4 hdmi + 1 mobo) to control different zones separately combine them in cool ways. I'm having trouble getting pulse to recognize all of my soundcards' existence. aplay -l recognizes all 13 cards, as

[pulseaudio-discuss] [PATCH] resampler: Some minor tweaks

2011-11-28 Thread Maarten Bosmans
that were forgotten in the previous peaks resampler commits. --- src/pulsecore/resampler.c | 18 -- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c index dda6a2f..3cee06f 100644 --- a/src/pulsecore/resampler.c

[pulseaudio-discuss] [PATCH 1/4] Use fastpath assert in trivial resampler

2011-11-23 Thread Maarten Bosmans
When the assert is disabled, the trivial resampler gets a 35% performance boost. --- src/pulsecore/resampler.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c index dd9c1aa..495f33f 100644 ---

[pulseaudio-discuss] [PATCH 2/4] Disable fastpath asserts by default

2011-11-23 Thread Maarten Bosmans
--- configure.ac |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 1f65dd5..6b1e91f 100644 --- a/configure.ac +++ b/configure.ac @@ -157,6 +157,9 @@ AX_APPEND_COMPILE_FLAGS( [-Wall -W -Wextra -pipe -Wno-long-long -Wvla

[pulseaudio-discuss] [PATCH 3/4] Use better variable name in trivial resampler

2011-11-23 Thread Maarten Bosmans
--- src/pulsecore/resampler.c | 13 + 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c index 495f33f..5ba6b49 100644 --- a/src/pulsecore/resampler.c +++ b/src/pulsecore/resampler.c @@ -1369,7 +1369,7 @@ static int

[pulseaudio-discuss] [PATCH 4/4] Optimize trivial resampler

2011-11-23 Thread Maarten Bosmans
This improves the performance of a typical s16 2ch resampling by 88%. --- src/pulsecore/resampler.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c index 5ba6b49..e33e4fb 100644 ---

[pulseaudio-discuss] [PATCH] Update LICENSE

2011-11-22 Thread Maarten Bosmans
Mention gdbm, lirc and fftw there. --- LICENSE | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/LICENSE b/LICENSE index b312c44..cd5e42f 100644 --- a/LICENSE +++ b/LICENSE @@ -2,16 +2,16 @@ All PulseAudio source files are licensed under the GNU Lesser

[pulseaudio-discuss] Simplify list free functions

2011-11-18 Thread Maarten Bosmans
These two patches convert pa_queue and pa_dynarray to use simple free functions, with only a function pointer argument that frees the list elements, dropping the userdata argument. pa_asyncq and pa_flist already use this style of free function, patches for pa_hashmap and pa_idxset will follow

[pulseaudio-discuss] [PATCH 1/2] Use simple free function in pa_dynarray_free

2011-11-18 Thread Maarten Bosmans
--- src/pulsecore/cli-command.c |2 +- src/pulsecore/dynarray.c|4 ++-- src/pulsecore/dynarray.h|4 ++-- src/pulsecore/tokenizer.c |6 +- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/pulsecore/cli-command.c b/src/pulsecore/cli-command.c index

[pulseaudio-discuss] [PATCH 2/2] Use simple free function in pa_queue_free

2011-11-18 Thread Maarten Bosmans
--- src/pulsecore/pstream.c |8 src/pulsecore/queue.c |4 ++-- src/pulsecore/queue.h |4 ++-- src/pulsecore/sink.c|4 ++-- src/pulsecore/source.c |4 ++-- src/tests/queue-test.c |2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git

[pulseaudio-discuss] [PATCH] Remove pa_prioq priority queue implementation

2011-11-18 Thread Maarten Bosmans
--- src/.gitignore |1 - src/Makefile.am|9 +-- src/pulsecore/prioq.c | 256 src/pulsecore/prioq.h | 62 src/tests/prioq-test.c | 47 - 5 files changed, 1 insertions(+), 374 deletions(-) delete

Re: [pulseaudio-discuss] [PATCH] Remove pa_prioq priority queue implementation

2011-11-18 Thread Maarten Bosmans
How is it that we end up with these list-like datatypes in the tree which are completely unused? The pa_prioq datatype was added three years ago, but never used. So unless somebody envisions a use for it in the near future, I propose to just delete it. Maarten 2011/11/18 Maarten Bosmans mkbosm

[pulseaudio-discuss] [PATCH] Add pure and const attributes to functions that need them

2011-11-17 Thread Maarten Bosmans
--- src/modules/alsa/alsa-mixer.c |4 ++-- src/modules/module-device-manager.c |2 +- src/modules/rtp/rtp.h |5 +++-- src/pulse/channelmap.h |2 +- src/pulse/context.h |2 +- src/pulse/format.h |6 +++---

[pulseaudio-discuss] libpulsecore dependency on libpulsecommon

2011-11-16 Thread Maarten Bosmans
I'm looking for some guidance on how to solve https://bugs.freedesktop.org/show_bug.cgi?id=41539. The problem is that pulsecore/pstream.c (in libpulsecommon) includes pulsecore/core-scache.h (which is itself in and includes from libpulsecore), this is wrong. Apparantly it causes real trouble on

[pulseaudio-discuss] [PATCH] tests: Don't link tests that only use public api to libpulsecommon

2011-11-16 Thread Maarten Bosmans
--- src/Makefile.am | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 456a61f..417e675 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -314,7 +314,7 @@ thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS)

Re: [pulseaudio-discuss] RFC: Routing and Priority lists

2011-11-15 Thread Maarten Bosmans
2011/11/13 Colin Guthrie gm...@colin.guthr.ie: I've written up my latest proposal to gather feedback before starting (hopefully soon now) on the implementation. http://www.freedesktop.org/wiki/Software/PulseAudio/RFC/PriorityRouting Would the pa_route and PA_CORE_HOOK_SINK_INPUT_ROUTE stuff

Re: [pulseaudio-discuss] pulseaudio bug in resampler.c method src-linear

2011-11-15 Thread Maarten Bosmans
probably found the bug because hardly anybody else is using it except for some incidental testing. I sent an email to the libsamplerate list explaining the problem and got a reply from the author of libsamplerate. === Maarten Bosmans wrote: The problem

[pulseaudio-discuss] [PATCH 1/2] Rework the peaks resampler

2011-11-15 Thread Maarten Bosmans
The algorithm had been implemented the same way as the trivial resampler. But an important difference between the two is that the trivial resampler can write an output as soon as the first corresponding input sample is seen, whereas the peaks resampler must have read all input samples before

[pulseaudio-discuss] [PATCH 2/2] Improve performance of peaks resampler

2011-11-15 Thread Maarten Bosmans
This is mainly achieved by special-casing the common 1ch float case, which is used by applications such as pavucontrol. Performance is improved by 35% for a mono 48000-25Hz peaks resampling. --- src/pulsecore/resampler.c | 37 ++--- 1 files changed, 26

[pulseaudio-discuss] [PATCH] Remove pulsecore/shmasyncq.[ch]

2011-11-15 Thread Maarten Bosmans
They are unused. --- src/pulsecore/shmasyncq.c | 220 - src/pulsecore/shmasyncq.h | 59 2 files changed, 0 insertions(+), 279 deletions(-) delete mode 100644 src/pulsecore/shmasyncq.c delete mode 100644 src/pulsecore/shmasyncq.h diff

Re: [pulseaudio-discuss] [PATCH 1/8] build-sys: Use configure cache by default in bootstrap

2011-11-15 Thread Maarten Bosmans
Is there anything (except spelling issues) against this patch? Maarten 2011/11/2 Maarten Bosmans mkbosm...@gmail.com: This speeds up subsequent configure invokations ---  .gitignore   |    1 +  autogen.sh   |    2 +-  bootstrap.sh |    2 +-  3 files changed, 3 insertions(+), 2 deletions

Re: [pulseaudio-discuss] [PATCH 2/6] Turn device ports into reference counted objects

2011-11-08 Thread Maarten Bosmans
2011/11/8 David Henningsson david.hennings...@canonical.com: On 11/03/2011 07:33 PM, Tanu Kaskinen wrote: This looks good too. I'd really like the pa_device_port_hashmap_free() function behavior change to match all other *_free() functions, though. I do acknowledge the consistency argument,

[pulseaudio-discuss] Usage of pa_assert

2011-11-08 Thread Maarten Bosmans
2011/11/8 Tanu Kaskinen ta...@iki.fi: On Tue, 2011-11-08 at 09:00 +0100, David Henningsson wrote: In short, assertions are better than nothing, but proper error handling is better than assertions. In my opinion assertions are proper error handling when the error in question is a programming

Re: [pulseaudio-discuss] using pulseaudio with simultaneous playback from mutiple X sessions

2011-11-07 Thread Maarten Bosmans
2011/11/7 Martin Steigerwald m...@teamix.de: Hi! I have two users on my laptop. When I start to playback sound from the session of the first user and then switch to the second user pulseaudio stops to play back sound from the first user. This way I also do not hear appointment reminders from

Re: [pulseaudio-discuss] [PATCH] rtpoll: Update comment

2011-11-02 Thread Maarten Bosmans
ping 2011/10/13 Maarten Bosmans mkbosm...@gmail.com: to reflect changes made in 32e2cd6d3216f780c4cffed0f8eb3c30f2c8d732 core: get rid of rt sig/timer handling since modern Linux' ppoll() is finally fixed for granularity ---  src/pulsecore/rtpoll.h |    8 +---  1 files changed, 1

Re: [pulseaudio-discuss] [PATCH] Remove time-smoother and shm from libpulsecore

2011-11-02 Thread Maarten Bosmans
ping 2011/10/19 Maarten Bosmans mkbosm...@gmail.com: As they are already included in libpulsecommon. ---  src/Makefile.am |    2 --  1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index c0841b4..d8270ea 100644 --- a/src/Makefile.am +++ b

[pulseaudio-discuss] Some various patches

2011-11-02 Thread Maarten Bosmans
Here's a series of unrelated patches. Some of them I already sent to the list before, but needed rebasing, others are entirely new. The first 6 are just some maintainance that needed being done. The last two are improvements for the peaks resampler. Don't worry, there's nothing controversial

[pulseaudio-discuss] [PATCH 1/8] build-sys: Use configure cache by default in bootstrap

2011-11-02 Thread Maarten Bosmans
This speeds up subsequent configure invokations --- .gitignore |1 + autogen.sh |2 +- bootstrap.sh |2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9290ad2..765642f 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@

[pulseaudio-discuss] [PATCH 2/8] build-sys: Remove check for alloca()

2011-11-02 Thread Maarten Bosmans
As it isn't used anymore. Also, some minor cleanup. --- configure.ac | 19 --- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index 324e32e..be31486 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,9 @@

[pulseaudio-discuss] [PATCH 4/8] Avoid some compiler warnings when cross-compiling for mingw32

2011-11-02 Thread Maarten Bosmans
Autoconf documentation says that AC_FUNC_SELECT_ARGTYPES shouldn't be used anyway. --- configure.ac |1 - src/modules/module-esound-sink.c |2 +- src/pulse/mainloop.c |4 +--- src/pulsecore/poll.c | 16

[pulseaudio-discuss] [PATCH 5/8] Squash unused variable compiler warning

2011-11-02 Thread Maarten Bosmans
--- src/modules/echo-cancel/module-echo-cancel.c |7 --- src/modules/module-equalizer-sink.c |4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/modules/echo-cancel/module-echo-cancel.c b/src/modules/echo-cancel/module-echo-cancel.c index

[pulseaudio-discuss] [PATCH 7/8] Rework the peaks resampler

2011-11-02 Thread Maarten Bosmans
The algorithm had been implemented the same way as the trivial resampler. But an important difference between the two is that the trivial resampler can write an output as soon as the first corresponding input sample is seen, whereas the peaks resampler must have read all input samples before

[pulseaudio-discuss] [PATCH 8/8] Improve performance of peaks resampler

2011-11-02 Thread Maarten Bosmans
This is mainly achieved by special-casing the common 1ch float case, which is used by applications such as pavucontrol. --- src/pulsecore/resampler.c | 37 ++--- 1 files changed, 26 insertions(+), 11 deletions(-) diff --git a/src/pulsecore/resampler.c

Re: [pulseaudio-discuss] Why PA does not show me sinks for surround audio output?

2011-11-01 Thread Maarten Bosmans
2011/11/1 Lin, Mengdong mengdong@intel.com: Please provide the info I asked for earlier. Maarten Thank you very much, Maarten! Here is log of pulseaudio -. My OS is Ubuntu 10.10 and I have removed other sound devices except this Intel HDA sound card. From the log you can see

Re: [pulseaudio-discuss] Why PA does not show me sinks for surround audio output?

2011-10-31 Thread Maarten Bosmans
2011/10/31 Lin, Mengdong mengdong@intel.com: The default sample channels and channel map are commented in /etc/pulse/daemon.conf: ;default-sample-channels =2 Uncomment that and set it to 6. I've tried this method but it doesn't work. The card's profile list has not change after I

Re: [pulseaudio-discuss] [PATCH 4/6] tests: Rename voltest to volume-test

2011-10-29 Thread Maarten Bosmans
2011/10/29 Wang Xingchao wangxingchao2...@gmail.com: 2011/10/29 Maarten Bosmans mkbosm...@gmail.com: ---  src/.gitignore          |   61 +++---  src/Makefile.am         |   10 ++--  src/tests/voltest.c     |  134 ---  src/tests

Re: [pulseaudio-discuss] [PATCH 5/6] cli: Show card ports and jack detection status

2011-10-28 Thread Maarten Bosmans
2011/10/27 David Henningsson david.hennings...@canonical.com: Expose the new stuff through pacmd. Can you also make it available in the pactl output? Signed-off-by: David Henningsson david.hennings...@canonical.com ---  src/pulsecore/cli-text.c |   48

[pulseaudio-discuss] Revised patch set for `make check`

2011-10-28 Thread Maarten Bosmans
The branch can also be reviewed from https://github.com/mkbosmans/pulseaudio/compare/master...make-check Merge make-check branch from git://github.com/mkbosmans/pulseaudio.git I addressed Arun's comments, except for: [PATCH] tests: Reduce time needed for a make check I'm happier with the old

[pulseaudio-discuss] [PATCH 2/6] tests: Make sure tests assert on failures and return error status

2011-10-28 Thread Maarten Bosmans
When a test program exits with a nonzero return value (or an assert is hit), the test is regarded as a FAIL. This makes `make check` a little more useful. --- src/tests/extended-test.c|2 +- src/tests/get-binary-name-test.c |4 ++-- src/tests/interpol-test.c|4 ++--

[pulseaudio-discuss] [PATCH 4/6] tests: Rename voltest to volume-test

2011-10-28 Thread Maarten Bosmans
--- src/.gitignore | 61 +++--- src/Makefile.am | 10 ++-- src/tests/voltest.c | 134 --- src/tests/volume-test.c | 134 +++ 4 files changed, 170 insertions(+), 169

[pulseaudio-discuss] [PATCH 5/6] tests: Revisit which tests to run with make check

2011-10-28 Thread Maarten Bosmans
Some tests (remix-test, sig2str) only display information, so they are not useful for automated testing. Others (interpol-test, once-test, thread-test) do return an error on failure, so should be included in TESTS. --- src/Makefile.am | 10 +- 1 files changed, 5 insertions(+), 5

[pulseaudio-discuss] [PATCH 6/6] tests: Reduce time needed for a make check

2011-10-28 Thread Maarten Bosmans
--- src/tests/interpol-test.c |7 +-- src/tests/lock-autospawn-test.c |8 src/tests/once-test.c |2 +- src/tests/rtpoll-test.c |4 +++- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/tests/interpol-test.c

Re: [pulseaudio-discuss] old module-loopback, without source= and sync=

2011-10-26 Thread Maarten Bosmans
2011/10/26 Richard Henwood rjhenw...@yahoo.co.uk: hi all, I've coded an app [1] that assumes pactl load-module module-loopback source=%s sink=%s On versions of Linux where PA is older (not supporting source= and sink=), is there a substitution available on the command line? cheers, The

Re: [pulseaudio-discuss] python binding

2011-10-25 Thread Maarten Bosmans
2011/10/25 zw g pekingmas...@gmail.com: Dear List, Newbie here. Is there any python binding library of PulseAudio? I'm not sure, but there is a mixer program based on Python, so perhaps you can look how that is done. https://github.com/Valodim/pamixer If there is, anyone help me out, i

Re: [pulseaudio-discuss] Any way to get PA to wake up less when playing low latency?

2011-10-25 Thread Maarten Bosmans
2011/10/25 Dylan Reid dgr...@chromium.org: I'm playing audio with a latency of 10ms.  This is working pretty well, but it is eating a lot of CPU Is it just due to the constant waking up and cocntext switching, or do some other functions light up on a profile run? Maarten

Re: [pulseaudio-discuss] [PATCH] Remove time-smoother and shm from libpulsecore

2011-10-20 Thread Maarten Bosmans
2011/10/20 Arun Raghavan arun.ragha...@collabora.co.uk: On Wed, 2011-10-19 at 14:10 +0200, Maarten Bosmans wrote: As they are already included in libpulsecommon. --- AFAICT, time-smoother.h is used in libpulse (pa_stream_get_time), but shm.h is not, so shouldn't be in pulsecommon. But shm.h

Re: [pulseaudio-discuss] [PATCH] fix two warnings in utils/padsp.c

2011-10-20 Thread Maarten Bosmans
2011/10/20 Arun Raghavan arun.ragha...@collabora.co.uk: On Tue, 2011-10-18 at 14:48 +0800, Lu Guanqun wrote: CC     libpulsedsp_la-padsp.lo utils/padsp.c:1524:5: warning: no previous prototype for '__open_2' [-Wmissing-prototypes] utils/padsp.c:2560:5: warning: no previous prototype for

Re: [pulseaudio-discuss] [RFC PATCH] softvolume: implement fast volume translation

2011-10-20 Thread Maarten Bosmans
2011/10/20 Arun Raghavan arun.ragha...@collabora.co.uk: On Tue, 2011-10-18 at 12:10 +0200, Maarten Bosmans wrote: 2011/10/18 Wang Xingchao xingchao.w...@intel.com: if all channels have same volume setting, use fast way to do volume change. this patch intended to work for two formats

Re: [pulseaudio-discuss] [RFC PATCH] softvolume: implement fast volume translation

2011-10-20 Thread Maarten Bosmans
2011/10/20 Arun Raghavan arun.ragha...@collabora.co.uk: On Tue, 2011-10-18 at 17:09 -0400, Wang Xingchao wrote: if all channels have same volume setting, use fast way to do volume change. this patch intended to work for two formats: s16ne/s16re. Signed-off-by: Wang Xingchao

Re: [pulseaudio-discuss] Pulse and audio settings

2011-10-19 Thread Maarten Bosmans
2011/10/19 Robert Orzanna orsch...@googlemail.com: Hello, With the new version of pulse (1.0-4) I hoped that pulse will somehow take care of my alsa settings which still is not the case. All settings, for example set with alsamixer, are discarded after reboot. Indeed, pulse takes over the

Re: [pulseaudio-discuss] [RFC PATCH] softvolume: implement fast volume translation

2011-10-19 Thread Maarten Bosmans
2011/10/19 Lu Guanqun guanqun...@intel.com: Hi Maarten, Thanks for your nice work, I'll take a look. According to my test here, it seems soft volume processing doesn't cost CPU usage too much, instead, it's the resampling that takes much CPU usage. e.g. one sink input, resampler of

Re: [pulseaudio-discuss] [RFC PATCH] softvolume: implement fast volume translation

2011-10-19 Thread Maarten Bosmans
2011/10/19 Wang Xingchao wangxingchao2...@gmail.com: hi, I got not stable results, which means the optimization is not as good as expected. All results based on plain c volume function, not touch sse part. It's good to test your optimizations. Be sure to also test with various lengths of the

Re: [pulseaudio-discuss] PulseAudio support on Solaris

2011-10-19 Thread Maarten Bosmans
2011/10/17 Brian Cameron brian.came...@oracle.com: I found this issue when I try to build PA clients.  For example, when PulseAudio tries to build pactl, I see these errors.  I see similar errors trying to build any PA client: Undefined                       first referenced  symbol          

[pulseaudio-discuss] [PATCH] alsa-mixer: Take channel mask of volume element into account when finding a subset path

2011-10-19 Thread Maarten Bosmans
--- src/modules/alsa/alsa-mixer.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c index 3f27fdc..f390119 100644 --- a/src/modules/alsa/alsa-mixer.c +++ b/src/modules/alsa/alsa-mixer.c @@ -2956,6 +2956,10 @@

Re: [pulseaudio-discuss] [PATCH] alsa-mixer: Take channel mask of volume element into account when finding a subset path

2011-10-19 Thread Maarten Bosmans
The patch looks simple, but I'm not entirely sure the concept is sound. Please review. The problem I'm trying to solve is that analog-output-mono is (in my view incorrectly) seen as a subset of analog-output-lfe-on-mono. Relevant debug output: D: [lt-pulseaudio] alsa-mixer.c: Path

Re: [pulseaudio-discuss] PulseAudio support on Solaris

2011-10-19 Thread Maarten Bosmans
2011/10/19 Brian Cameron brian.came...@oracle.com: The issue seems to be caused by the fact that libpulsecommon includes pulsecore/pstream.c, which includes pulsecore/core-scache.h to gain access to the PA_SCACHE_ENTRY_SIZE_MAX #define. Moving this #define so it is in pulsecore/memchunk.h (a

Re: [pulseaudio-discuss] PulseAudio support on Solaris

2011-10-18 Thread Maarten Bosmans
2011/10/17 Brian Cameron brian.came...@oracle.com: I found this issue when I try to build PA clients.  For example, when PulseAudio tries to build pactl, I see these errors.  I see similar errors trying to build any PA client: Undefined                       first referenced  symbol          

Re: [pulseaudio-discuss] [RFC PATCH] softvolume: implement fast volume translation

2011-10-18 Thread Maarten Bosmans
2011/10/18 Wang Xingchao xingchao.w...@intel.com: if all channels have same volume setting, use fast way to do volume change. this patch intended to work for two formats: s16ne/s16re. I did some work to optimize svolume already, see my branch on github:

Re: [pulseaudio-discuss] PulseAudio support on Solaris

2011-10-17 Thread Maarten Bosmans
2011/10/17 Brian Cameron brian.came...@oracle.com: (And yupp, here too this sounds like a bug if clients ever end up linking against libpulsecore. That library is not API stable, and things will end in desaster if this happens). Now that I am looking at this more closely, I suspect that my

Re: [pulseaudio-discuss] PulseAudio support on Solaris

2011-10-16 Thread Maarten Bosmans
2011/10/15 Brian Cameron brian.came...@oracle.com: PulseAudio Team: The decision was made recently to integrate PulseAudio into Solaris, so that is pretty exciting.  I am not exactly sure when it will integrate. At the moment, I am just working to get it building and working okay. Indeed,

[pulseaudio-discuss] [PATCH] Use fastpath assert in trivial resampler

2011-10-12 Thread Maarten Bosmans
When the assert is disabled, the trivial resampler gets a 35% performance boost. --- src/pulsecore/resampler.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c index d4a7204..c3b6df1 100644 ---

Re: [pulseaudio-discuss] [PATCH] tests: More useful output of 'make check'

2011-10-12 Thread Maarten Bosmans
I just rebased this on git master, so it applies cleanly again. Maarten 2011/10/4 Maarten Bosmans mkbosm...@gmail.com: Here it is. https://github.com/mkbosmans/pulseaudio/compare/master...make-check ___ pulseaudio-discuss mailing list pulseaudio

Re: [pulseaudio-discuss] Multi-User Streaming Audio, Is It Possible?

2011-10-12 Thread Maarten Bosmans
2011/10/12 Xavier Bestel xavier.bes...@free.fr: On Mon, 2011-10-10 at 10:48 +0200, Maarten Bosmans wrote: 2011/10/6 Xavier Bestel xavier.bes...@free.fr: On Thu, 2011-10-06 at 13:49 +0200, Maarten Bosmans wrote: 2011/10/6 Xavier Bestel xavier.bes...@free.fr: [...] I made a mistake

[pulseaudio-discuss] [PATCH] resampler-test: Fix calculation of memblock size

2011-10-11 Thread Maarten Bosmans
And remove useless volume scaling. --- src/tests/resampler-test.c | 12 ++-- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/tests/resampler-test.c b/src/tests/resampler-test.c index 545c0e0..12d06d2 100644 --- a/src/tests/resampler-test.c +++

[pulseaudio-discuss] Two small patches for pacat/utf8

2011-10-10 Thread Maarten Bosmans
These two are the result of helping someone on IRC this weekend getting pulse to run on an OpenWRT device. If compiled without iconv support, pacat gives an unclear invalid argument error. The first patch addresses the local-utf8 conversion when iconv is not available. The pa_locale_to_utf8

[pulseaudio-discuss] [PATCH 1/2] Do something sensible when compiled without iconv support

2011-10-10 Thread Maarten Bosmans
Without this fix, pacat won't start up, because it is unable to set the stream name. --- src/pulse/utf8.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/pulse/utf8.c b/src/pulse/utf8.c index fe7bcd2..773a1f8 100644 --- a/src/pulse/utf8.c +++ b/src/pulse/utf8.c

Re: [pulseaudio-discuss] Bug#644809: pulseaudio: Confusing warning `PulseAudio configured for per-user sessions`

2011-10-10 Thread Maarten Bosmans
2011/10/9 Paul Menzel pm.deb...@googlemail.com: Package: pulseaudio Version: 1.0-4 Severity: normal X-Debbugs-CC: pulseaudio-discuss@lists.freedesktop.org Dear PulseAudio Debian packagers and upstream PA folks, the Debian init script `/etc/init.d/pulseaudio` [1] currently prints a

Re: [pulseaudio-discuss] redirect output to line in from different app

2011-10-10 Thread Maarten Bosmans
2011/10/10 Julius mycommercials...@web.de: Am 09.10.2011 21:49, schrieb Maarten Bosmans: 2011/10/9 Juliusmycommercials...@web.de: hi, i would like to redirect the output from totem to line-in and use line-in as input for teamspeak3 to send mp3's. Wow, two more or less the same questions

[pulseaudio-discuss] Bug#644888: Bug#644809: pulseaudio: Confusing warning `PulseAudio configured for per-user sessions`

2011-10-10 Thread Maarten Bosmans
Package: pulseaudio Version: 1.0-4 Severity: normal X-Debbugs-CC: pulseaudio-discuss@lists.freedesktop.org 2011/10/10 Maarten Bosmans mkbosm...@gmail.com: 2011/10/9 Paul Menzel pm.deb...@googlemail.com: Package: pulseaudio Version: 1.0-4 Severity: normal X-Debbugs-CC: pulseaudio-discuss

[pulseaudio-discuss] [PATCH] qpaeq: Make it python3 and python2 compatible

2011-10-10 Thread Maarten Bosmans
--- src/utils/qpaeq | 43 --- 1 files changed, 20 insertions(+), 23 deletions(-) diff --git a/src/utils/qpaeq b/src/utils/qpaeq index a8a9fda..951e70f 100755 --- a/src/utils/qpaeq +++ b/src/utils/qpaeq @@ -22,12 +22,11 @@ try: from PyQt4 import

Re: [pulseaudio-discuss] HOWTO create a sink/source device for local OS use?

2011-10-09 Thread Maarten Bosmans
2011/10/9 Rémi Denis-Courmont r...@remlab.net: Le dimanche 9 octobre 2011 17:13:00 Chris, vous avez écrit : I haven't found a sort of one-liner example for this yet and I know it's possible, but I'm being a bit dense following the FAQ. What I want is a 'virtual audio cable' local to the OS

Re: [pulseaudio-discuss] redirect output to line in from different app

2011-10-09 Thread Maarten Bosmans
2011/10/9 Julius mycommercials...@web.de: hi, i would like to redirect the output from totem to line-in and use line-in as input for teamspeak3 to send mp3's. Wow, two more or less the same questions on the same day. currently ive set ts3 to get the input from monitor of internal audio... -

Re: [pulseaudio-discuss] Multi-User Streaming Audio, Is It Possible?

2011-10-06 Thread Maarten Bosmans
2011/10/6 Xavier Bestel xavier.bes...@free.fr: On Thu, 2011-10-06 at 10:18 +0200, Maarten Bosmans wrote: 2011/10/6 Jason Champion xan...@yahoo.com As far as I can tell, it looks like something that might be possible with Pulse, but I'm not certain where to start or whether there is relevant

[pulseaudio-discuss] [PATCH 1/4] build-sys: Use configure cache by default in bootstrap

2011-10-05 Thread Maarten Bosmans
This speeds up subsequent configure invokations --- .gitignore |1 + autogen.sh |2 +- bootstrap.sh |2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0637904..9fce4e9 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@

[pulseaudio-discuss] [PATCH 2/4] Squash unused variable compiler warning

2011-10-05 Thread Maarten Bosmans
--- src/modules/echo-cancel/module-echo-cancel.c |2 +- src/modules/module-equalizer-sink.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/echo-cancel/module-echo-cancel.c b/src/modules/echo-cancel/module-echo-cancel.c index c2db87e..665e52e

[pulseaudio-discuss] [PATCH 3/4] Add pure and const attributes to functions that need them

2011-10-05 Thread Maarten Bosmans
--- src/modules/alsa/alsa-mixer.c |4 ++-- src/modules/module-device-manager.c |2 +- src/modules/rtp/rtp.h |5 +++-- src/pulse/channelmap.h |2 +- src/pulse/context.h |2 +- src/pulse/format.h |6 +++---

Re: [pulseaudio-discuss] [PATCH] tests: More useful output of 'make check'

2011-10-04 Thread Maarten Bosmans
2011/10/4 Colin Guthrie gm...@colin.guthr.ie: 'Twas brillig, and Maarten Bosmans at 03/10/11 20:17 did gyre and gimble: Instead of spilling thousands of lines of output, make check now runs the test-suite in about 100 lines or so. Furthermore, the test suite now asserts on more failures, so

Re: [pulseaudio-discuss] [PATCH] osx: don't build the once-test binary on OS X

2011-10-03 Thread Maarten Bosmans
2011/10/1 Colin Guthrie gm...@colin.guthr.ie: 'Twas brillig, and Daniel Mack at 29/09/11 12:25 did gyre and gimble: From: Daniel Mack dan...@caiaq.de This patch was already added earlier with commit ID 2f86ba4f, but the changes got reverted by commit 3adc43b (win32: Make once-test work).

Re: [pulseaudio-discuss] [PATCH] osx: don't build the once-test binary on OS X

2011-10-03 Thread Maarten Bosmans
2011/10/3 Maarten Bosmans mkbosm...@gmail.com: A good solution would be to make the test compile and run on OSX, but then, if ther's now way it will pass on OSX or the result is just not meaningful, return 77 or add the test to XFAIL_TESTS, so that the failing on OSX is ignored. See http

Re: [pulseaudio-discuss] [PATCH] osx: don't build the once-test binary on OS X

2011-09-29 Thread Maarten Bosmans
2011/9/29 Daniel Mack zon...@gmail.com: From: Daniel Mack dan...@caiaq.de This patch was already added earlier with commit ID 2f86ba4f, but the changes got reverted by commit 3adc43b (win32: Make once-test work). That would be my fault. However, this still doesn't work on OSX as here,

Re: [pulseaudio-discuss] [PATCH 2/3] sink: Add some comments about the rewind handling during stream moves.

2011-09-29 Thread Maarten Bosmans
Warning bikeshed ahead. 2011/9/29 Tanu Kaskinen tanu.kaski...@digia.com: ---  src/pulsecore/sink.c |   58 ++  1 files changed, 58 insertions(+), 0 deletions(-) diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c index a2642b4..53cab32

[pulseaudio-discuss] [PATCH] Make pulse build with clang again

2011-09-28 Thread Maarten Bosmans
This patch was sent to the list before, but was deemend to riscy pre-1.0. So now I'll resend. It does touch de same code as David fixed with 42bcb418aed SSE/MMX: Fix problem with highpitched noise on i386, but I leaves his solution intact, so it should be safe. The problem this patch is trying

[pulseaudio-discuss] [PATCH] Make pulse build with clang again

2011-09-28 Thread Maarten Bosmans
The casts are not supported there. --- src/pulsecore/svolume_mmx.c |4 ++-- src/pulsecore/svolume_sse.c |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pulsecore/svolume_mmx.c b/src/pulsecore/svolume_mmx.c index ae2cf05..87d29e8 100644 ---

Re: [pulseaudio-discuss] [PATCH] Make pulse build with clang again

2011-09-28 Thread Maarten Bosmans
2011/9/28 Maarten Bosmans mkbosm...@gmail.com: 2011/9/28 Arun Raghavan arun.ragha...@collabora.co.uk: On Wed, 2011-09-28 at 09:50 +0200, Maarten Bosmans wrote: This patch was sent to the list before, but was deemend to riscy pre-1.0. So now I'll resend. It does touch de same code as David

Re: [pulseaudio-discuss] No audio heard from loopback

2011-09-26 Thread Maarten Bosmans
2011/9/26 Sriram Gopalan mgs...@gmail.com: Hello everybody, We are facing an issue with loopback in pulse audio 0.9.22. We recently ported pulseaudio to an ARM 11 based evaluation board and are running pulseaudio in system mode. Great. Did you find it easy to get pulse to run, did you need to

Re: [pulseaudio-discuss] audio source - pa - oggenc

2011-09-24 Thread Maarten Bosmans
2011/9/24 Richard Henwood rjhenw...@yahoo.co.uk: Hi Col, Just a quick message to say I've had a chance to follow up on your advice and it was helpful. Minor comments in-line, below: --- On Sun, 18/9/11, Colin Guthrie gm...@colin.guthr.ie wrote: From: Colin Guthrie gm...@colin.guthr.ie

  1   2   >