Re: [pulseaudio-discuss] json libraries

2016-11-07 Thread Thomas Martitz
Am 03.11.2016 um 16:06 schrieb Peter Meerwald-Stadler: Hi, here is a comparison of JSON parsing libraries, http://seriot.ch/parsing_json.php maybe of interest since PA is now using its own code instead of json-c... regards, p. There is also yajl, a parser and generator written in C:

Re: [pulseaudio-discuss] [ANNOUNCE] PulseAudio 8.0 RC2

2016-01-15 Thread Thomas Martitz
Am 12.01.2016 um 04:43 schrieb Arun Raghavan: Changes include re-enabling timer-based scheduling on USB devices, and fixes for OS X, and some minor build and bug fixes. A detailed changelog will accompany the release. I'm experiencing distorted sound on my X-Fi Surround 5.1 USB sound card

[pulseaudio-discuss] X-Fi Surround USB 5.1 crackling noise

2015-11-28 Thread Thomas Martitz
Hello, I'm writing because I suffer from intermittent cackling noise on my X-Fi Surround USB 5.1 sound card. I've found that it's long known[1]. I found that I can fix the noise by disabling realtime sceduling. So I my daemon.conf looks like this: cat ~/.config/pulse/daemon.conf

Re: [pulseaudio-discuss] Buzzy noise on HDMI using passthrough

2015-06-14 Thread Thomas Martitz
Am 02.06.2015 um 08:00 schrieb Arun Raghavan: Unfortunately this also gives buzzy noise. Is there anything else I can debug? Could you post the output of alsa-info while this is running? I could not find alsa-info on my debian system. I assume you meant[1] and attached the output of that

Re: [pulseaudio-discuss] Buzzy noise on HDMI using passthrough

2015-06-01 Thread Thomas Martitz
Am 14.05.2015 um 13:31 schrieb Arun Raghavan: On 12 May 2015 at 12:44, Thomas Martitz ku...@rockbox.org wrote: Hello, I've got a problem with new TV connected to a Zotac ZBOX with AMD APU via HDMI. When playing movies in Kodi using the pass through option I can hear only buzzy/white noise

Re: [pulseaudio-discuss] Buzzy noise on HDMI using passthrough

2015-05-16 Thread Thomas Martitz
Am 14.05.2015 um 13:31 schrieb Arun Raghavan: On 12 May 2015 at 12:44, Thomas Martitz ku...@rockbox.org wrote: Hello, I've got a problem with new TV connected to a Zotac ZBOX with AMD APU via HDMI. When playing movies in Kodi using the pass through option I can hear only buzzy/white noise

[pulseaudio-discuss] Buzzy noise on HDMI using passthrough

2015-05-12 Thread Thomas Martitz
Hello, I've got a problem with new TV connected to a Zotac ZBOX with AMD APU via HDMI. When playing movies in Kodi using the pass through option I can hear only buzzy/white noise. The same setup worked fine on my previous TV. However, if I use ALSA, then kodi and audio passthrough works just

Re: [pulseaudio-discuss] HDMI audio passthrough no longer working

2015-03-09 Thread Thomas Martitz
Am 08.03.2015 um 12:42 schrieb Alexander E. Patrakov: 08.03.2015 13:54, Xamindar wrote: Further testing has shown that this is a pulseaudio problem. When I have my audio device set to Digital Surround 7.1 as it should be, passthrough will not work in any app I test (kodi and vlc). My options

Re: [pulseaudio-discuss] [RFC PATCH] alsa-sink: Reduce hardware pointer update syscalls

2014-09-30 Thread Thomas Martitz
Am 30.09.2014 um 11:10 schrieb David Henningsson: On 2014-09-30 10:11, Alexander E. Patrakov wrote: 30.09.2014 12:43, David Henningsson wrote: On 2014-09-29 16:33, Laurențiu Nicola wrote: If nobody tried it, I might test the patch on my USB DAC. The problem is that I'm not sure what's the

Re: [pulseaudio-discuss] [PATCH] sconv: Use optimized conversion function for both directions

2014-07-28 Thread Thomas Martitz
Am 28.07.2014 um 10:17 schrieb Peter Meerwald: ARM in principal is bi-endian, I don't think BE no ARM is used much (at least I don't have a test system :) so I suggest to check for endianness and apply the optimizations for LE only regards, p. They exist, I'm working with them though they

Re: [pulseaudio-discuss] [PATCH 00/11] A new srchannel based protocol for PulseAudio

2014-05-05 Thread Thomas Martitz
Am 06.05.2014 00:20, schrieb David Henningsson: On 2014-04-30 07:35, Thomas Martitz wrote: Am 29.04.2014 15:22, schrieb David Henningsson: Okay, so second iteration. The patch is no longer a draft, and numbers look good; Peter Meerwald has confirmed my numbers of 15 - 25% less CPU in low

Re: [pulseaudio-discuss] [PATCH 00/11] A new srchannel based protocol for PulseAudio

2014-04-29 Thread Thomas Martitz
Am 29.04.2014 15:22, schrieb David Henningsson: Okay, so second iteration. The patch is no longer a draft, and numbers look good; Peter Meerwald has confirmed my numbers of 15 - 25% less CPU in low latency scenarios (right)? That said, I guess the patches could use more testing, e g corner

Re: [pulseaudio-discuss] Getting the pollfds from the PA mainloop

2014-03-30 Thread Thomas Martitz
Am 30.03.2014 17:04, schrieb Stephan Soller: Hi, is there a way to get the pollfds out of the poll() based Pulse Audio mainloop? Basically I want to do the poll() myself so I can poll for other stuff as well (some v4l2 devices and UNIX domain sockets). In ALSA there is the

Re: [pulseaudio-discuss] audio video out of sync

2014-02-18 Thread Thomas Martitz
Am 18.02.2014 10:06, schrieb Tanu Kaskinen: On Tue, 2014-02-18 at 11:04 +0200, Tanu Kaskinen wrote: On Tue, 2014-02-18 at 04:51 +0100, Malte Gell wrote: Am 16.02.2014 12:24, schrieb Tanu Kaskinen: On the topic of audio/video sync, synchronization requires accurate latency information.

Re: [pulseaudio-discuss] audio video out of sync

2014-02-18 Thread Thomas Martitz
Am 18.02.2014 13:38, schrieb Tanu Kaskinen: On Tue, 2014-02-18 at 12:08 +0100, Thomas Martitz wrote: Am 18.02.2014 10:06, schrieb Tanu Kaskinen: On Tue, 2014-02-18 at 11:04 +0200, Tanu Kaskinen wrote: On Tue, 2014-02-18 at 04:51 +0100, Malte Gell wrote: Am 16.02.2014 12:24, schrieb Tanu

Re: [pulseaudio-discuss] GSoC 2014 call for ideas

2014-02-07 Thread Thomas Martitz
Am 07.02.2014 05:17, schrieb Arun Raghavan: Hello, This year's call for projects participation is out, and I'd like to gauge interest in participation. I'm happy to run org admin duty again, and if you've got ideas for a project and/or would like to mentor a student, please drop your name on the

Re: [pulseaudio-discuss] GSoC 2014 call for ideas

2014-02-07 Thread Thomas Martitz
Am 07.02.2014 17:59, schrieb Luis de Bethencourt: Are there enough mentors? Just checking before I consider offering myself. Cheers, Luis - Write a virtual sound card for win32. I.e. a sound card for applications to stream to (or record from) but which loops back into PA. This

Re: [pulseaudio-discuss] Error cross-compiling PulseAudio 4.99.2 for win32

2014-01-26 Thread Thomas Martitz
Am 26.01.2014 10:42, schrieb Tanu Kaskinen: On Sat, 2014-01-25 at 13:30 -0500, Michael DePaulo wrote: I managed to cross-compile 3.0 and 4.0 (I will post the binaries soon), but I ran into this error on 4.99.2. I am using mingw32 4.8.2 on opensuse 12.3 64-bit. Note that I specified

Re: [pulseaudio-discuss] Advice for building 4.0 for win32?

2014-01-04 Thread Thomas Martitz
Am 04.01.2014 19:15, schrieb Michael DePaulo: Hi all, We on the X2go project ( http://www.x2go.org/ ) would like to build the latest stable version of pulseaudio (4.0) for 32-bit Windows. We would use the OBS builds listed below and on the wiki, but it is still only building 1.1:

Re: [pulseaudio-discuss] [PATCH] doxygen: Replace \deprecated with \b Deprecated.

2013-11-11 Thread Thomas Martitz
Am 11.11.2013 12:43, schrieb Tanu Kaskinen: On Fri, 2013-11-08 at 20:29 +0100, Thomas Martitz wrote: Am 08.11.2013 14:46, schrieb Tanu Kaskinen: The effect of the \deprecated tag is (for a reason unknown to me) that all documentation for the tagged entity is removed. That's not nice, so

Re: [pulseaudio-discuss] [PATCH] doxygen: Replace \deprecated with \b Deprecated.

2013-11-08 Thread Thomas Martitz
Am 08.11.2013 14:46, schrieb Tanu Kaskinen: The effect of the \deprecated tag is (for a reason unknown to me) that all documentation for the tagged entity is removed. That's not nice, so this patch replaces the tag with plain text Deprecated with bold formatting. Have you tried

Re: [pulseaudio-discuss] Transporting sound from 'mpd' server to laptop

2013-10-20 Thread Thomas Martitz
Am 20.10.2013 18:08, schrieb Paul LeoNerd Evans: On Sun, 20 Oct 2013 07:25:23 +0100 Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: Latency can only increase only if there is some buffer that is growing. module-tunnel doesn't have such buffer. It sounds like MPD is working so that it writes

Re: [pulseaudio-discuss] Transporting sound from 'mpd' server to laptop

2013-10-20 Thread Thomas Martitz
Am 20.10.2013 19:22, schrieb Paul LeoNerd Evans: So where do I get this new tunnel module from? Compile pulseaudio from source, or wait until 5.0 is released (it shouldn't be too far away). Best regards. ___ pulseaudio-discuss mailing list

Re: [pulseaudio-discuss] Transporting sound from 'mpd' server to laptop

2013-10-19 Thread Thomas Martitz
Am 19.10.2013 19:53, schrieb Paul LeoNerd Evans: 4) This mode accumulates latency. One of the reasons I wanted to avoid icecast is because of the near-3second latency that happens between the play/pause button on mpd, and the sound on the speakers. Initially this pulseaudio

Re: [pulseaudio-discuss] Best Case Latency

2013-10-03 Thread Thomas Martitz
Am 03.10.2013 10:20, schrieb Patrick Shirkey: On Thu, October 3, 2013 5:14 pm, Tanu Kaskinen wrote: That doesn't look healthy. The message is printed when pa_asyncmsgq_post() is called and the message queue is full. The message queue can store 256 messages before this starts to happen, so some

Re: [pulseaudio-discuss] [PATCH] build-sys: Add an Android-friendly build system

2013-09-29 Thread Thomas Martitz
Am 29.09.2013 14:22, schrieb Arun Raghavan: Some notes: * This depends on 'androgenizer', a tool to generate Android-style Android.mk files from an autotools build system. * This assumes that PA is run as the system daemon and configures accordingly. * In the Android build, libltdl is

Re: [pulseaudio-discuss] Suggested coding style change for functions

2013-09-26 Thread Thomas Martitz
Am 23.09.2013 10:37, schrieb Tanu Kaskinen: Quoting the CODING_STYLE file of systemd: - Try to use this: void foo() { } instead of this: void foo() { } But it's OK if you don't. Perhaps we could do it the other

Re: [pulseaudio-discuss] [PATCH] alsa-ucm: Make combination port names deterministic

2013-09-17 Thread Thomas Martitz
Am 17.09.2013 14:28, schrieb Arun Raghavan: +const pa_alsa_ucm_device *d1 = *(pa_alsa_ucm_device **)a; +const pa_alsa_ucm_device *d2 = *(pa_alsa_ucm_device **)b; + +return strcmp(pa_proplist_gets(d1-proplist, PA_ALSA_PROP_UCM_NAME), pa_proplist_gets(d2-proplist,

Re: [pulseaudio-discuss] [PATCH 29/56] bluetooth: Implement org.bluez.MediaEndpoint1.SetConfiguration()

2013-08-02 Thread Thomas Martitz
Am 02.08.2013 02:10, schrieb João Paulo Rechi Vita: On Fri, Jul 19, 2013 at 7:24 AM, Tanu Kaskinen tanu.kaski...@linux.intel.com wrote: (Sorry, I sent the previous mail too early. I hadn't yet finished reviewing this patch.) On Fri, 2013-07-12 at 15:06 -0300, jprv...@gmail.com wrote: + +

Re: [pulseaudio-discuss] [PATCH] sample: Apply SPARC-specific condition on SPARC only

2013-08-02 Thread Thomas Martitz
Am 31.07.2013 15:29, schrieb Peter Meerwald: It looks like some headers define both _BIG_ENDIAN and _LITTLE_ENDIAN (perhaps one is defined as 1 and the other as 0?), so maybe a #if defined(_BIG_ENDIAN) !defined(_LITTLE_ENDIAN) boost (boost/detail/endian.hpp) does it like this p. My system

Re: [pulseaudio-discuss] [PATCH] sample: Apply SPARC-specific condition on SPARC only

2013-08-02 Thread Thomas Martitz
Am 02.08.2013 10:30, schrieb Arun Raghavan: On Fri, 2013-08-02 at 09:02 +0200, Thomas Martitz wrote: Am 31.07.2013 15:29, schrieb Peter Meerwald: It looks like some headers define both _BIG_ENDIAN and _LITTLE_ENDIAN (perhaps one is defined as 1 and the other as 0?), so maybe a #if defined

Re: [pulseaudio-discuss] [PATCH 3/6] pacmd: Add optional argument for quiet mode

2013-07-25 Thread Thomas Martitz
Am 20.07.2013 20:23, schrieb David Henningsson: On 07/19/2013 09:32 PM, Peter Meerwald wrote: quiet mode allows to turn off PA's welcome message and the prompt pacmd waits 100 ms; if nothing is coming from the PA daemon, it is a new version and we actively ask for the welcome message

Re: [pulseaudio-discuss] [PATCH 3/6] pacmd: Add optional argument for quiet mode

2013-07-25 Thread Thomas Martitz
Am 19.07.2013 21:32, schrieb Peter Meerwald: quiet mode allows to turn off PA's welcome message and the prompt pacmd waits 100 ms; if nothing is coming from the PA daemon, it is a new version and we actively ask for the welcome message (non-quiet mode) by sending hello; in quiet mode, we send

Re: [pulseaudio-discuss] [PATCH 3/6] pacmd: Add optional argument for quiet mode

2013-07-25 Thread Thomas Martitz
Am 25.07.2013 10:27, schrieb Peter Meerwald: Anyway, I'm also annoyed by the chattiness so I think the quiet argument is good, but since pacmd can't connect to remote servers, you don't need to wait 100 ms to try to detect whether the server is old or new. A new pacmd can just assume a new

Re: [pulseaudio-discuss] xrdp pulse sink

2013-07-22 Thread Thomas Martitz
Am 22.07.2013 20:11, schrieb Jay Sorg: Hi Tanu, After giving some thought to this (and a bit of research), an xrdp sink seems like a good idea. As you say, it would be more convenient for users than a tunnel module setup. great. An alternative solution would be to load a null sink, from

Re: [pulseaudio-discuss] [pulseaudio-commits] src/modules

2013-06-28 Thread Thomas Martitz
Am 28.06.2013 10:19, schrieb Tanu Kaskinen: On Fri, 2013-06-28 at 09:47 +0200, David Henningsson wrote: On 06/28/2013 04:40 AM, Tanu Kaskinen wrote: On Thu, 2013-06-27 at 21:57 +0200, David Henningsson wrote: On 06/27/2013 06:19 PM, Tanu Kaskinen wrote: src/modules/alsa/alsa-mixer.c |

Re: [pulseaudio-discuss] Pulse Audio 4.0 gets killed by 300 Hz tone...never recovers

2013-06-24 Thread Thomas Martitz
Am 24.06.2013 21:03, schrieb Tanu Kaskinen: On Mon, 2013-06-24 at 11:36 -0400, Robert Krakora wrote: Basically, the 300Hz tone motor boats when played over SIP via Asterisk. Every tone that previously played well over SIP via Asterisk then also motor boats. (Please don't top-post.) If you

Re: [pulseaudio-discuss] PulseAudio on Android kernel, for Ubuntu phone

2013-05-30 Thread Thomas Martitz
(Resending to the list as I sent it private accidentally) Am 28.05.2013 09:23, schrieb David Henningsson: On 05/28/2013 08:10 AM, Thomas Martitz wrote: Am 28. Mai 2013 04:54:52 schrieb Arun Raghavan arun.ragha...@collabora.co.uk: - For setting up the mixer, I'll try to talk

Re: [pulseaudio-discuss] PulseAudio on Android kernel, for Ubuntu phone

2013-05-28 Thread Thomas Martitz
Am 28. Mai 2013 04:54:52 schrieb Arun Raghavan arun.ragha...@collabora.co.uk: - For setting up the mixer, I'll try to talk to the Android HAL layer. Mixer controls vary a lot between hardware, so making a bridge to Android here would likely save us work in the long run. (This is the most

Re: [pulseaudio-discuss] GSoC ideas

2013-04-26 Thread Thomas Martitz
Am 26.04.2013 14:54, schrieb David Henningsson: My ideas for a gsoc application: - Fix network sinks. Try to move a stream to network sink and back moments later it will run into problems. e.g. mplayer just stop playing and hang. My job would be additional testing and fixing upcoming bugs

Re: [pulseaudio-discuss] [PATCH] core: Remember pa_write() type in pa_fdsem_post()

2013-04-10 Thread Thomas Martitz
Am 09.04.2013 16:10, schrieb Peter Meerwald: From: Peter Meerwald p.meerw...@bct-electronic.com pa_write() knows two types of operation: calling send() and calling write() there is a flag (a pointer to an int) passed to pa_write() which can remember which write type was successful if the

Re: [pulseaudio-discuss] Hot function optimization recommendations

2013-04-05 Thread Thomas Martitz
Am 05.04.2013 01:08, schrieb Justin Chudgar: I had experimentally thrown an optimization into my module's only significantly warm functions. Since I am a novice, this was a just-for-kicks experiment, but I would like to know whether to optimize at all beyond the general -O2, and what platforms

Re: [pulseaudio-discuss] Biquad LR4 for module-lfe-lp

2013-04-03 Thread Thomas Martitz
Am 31.03.2013 05:56, schrieb Alexander E. Patrakov: 2013/3/30 Justin Chudgar jus...@justinzane.com: The unwanted frequencies are discarded part is what you did wrong. I disagree with this analysis for this use-case. If this implementation were in remix.c it would make sense. However, it works

Re: [pulseaudio-discuss] [PATCH 04/10] remap: Add stereo to mono special case remapping

2013-04-01 Thread Thomas Martitz
Am 01.04.2013 13:13, schrieb Peter Meerwald: Hello Tanu, thanks for reviewing! +case PA_SAMPLE_S16NE: +{ +int16_t *d = (int16_t *) dst, *s = (int16_t *) src; + +for (i = n 2; i 0; i--) { +d[0] += (s[0] + s[1])/2; +d[1]

Re: [pulseaudio-discuss] Pulseaudio randomly resets

2013-03-26 Thread Thomas Martitz
Am 25.03.2013 16:46, schrieb Helmar Schütz: On 25.03.2013 09:30, Tanu Kaskinen wrote: On Thu, 2013-03-21 at 15:00 +0100, Helmar Schütz wrote: Hi, my Pulseaudio randomly resets when I play music in wine emulated foobar2000 or in Linux VLC player. I see the icon disappear for a bit and audio

Re: [pulseaudio-discuss] Expand the simple API?

2013-03-20 Thread Thomas Martitz
Am 20.03.2013 08:57, schrieb Tanu Kaskinen: On Tue, 2013-03-19 at 13:20 +0100, Thomas Martitz wrote: Am 19.03.2013 10:56, schrieb Tanu Kaskinen: I'd be OK with adding pa_simple_writable/readable_size(). I believe the multi-threading aspect of adding the write/read callbacks unavoidably makes

Re: [pulseaudio-discuss] Expand the simple API?

2013-03-19 Thread Thomas Martitz
Am 19.03.2013 10:56, schrieb Tanu Kaskinen: On Tue, 2013-03-19 at 09:40 +0100, David Henningsson wrote: I spent yesterday afternoon writing a small PulseAudio client using the asynchronous API and found that it was a few things to setup; the mainloop, the context, the stream, callbacks etc.

Re: [pulseaudio-discuss] [PATCHv2 0/4] modules: add module-remap-source

2013-03-06 Thread Thomas Martitz
Am 06.03.2013 00:44, schrieb Tanu Kaskinen: On Tue, 2013-03-05 at 18:09 +0100, Stefan Huber wrote: Hi Tanu, thank you very much for your comments! I have adapted the patch according to your suggestions. In addition I added a three additional patches for other modules that address your

Re: [pulseaudio-discuss] [PATCH 1/3] alsa-util: Add a function to read ELD info

2013-02-16 Thread Thomas Martitz
Am 15.02.2013 23:08, schrieb Tanu Kaskinen: On Fri, 2013-02-15 at 13:42 +0100, David Henningsson wrote: Currently, this function only reads the monitor name, but could be extended to read e g supported formats as well. Signed-off-by: David Henningsson david.hennings...@canonical.com ---

[pulseaudio-discuss] [PATCH 1/3] Proper poll() emulation to fix pacat and friends on windows.

2012-10-30 Thread Thomas Martitz
From: Thomas Martitz k...@rockbox.org Currently, Windows versions of pacat and friends fail because the current poll emulation is not sufficient (it only works for socket fds). Luckily Gnulib has a much better emulation that seems to work good enough. The implementation has been largely copied

[pulseaudio-discuss] [PATCH 1/3] Proper poll() emulation to fix pacat and friends on windows.

2012-10-30 Thread Thomas Martitz
Currently, Windows versions of pacat and friends fail because the current poll emulation is not sufficient (it only works for socket fds). Luckily Gnulib has a much better emulation that seems to work good enough. The implementation has been largely copied (except a few bug fix regarding timeout

[pulseaudio-discuss] [PATCH 2/3] module-waveout: Allow sink and source be on different devices.

2012-10-30 Thread Thomas Martitz
This patch allows one to create sink and source on different devices. This is useful e.g. to have a source on a virtual microphone, but the sink on a real soundcard. --- src/modules/module-waveout.c | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git

[pulseaudio-discuss] [PATCH 3/3] core-util: Don't error out on existing runtime directory.

2012-10-30 Thread Thomas Martitz
When compiling without HAVE_SYMLINK the runtime dir is a real directory, which is attempted to be created. In the case it already exists we shouldn't error out. The HAVE_SYMLINK-enabled code already does this. --- src/pulsecore/core-util.c |5 +++-- 1 file changed, 3 insertions(+), 2

Re: [pulseaudio-discuss] [PATCH v2 3/6] Proper poll() emulation to fix pacat and friends on windows.

2012-10-29 Thread Thomas Martitz
Am 24.10.2012 08:47, schrieb Thomas Martitz: Am 24.10.2012 08:30, schrieb Arun Raghavan: Most of the PulseAudio server code is LGPL or more permissive (with the exception of the speex resampler and Bluetooth proximity helper, which are both optional). I'd rather not have to have an except when

Re: [pulseaudio-discuss] [PATCH v2 3/6] Proper poll() emulation to fix pacat and friends on windows.

2012-10-24 Thread Thomas Martitz
Am 24.10.2012 08:30, schrieb Arun Raghavan: Most of the PulseAudio server code is LGPL or more permissive (with the exception of the speex resampler and Bluetooth proximity helper, which are both optional). I'd rather not have to have an except when compiling for Windows clause to our license if

Re: [pulseaudio-discuss] [PATCH v2 3/6] Proper poll() emulation to fix pacat and friends on windows.

2012-10-23 Thread Thomas Martitz
Am 23.10.2012 08:40, schrieb Arun Raghavan: On Mon, 2012-08-20 at 23:50 +0200, Thomas Martitz wrote: Currently, Windows versions of pacat and friends fail because the current poll emulation is not sufficient (it only works for socket fds). Luckily Gnulib has a much better emulation that seems

Re: [pulseaudio-discuss] [PATCH v2 1/6] gccmacro: Disable printf-like format checking on mingw32 compilers.

2012-10-23 Thread Thomas Martitz
Am 23.10.2012 08:25, schrieb Arun Raghavan: On Tue, 2012-08-21 at 13:32 +0200, Thomas Martitz wrote: Am 21.08.2012 08:51, schrieb Rémi Denis-Courmont: Le mardi 21 août 2012 00:50:34 Thomas Martitz, vous avez écrit : There are tons of warnings, most of them because the function

Re: [pulseaudio-discuss] Brrr ... freeze imminent

2012-10-23 Thread Thomas Martitz
Am 23.10.2012 12:10, schrieb Arun Raghavan: Are we going to make a pavucontrol release too? Here's one patch for pavucontrol: Enable Automake's silent-rules option. If that's the only one, I'm not to keen on a new release. Speaking of it, I had it working on Windows with some (more or

Re: [pulseaudio-discuss] Brrr ... freeze imminent

2012-10-20 Thread Thomas Martitz
Am 19.10.2012 18:26, schrieb Tanu Kaskinen: On Fri, 2012-10-19 at 19:24 +0530, Arun Raghavan wrote: Hello, I'm hoping to freeze master for 3.0 early next week, with a release in 2-3 weeks after that if everything is quiet. Mostly, it's just pending on me finishing with Peter's NEON patches.

Re: [pulseaudio-discuss] [PATCH 1/6 v3] core: Initialize ARM NEON code if available

2012-10-17 Thread Thomas Martitz
Am 17.10.2012 10:53, schrieb Rémi Denis-Courmont: So .S/.s assembler source files constitute the only way to write run-time-conditional NEON code for the time being. Just make sure you did _not_ enable NEON in the CFLAGS and enable it manually with the .fpu neon assembler directive.

Re: [pulseaudio-discuss] [PATCH 0/2] change pa_bool_t to bool

2012-08-23 Thread Thomas Martitz
Am 22.08.2012 06:56, schrieb Tanu Kaskinen: David said: I don't think there is any reason to not do s/pa_bool_t/bool/g. Probably the reason for this might be historical, as some compilers may have supported some C99 features but not all of them (Microsoft compilers come to mind). I don't know

[pulseaudio-discuss] Fixes for pulseaudio on Windows.

2012-08-20 Thread Thomas Martitz
From: Thomas Martitz thomas.mart...@student.htw-berlin.de GIT: [PATCH v2 0/6] *** SUBJECT HERE *** GIT: [PATCH v2 1/6] gccmacro: Disable printf-like format checking on GIT: [PATCH v2 2/6] pacat: Enable binary mode on Windows. GIT: [PATCH v2 3/6] Proper poll() emulation to fix pacat and friends

[pulseaudio-discuss] Fixes for pulseaudio on Windows.

2012-08-20 Thread Thomas Martitz
From: ku...@rockbox.org GIT: Fixes for pulseaudio on Windows. GIT: [PATCH v2 0/6] *** SUBJECT HERE *** GIT: [PATCH v2 1/6] gccmacro: Disable printf-like format checking on GIT: [PATCH v2 2/6] pacat: Enable binary mode on Windows. GIT: [PATCH v2 3/6] Proper poll() emulation to fix pacat and

[pulseaudio-discuss] Fixes for pulseaudio on Windows.

2012-08-20 Thread Thomas Martitz
From: ku...@rockbox.org GIT: Fixes for pulseaudio on Windows. GIT: Fixes for pulseaudio on Windows. GIT: [PATCH v2 0/6] *** SUBJECT HERE *** GIT: [PATCH v2 1/6] gccmacro: Disable printf-like format checking on GIT: [PATCH v2 2/6] pacat: Enable binary mode on Windows. GIT: [PATCH v2 3/6] Proper

[pulseaudio-discuss] Fixes for pulseaudio on Windows.

2012-08-20 Thread Thomas Martitz
From: ku...@rockbox.org GIT: Fixes for pulseaudio on Windows. GIT: Fixes for pulseaudio on Windows. GIT: Fixes for pulseaudio on Windows. GIT: [PATCH v2 0/6] Fixes for pulseaudio on Windows. GIT: [PATCH v2 1/6] gccmacro: Disable printf-like format checking on GIT: [PATCH v2 2/6] pacat: Enable

[pulseaudio-discuss] Fixes for pulseaudio on Windows.

2012-08-20 Thread Thomas Martitz
From: Thomas Martitz thomas.mart...@student.htw-berlin.de GIT: Fixes for pulseaudio on Windows. GIT: Fixes for pulseaudio on Windows. GIT: Fixes for pulseaudio on Windows. GIT: Fixes for pulseaudio on Windows. GIT: [PATCH v2 0/6] Fixes for pulseaudio on Windows. GIT: [PATCH v2 1/6] gccmacro

[pulseaudio-discuss] [PATCH v2 0/6] Fixes for pulseaudio on Windows.

2012-08-20 Thread Thomas Martitz
review and comment on my patches, especually patch#4. This is my first contribution to PA, but surely not the last one so I would like to get things right. Thomas Martitz (6): gccmacro: Disable printf-like format checking on mingw32 compilers. pacat: Enable binary mode on Windows. Proper poll

[pulseaudio-discuss] [PATCH v2 2/6] pacat: Enable binary mode on Windows.

2012-08-20 Thread Thomas Martitz
Without this reading from stdin will eventually end with EOF (if there happens to be a newline sign in the stream), because read() returns 0. This patch fixes raw data input and piping to pacat on Windows. --- src/utils/pacat.c |4 1 file changed, 4 insertions(+) diff --git

[pulseaudio-discuss] [PATCH v2 4/6] Windows/pa_read, _write: Transparently handle non-blocking sockets.

2012-08-20 Thread Thomas Martitz
On Windows, fdsem.c:flush() fails because sockets are set to non-blocking mode, since pa_read() returns -1 (and errno == EWOULDBLOCK). I guess pa_read() is expected to block in this case so make it actually block by calling poll(). --- src/pulsecore/core-util.c | 35

[pulseaudio-discuss] [PATCH v2 3/6] Proper poll() emulation to fix pacat and friends on windows.

2012-08-20 Thread Thomas Martitz
Currently, Windows versions of pacat and friends fail because the current poll emulation is not sufficient (it only works for socket fds). Luckily Gnulib has a much better emulation that seems to work perfect all over. The implementation has been largely copied (except a bug fix regarding timeout

Re: [pulseaudio-discuss] [PATCH v2 0/6] Fixes for pulseaudio on Windows.

2012-08-20 Thread Thomas Martitz
Gah, something went horribly wrong with git send-email. I'm sorry for the first 5 useless messages, apparently caused by left-over .gitsendemail.msg.* files. The patches itself however arrived as intended it looks like. Best regards. ___

[pulseaudio-discuss] [PATCH v2 5/6] pacat: Replace read(), write() with pa_* equivalent.

2012-08-20 Thread Thomas Martitz
Calling pa_read() and pa_write() seems more appropriate since they deal better with platform specific issues. This doesn't actually fix any open issue since only stdio is affected but it seems more future proof. --- src/utils/pacat.c |8 +--- 1 file changed, 5 insertions(+), 3

[pulseaudio-discuss] [PATCH v2 6/6] Windows/pa_cstrerror(): Slightly more helpful unknown error.

2012-08-20 Thread Thomas Martitz
On Windows, strerror can actually return Unknown Error (e.g. for large errnums). The code assumes the return value to be helpful. Make it slightly more helpful by catching the message and appending the errnum. --- src/pulsecore/core-error.c |4 ++-- 1 file changed, 2 insertions(+), 2

[pulseaudio-discuss] [PATCH v3 1/6] gccmacro: Disable printf-like format checking on mingw32 compilers.

2012-08-20 Thread Thomas Martitz
From: Thomas Martitz k...@rockbox.org There are tons of warnings, most of them because the function is not recognized as printf-like. --- src/pulse/gccmacro.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pulse/gccmacro.h b/src/pulse/gccmacro.h index 1e818ff..2e23ced

[pulseaudio-discuss] [PATCH v3 2/6] pacat: Enable binary mode on Windows.

2012-08-20 Thread Thomas Martitz
From: Thomas Martitz k...@rockbox.org Without this reading from stdin will eventually end with EOF (if there happens to be a newline sign in the stream), because read() returns 0. This patch fixes raw data input and piping to pacat on Windows. --- src/utils/pacat.c |4 1 file changed

[pulseaudio-discuss] [PATCH v3 4/6] Windows/pa_read, _write: Transparently handle non-blocking sockets.

2012-08-20 Thread Thomas Martitz
From: Thomas Martitz k...@rockbox.org On Windows, fdsem.c:flush() fails because sockets are set to non-blocking mode, since pa_read() returns -1 (and errno == EWOULDBLOCK). I guess pa_read() is expected to block in this case so make it actually block by calling poll(). --- src/pulsecore/core

[pulseaudio-discuss] [PATCH v3 5/6] pacat: Replace read(), write() with pa_* equivalent.

2012-08-20 Thread Thomas Martitz
From: Thomas Martitz k...@rockbox.org Calling pa_read() and pa_write() seems more appropriate since they deal better with platform specific issues. This doesn't actually fix any open issue since only stdio is affected but it seems more future proof. --- src/utils/pacat.c |8 +--- 1 file

[pulseaudio-discuss] [PATCH v3 6/6] Windows/pa_cstrerror(): Slightly more helpful unknown error.

2012-08-20 Thread Thomas Martitz
From: Thomas Martitz k...@rockbox.org On Windows, strerror can actually return Unknown Error (e.g. for large errnums). The code assumes the return value to be helpful. Make it slightly more helpful by catching the message and appending the errnum. --- src/pulsecore/core-error.c |4 ++-- 1

[pulseaudio-discuss] [PATCH v3 3/6] Proper poll() emulation to fix pacat and friends on windows.

2012-08-20 Thread Thomas Martitz
From: Thomas Martitz k...@rockbox.org Currently, Windows versions of pacat and friends fail because the current poll emulation is not sufficient (it only works for socket fds). Luckily Gnulib has a much better emulation that seems to work perfect all over. The implementation has been largely

Re: [pulseaudio-discuss] [PATCH 0/3] Fixes for pulseaudio on Windows.

2012-08-13 Thread Thomas Martitz
Am 08.08.2012 23:06, schrieb ku...@rockbox.org: I've been tryng to run pulseaudio (including utils) on windows. This series is the first to contribute fixes to achieve this. One issue I came across is the assertion failue (!e-dead) in pacat. This is fixed by the first patch. Uncovered by this

[pulseaudio-discuss] libpulsecommon not installed

2012-08-02 Thread Thomas Martitz
Hello, I'm debugging the win32 Assertion failed '!e-dead' failed issue. During that I found that libpulsecommon (.dll in this case) is not installed (which made me fight ghosts in the past few hours :) ). Is this a known issue? Unfortunately I have no idea about autotools and I seem unable

Re: [pulseaudio-discuss] libpulsecommon not installed

2012-08-02 Thread Thomas Martitz
Am 02.08.2012 18:48, schrieb Peter Meerwald: I'm debugging the win32 Assertion failed '!e-dead' failed issue. During that I found that libpulsecommon (.dll in this case) is not installed (which made me fight ghosts in the past few hours :) ). Is this a known issue? Unfortunately I have no idea

Re: [pulseaudio-discuss] Building PulseAudio 2.0 without a dependency on libstdc++

2012-07-17 Thread Thomas Martitz
Arun Raghavan arun.ragha...@collabora.co.uk schrieb: On Mon, 2012-07-16 at 09:58 +0300, Rémi Denis-Courmont wrote: Le lundi 16 juillet 2012 06:41:11 Louis Opter, vous avez écrit : How could I patch the Makefile to not link with the libstdc++ when WebRTC is not used? And, should I file a

Re: [pulseaudio-discuss] [PATCH v2 1/6] core: add ARM NEON optimized mono-to-stereo/stereo-to-mono remapping code

2012-07-06 Thread Thomas Martitz
Am 06.07.2012 11:29, schrieb Peter Meerwald: Hello, Can you give a status update: what remains to be done before these patches can be merged? I am glad you asked; I am working on a v3 these days to address the following issues: - performance degradation on Cortex-A9 / pandaboard for remap:

Re: [pulseaudio-discuss] [PATCH] Correct spelling of Pulse*A*udio

2012-05-04 Thread Thomas Martitz
Am 25.04.2012 09:24, schrieb Paul Menzel: Am Mittwoch, den 25.04.2012, 11:05 +0530 schrieb Arun Raghavan: On Wed, 2012-04-25 at 07:02 +0300, Tanu Kaskinen wrote: On Tue, 2012-04-24 at 23:34 +0200, Paul Menzel wrote: • s,Pulseaudio,PulseAudio, Hmm, 4 out of 5 occurrences were written by me. I

[pulseaudio-discuss] Pulseaudio over WLAN stuttering

2012-04-03 Thread Thomas Martitz
Hello folks, I am recently trying to use PA over the network and am encountering a major problem: The sound is stuttering a lot and is full if tiny lags (it sometimes appears as if the song is played back with a lower speed). After a bit of investigation ([1], [2]) it seems to be related to