Re: [pulseaudio-discuss] [PATCH] resampler: Make sure that there are no overflows when multiplying potentially big numbers.

2012-10-30 Thread Arun Raghavan
On Tue, 2012-10-30 at 12:06 +0200, Tanu Kaskinen wrote: On Tue, 2012-10-30 at 08:47 +0530, Arun Raghavan wrote: On Mon, 2012-07-09 at 10:07 +0300, Tanu Kaskinen wrote: This fixes at least one crash that has been observed. The multiplication in trivial_resample() overflowed when

[pulseaudio-discuss] [PATCH] svolume: Fix ARM alignment issues

2012-10-30 Thread Arun Raghavan
(This is quite intrusive, but deals with a pretty big peformance problem. More eyeballs would be greatly appreciated.) As Peter Meerwald p.meerw...@bct-electronic.com discovered, our ARM svolume code performance is quite terrible when the incoming samples are not word-aligned. This can very

[pulseaudio-discuss] master is frozen

2012-10-31 Thread Arun Raghavan
Hello, As per plan, the master branch is now frozen for 3.0. I will make an RC1 shortly so packagers can push things out for broader testing. Cheers, Arun ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org

Re: [pulseaudio-discuss] arecord from monitor and sink

2012-11-01 Thread Arun Raghavan
On Thu, 2012-11-01 at 17:04 +0900, Amar Akshat wrote: Hi, As we know, pulse recognizes every sound card's source as a source and a monitor device. We use monitor device to record any activity on that sound card's source. However, for a scenario like a sound card used for making a phone

Re: [pulseaudio-discuss] [PATCH v2 4/4] pacat: Handle holes in recording streams.

2012-11-08 Thread Arun Raghavan
On Wed, 2012-11-07 at 16:52 +0200, Tanu Kaskinen wrote: [...] -if (buffer) { +/* If there is a hole in the stream, we generate silence, except + * if it's a passthrough stream in which case we skip the hole. */ +if (data || !(flags

[pulseaudio-discuss] [PATCH] sink, source: Prevent unnecessary rate update attempts

2012-11-15 Thread Arun Raghavan
We don't need to try a rate update if the desired sample rate is the same as the one the sink or source is already using. --- src/pulsecore/sink-input.c| 11 ++- src/pulsecore/sink.c | 3 +++ src/pulsecore/source-output.c | 11 ++- src/pulsecore/source.c| 3

Re: [pulseaudio-discuss] [PATCH 0/5] A bunch of pa_mainloop_wakeup() related fixes

2012-11-15 Thread Arun Raghavan
On 2 April 2012 17:31, Tanu Kaskinen tanu.kaski...@digia.com wrote: Coverity warned about an unchecked pa_write() return value, which is fixed in the last patch of this series. While figuring out what pa_mainloop_wakeup() was supposed to do and how it was called, I noticed some other issues

Re: [pulseaudio-discuss] [PATCH] sink, source: Prevent unnecessary rate update attempts

2012-11-16 Thread Arun Raghavan
On Thu, 2012-11-15 at 15:58 +0530, Arun Raghavan wrote: We don't need to try a rate update if the desired sample rate is the same as the one the sink or source is already using. --- Pushed this. -- Arun ___ pulseaudio-discuss mailing list

Re: [pulseaudio-discuss] [PATCH] sink: Process rewind requests also when suspended.

2012-11-16 Thread Arun Raghavan
On Thu, 2012-08-30 at 16:50 +0300, Tanu Kaskinen wrote: When a rewind is requested on a sink input, the request parameters are stored in the pa_sink_input struct. The parameters are reset during rewind processing, and if the sink decides to ignore the rewind request due to being suspended,

[pulseaudio-discuss] [ANNOUNCE] PulseAudio 2.99.2 (3.0 RC2)

2012-11-17 Thread Arun Raghavan
Hello, I just uploaded the second release candidate for the 3.0 release. It's mostly a bunch of bug fixes. We fixed one big outstanding problem with pausing/unpausing high latency streams. This was a pretty intrusive change, so testing would be appreciated. If all goes smoothly, this should be the

Re: [pulseaudio-discuss] [PATCH] bluetooth: Unload the device module when the device becomes disconnected.

2012-11-18 Thread Arun Raghavan
On Sun, 2012-11-18 at 23:55 +0200, Tanu Kaskinen wrote: The bug was most likely introduced in this commit: http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=ea45f2c7951a81b2f43029892535d6a6280eb97e BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=57239 --- Looks good, please

Re: [pulseaudio-discuss] [PATCH 0/3] rtp: Configurable source IP

2012-11-19 Thread Arun Raghavan
On Sat, 2012-11-17 at 23:31 +, Robin H. Johnson wrote: From: Robin H. Johnson robb...@gentoo.org On a multi-homed system, the user may wish RTP to be used only on specific interfaces. The default binding of 0.0.0.0 for the source address causes SAP multicast on all interfaces, which is

Re: [pulseaudio-discuss] [PATCH 0/3] rtp: Configurable source IP

2012-11-19 Thread Arun Raghavan
On Mon, 2012-11-19 at 14:30 +0200, Tanu Kaskinen wrote: On Mon, 2012-11-19 at 17:46 +0530, Arun Raghavan wrote: On Sat, 2012-11-17 at 23:31 +, Robin H. Johnson wrote: From: Robin H. Johnson robb...@gentoo.org On a multi-homed system, the user may wish RTP to be used only

Re: [pulseaudio-discuss] pavucontrol: Allow volume adjustment of apps that play sounds only briefly

2012-11-19 Thread Arun Raghavan
On Sat, 2012-11-17 at 18:25 +0100, Julian Sikorski wrote: Hi list, This was originally posted on Red Hat Bugzilla [1]: Skype makes sounds when friends log off, log on, and other times. The sounds skype makes are played for only a second. pavucontrol lists skype for that brief period.

Re: [pulseaudio-discuss] New release - mpd has stopped working with same user

2012-11-19 Thread Arun Raghavan
On Tue, 2012-11-20 at 07:49 +0800, Oon-Ee Ng wrote: Reference - https://mailman.archlinux.org/pipermail/arch-general/2012-November/032147.html Basically, with pulseaudio 2.99.2 mpd can't seem to connect to pulseaudio. Easy workaround is to play through tcp on 127.0.0.1, but the Arch devs

Re: [pulseaudio-discuss] Philosophical queries

2012-11-19 Thread Arun Raghavan
Hi Mike, On Mon, 2012-11-19 at 12:09 -0800, Mike Gran wrote: Hello- Are end-user applications supposed to use the PulseAudio API directly? PulseAudio shows up as part of the GNOME SDK in the graphic on the front page of http://developer.gnome.org/ But, it isn't mentioned in the

[pulseaudio-discuss] [pavucontrol] Add an 'Advanced' section

2012-11-20 Thread Arun Raghavan
Hi folks, Here come a couple of patches to move the less-used and potentially overwhelming options from the device widget into an advanced expander so that only the people who actually are interested in those options are exposed to them. -- Arun ___

[pulseaudio-discuss] [PATCH 1/2] devicewidget: Move latency offset into an expander

2012-11-20 Thread Arun Raghavan
We don't want to flood users with this option, let's just leave it closed by default for those who need it. --- src/devicewidget.cc | 9 +++- src/devicewidget.h| 1 + src/pavucontrol.glade | 125 -- 3 files changed, 77 insertions(+), 58

[pulseaudio-discuss] [PATCH 2/2] sinkwidget: Move format selection options to 'Advanced' expander

2012-11-20 Thread Arun Raghavan
There's no reason to present this for all S/PDIF and HDMI cases. The user can select it when required. --- src/pavucontrol.glade | 243 ++ 1 file changed, 127 insertions(+), 116 deletions(-) diff --git a/src/pavucontrol.glade

Re: [pulseaudio-discuss] Delay pulseaudio startup in GNOME

2012-11-20 Thread Arun Raghavan
On Mon, 2012-11-19 at 06:40 +0100, Martin Pitt wrote: Hello David, Martin, a quick note - your email to the list was delayed because non-subscriber mails are filtered (and we manually clear the queue only at sporadic intervals). -- Arun ___

Re: [pulseaudio-discuss] [pavucontrol] Add an 'Advanced' section

2012-11-20 Thread Arun Raghavan
On Tue, 2012-11-20 at 20:05 +, Colin Guthrie wrote: 'Twas brillig, and Arun Raghavan at 20/11/12 14:38 did gyre and gimble: Hi folks, Here come a couple of patches to move the less-used and potentially overwhelming options from the device widget into an advanced expander so

Re: [pulseaudio-discuss] [PATCH v2 1/2 pavucontrol] mainwindow: Show the availability of the ports and profiles.

2012-11-20 Thread Arun Raghavan
On Fri, 2012-11-16 at 00:12 +0100, poljar (Damir Jelić) wrote: From: poljar (Damir Jelić) poljari...@gmail.com If we know if a certain port is available/unavailable, we can print that out, as a help to the user (and as debugging for ourselves). A profile is also available/unavailable if all

Re: [pulseaudio-discuss] Bluetooth ports

2012-11-22 Thread Arun Raghavan
David, On Thu, 2012-11-22 at 16:55 +0100, David Henningsson wrote: [...] ...now, I'm testing PulseAudio 2.99.2 and things do not show up as I expect them to. In PulseAudio 2.x, there were no bluetooth ports at all, in 2.99, pactl list-cards looks like this [1]. I don't know if it's a bug,

Re: [pulseaudio-discuss] pulseaudio daemon not responging

2012-11-22 Thread Arun Raghavan
On Thu, 2012-11-22 at 23:07 +0200, Stefan Stefanov wrote: Can anyone explain me what is wrong with libpthread-stub.so? As I understand, sem_wait() works as intended according to the source code: static int __sem_wait_stub(sem_t *_sem) { unsigned int *sem = (unsigned int *) _sem; if

Re: [pulseaudio-discuss] Bluetooth ports

2012-11-23 Thread Arun Raghavan
On Fri, 2012-11-23 at 08:31 +0100, David Henningsson wrote: On 11/23/2012 05:24 AM, Arun Raghavan wrote: David, On Thu, 2012-11-22 at 16:55 +0100, David Henningsson wrote: [...] ...now, I'm testing PulseAudio 2.99.2 and things do not show up as I expect them to. In PulseAudio 2.x

Re: [pulseaudio-discuss] Bluetooth ports

2012-11-23 Thread Arun Raghavan
On Fri, 2012-11-23 at 08:31 +0100, David Henningsson wrote: On 11/23/2012 05:24 AM, Arun Raghavan wrote: David, On Thu, 2012-11-22 at 16:55 +0100, David Henningsson wrote: [...] ...now, I'm testing PulseAudio 2.99.2 and things do not show up as I expect them to. In PulseAudio 2.x

Re: [pulseaudio-discuss] Why are we checking various sample rates?

2012-12-02 Thread Arun Raghavan
/1074783 This was added by: commit e67440e2208fb8182916493b57b75e91013510e7 Author: Arun Raghavan arun.ragha...@collabora.co.uk Date: Mon Oct 17 22:46:06 2011 +0530 alsa: Probe sink/source sample rates This probes sink and source sample rates and uses this information to validate

Re: [pulseaudio-discuss] Why are we checking various sample rates?

2012-12-02 Thread Arun Raghavan
On Sat, 2012-12-01 at 20:57 +0800, Raymond Yau wrote: 2012-11-30 下午5:01 於 David Henningsson david.hennings...@canonical.com 寫道: Hi, I'm researching a bug where some set of USB speakers stopped working, probably in 2.x. The peculiar thing about this sound card is that seems to only

Re: [pulseaudio-discuss] [PATCH v0] bluetooth: Fix unacquired transports during sink resume

2012-12-04 Thread Arun Raghavan
On Wed, 2012-11-28 at 19:20 +0100, Mikel Astiz wrote: From: Mikel Astiz mikel.as...@bmw-carit.de The sink can be resumed while the source is still in PA_SOURCE_INIT. This is the case if a module such as module-stream-restore routes the audio to the sink during pa_sink_put(), leading to an

Re: [pulseaudio-discuss] Why are we checking various sample rates?

2012-12-04 Thread Arun Raghavan
On Mon, 2012-12-03 at 14:49 +0100, David Henningsson wrote: On 12/03/2012 07:07 AM, Arun Raghavan wrote: On Fri, 2012-11-30 at 09:59 +0100, David Henningsson wrote: Hi, I'm researching a bug where some set of USB speakers stopped working, probably in 2.x. The peculiar thing about

[pulseaudio-discuss] [ANNOUNCE] PulseAudio 2.99.3 (3.0 RC3)

2012-12-07 Thread Arun Raghavan
Hello, It took a while, but we found some issues on the Bluetooth side after the last RC which took some time and discussion to pin down. I'm hoping this is the last RC, but we'll see how it goes. Tarballs as usual: http://freedesktop.org/software/pulseaudio/releases/pulseaudio-2.99.3.tar.gz MD5:

Re: [pulseaudio-discuss] [ANNOUNCE] PulseAudio 2.99.3 (3.0 RC3)

2012-12-07 Thread Arun Raghavan
On Fri, 2012-12-07 at 14:20 +0100, Peter Meerwald wrote: Hello, I've been trying to get this to build on Fedora 18 on ARM to test the UCM support and I'm running into an issue with what appears to be the build ignoring the distro CFLAGS. Basically we don't currently build for NEON as

Re: [pulseaudio-discuss] Testing echo cancellation on an armhf OMAP phone

2012-12-17 Thread Arun Raghavan
On Tue, 2012-12-18 at 06:58 +0200, Tanu Kaskinen wrote: On Mon, 2012-12-17 at 21:49 +, Neil Jerram wrote: Hi pulseaudio folk. I've been following the list for a while, but this is my first post... I'm working with PulseAudio on the GTA04 phone, specifically trying to use it to

Re: [pulseaudio-discuss] Testing echo cancellation on an armhf OMAP phone

2012-12-17 Thread Arun Raghavan
On Mon, 2012-12-17 at 21:49 +, Neil Jerram wrote: [...] - load module-echo-cancel - do paplay -d alsa_output.platform-soc-audio.0.analog-stereo.echo-cancel /media/card/Documents/audio/ogg/Do\ They\ Know\ It\'s\ Christmas.ogg in one terminal - do parecord -d

Re: [pulseaudio-discuss] huge skype sound events delay

2012-12-17 Thread Arun Raghavan
On Tue, 2012-12-18 at 06:35 +0200, Tanu Kaskinen wrote: On Mon, 2012-12-17 at 22:41 +0100, Julian Sikorski wrote: Would it be possible to backport whatever fixed it to 2.x branch? It is very unlikely distros would upgrade PA mid-release, and Fedora 18 is not even out yet I've

Re: [pulseaudio-discuss] [ANNOUNCE] PulseAudio 3.0

2012-12-18 Thread Arun Raghavan
On Tue, 2012-12-18 at 12:12 +0100, Thomas Martitz wrote: Am 18.12.2012 08:37, schrieb Arun Raghavan: Hi folks, I'm pleased to announce that PulseAudio 3.0 is now out! Awesome! Congratulations on this one :) I'm wondering if we can get the OpenSUSE BuildService to update so

Re: [pulseaudio-discuss] [PATCH] Removed the option to specify sample format. (bug 46529)

2013-01-04 Thread Arun Raghavan
On Fri, 2013-01-04 at 17:27 -0600, Pierre-Louis Bossart wrote: On 01/04/2013 07:59 AM, Tanu Kaskinen wrote: On Thu, 2013-01-03 at 09:35 -0600, Pierre-Louis Bossart wrote: @@ -48,7 +48,6 @@ PA_MODULE_USAGE( _(sink_name=name for the sink sink_properties=properties

Re: [pulseaudio-discuss] [UCM] usage howto

2013-01-08 Thread Arun Raghavan
On Mon, 2013-01-07 at 11:46 +0100, Soeren Grunewald wrote: Hi All, I've been testing pulseaudio-3.0 and now I have some questions. Is there any updated documentation available describing the usage of UCM in pulsaudio and can the current UCM implementation handle multiple soundcards? I

Re: [pulseaudio-discuss] LD error while configuring android-pulseaudio

2013-02-22 Thread Arun Raghavan
On Fri, 2013-02-22 at 11:15 +0900, 최태양 wrote: Hi :) I'm currently trying to compile pulseaudio for android. When I try make pulseaudio-aggregate-configure command, the LD error occurs. Unfortunately, you need to run make pulseaudio-aggregate-configure as you did, then run make libltdl

Re: [pulseaudio-discuss] [PATCH] default.pa: Load module-jackdbus-detect with channels=2 by default

2013-03-01 Thread Arun Raghavan
On Fri, 2013-03-01 at 13:10 +0100, David Henningsson wrote: There was a recent thread on Linux Audio Users mailinglist about whether to do this or not, and it looks like most people would prefer having a stereo default (but even better would have been a module-jack-card where you can easily

[pulseaudio-discuss] [ANNOUNCE] PAVUControl 2.0

2013-03-08 Thread Arun Raghavan
PulseAudio port feature additions - availability and latency offsets, properly working with GTK+ 3.x theming, and assorted fixes. Shortlog below for more details. Special thanks go to GSoC student poljar (Damir Jelić) for the work on the new port-related features. Cheers, Arun Arun Raghavan (4

Re: [pulseaudio-discuss] Wiki problems

2013-03-20 Thread Arun Raghavan
On Tue, 2013-03-19 at 12:58 +0200, Tanu Kaskinen wrote: On Tue, 2013-03-19 at 12:29 +0200, Ansis Māliņš wrote: Why not just use Wikia?​ * Advertisements * I doubt Wikia runs on free software * Moving requires more work than not moving Those are the arguments against Wikia that I was

[pulseaudio-discuss] [PATCH] resmple: Switch to speex-float-1 by default

2013-03-25 Thread Arun Raghavan
This consumes less power, has low (no?) perceivable difference, and allows the default configuration to work out of the box on low-end systems (such as netbooks). --- man/pulse-daemon.conf.5.xml.in | 2 +- src/pulsecore/core.c | 2 +- src/pulsecore/resampler.c | 6 +++--- 3 files

Re: [pulseaudio-discuss] Wiki problems

2013-03-25 Thread Arun Raghavan
On Mon, 2013-03-25 at 09:16 +0200, Tanu Kaskinen wrote: On Wed, 2013-03-20 at 11:28 +, Arun Raghavan wrote: On Wed, 2013-03-20 at 13:21 +0200, Ansis Māliņš wrote: You should lower the barrier for participation considerably. Let anyone edit without an account and add captcha if spam

Re: [pulseaudio-discuss] GSoC: Call for project ideas

2013-03-25 Thread Arun Raghavan
On Sat, 2013-03-23 at 11:11 +, Toby Smithe wrote: Hi, I have a fairly free summer coming up, and thought it would be nice to participate in GSoC. For a while I've been interested in PulseAudio, and I have an idea for a project. I wonder if you might say whether you think it plausible.

Re: [pulseaudio-discuss] Improvements related to configuration

2013-03-25 Thread Arun Raghavan
On Mon, 2013-03-25 at 16:35 +0200, Tanu Kaskinen wrote: [...] === Improvements Related to Configuration === '''Problem statement:''' There are a couple of separate problems: * If setting some option in a configuration file doesn't seem to have any effect, chances are that it's

Re: [pulseaudio-discuss] GSoC: Call for project ideas

2013-03-25 Thread Arun Raghavan
On Mon, 2013-03-25 at 18:09 +0200, Tanu Kaskinen wrote: [...] The simplest idea I can think of to deal with this meaningfully is to wrap a sink/source around a GStreamer pipeline to offload all that work that we don't want to duplicate in PulseAudio . On the sink side, we'd hook up to

Re: [pulseaudio-discuss] GSoC: Call for project ideas

2013-03-25 Thread Arun Raghavan
On Mon, 2013-03-25 at 16:19 +, Toby St Clere Smithe wrote: Hi Arun, Thanks for your message. I'm going to reply to you first, and then reply to David. Arun Raghavan arun.ragha...@collabora.co.uk writes: Having means of doing non-PCM streaming would definitely be desirable

Re: [pulseaudio-discuss] Freeze soon?

2013-03-28 Thread Arun Raghavan
On Thu, 2013-03-28 at 09:11 +0200, Tanu Kaskinen wrote: On Wed, 2013-03-20 at 17:45 +0200, Tanu Kaskinen wrote: Hello, The target release date for 4.0 is 2013-04-18 (assuming 4-month release cycle), and that date is less than a month away. It's time to freeze soon. I propose 2013-03-28

[pulseaudio-discuss] GSoC 2013: We're in!

2013-04-11 Thread Arun Raghavan
Hi folks, Just a quick announcement that PulseAudio will be participating in the 2013 edition of Google Summer of Code as well. Thanks go out to the folks at Google for selecting us! Potential mentors, please go ahead and apply to be a mentor at -

Re: [pulseaudio-discuss] Unload echo-cancel devices

2013-04-11 Thread Arun Raghavan
On Wed, 2013-04-10 at 23:34 -0700, Lazar Doru wrote: Hi there! I have a question. I'm developing a conference application, and therefore I am using the PulseAudio echo-cancellation. Every time I'm creating an echo-cancelled stream, PulseAudio will create a new source/sink for the stream,

Re: [pulseaudio-discuss] [PATCH] alsa-mixer: Add more jack detection for Headset mic path

2013-04-13 Thread Arun Raghavan
On Fri, 2013-04-12 at 11:56 +0200, David Henningsson wrote: On some machines which has a headset jack, the headset mic does not have its own jack detection. Then we can look at the headphone jack to get some indication: We know that if the headphone is unplugged, so is the headset mic. The

[pulseaudio-discuss] Some distcheck fixes

2013-04-14 Thread Arun Raghavan
Hello, I found alsa-mixer-path-text failing in distcheck, that exposed some problems with how we do run-from-builddir detection. These should fix things. Unless someone objects to these, I'll push them out and roll out 3.99.1. Cheers, Arun ___

[pulseaudio-discuss] [PATCH 1/2] pulsecore: Don't conditionally inline pa_run_from_build_tree()

2013-04-14 Thread Arun Raghavan
There's no good reason to assume an in-tree build will be debug-only. This breaks alsa-mixer-path-test on make distcheck, for example. --- src/pulsecore/core-util.c | 4 src/pulsecore/core-util.h | 9 + 2 files changed, 1 insertion(+), 12 deletions(-) diff --git

[pulseaudio-discuss] [ANNOUNCE] PulseAudio 3.99.1

2013-04-15 Thread Arun Raghavan
-2 AAC pass-through Bump the native protocol version Albert Zeyer (1): semaphore-osx: posix implementation based on named semaphores Arun Raghavan (9): tests: Minor alsa-time-test improvments core: Fix up some debug logging stream: Make it easier to enable debug output

[pulseaudio-discuss] [PATCH] rygel: Set DLNA profile on our MediaItems

2013-04-19 Thread Arun Raghavan
We know we always serve up LPCM, and exposing this via D-Bus lets Rygel set the appropriate metadata while presenting the raw (i.e. non-transcoded) stream to clients. --- src/modules/module-rygel-media-server.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[pulseaudio-discuss] [PATCH 1/2] daemon: Fix dlsearchpath while running from build tree

2013-04-19 Thread Arun Raghavan
It appears that, libltdl will find the .la file in the builddir and figure out where the real .so is. This also requires .ifexists to be fixed up to correspondingly search in dlsearchpath/.libs. --- src/daemon/daemon-conf.c| 2 +- src/pulsecore/cli-command.c | 12 +++- 2 files

[pulseaudio-discuss] [PATCH 2/2] pulsecore: Make run-from-build not readlink() on every call

2013-04-19 Thread Arun Raghavan
Since this is no longer only defined in debug builds, let's make sure that there is no impact if this is indavertently called repeatedly at startup. --- src/pulsecore/core-util.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/pulsecore/core-util.c

Re: [pulseaudio-discuss] [PATCH 1/2] daemon: Fix dlsearchpath while running from build tree

2013-04-22 Thread Arun Raghavan
On Mon, 2013-04-22 at 12:41 +0300, Tanu Kaskinen wrote: [...] *ifstate = access(pathname, F_OK) == 0 ? IFSTATE_TRUE : IFSTATE_FALSE; pa_log_debug(Checking for existence of '%s': %s, pathname, *ifstate == IFSTATE_TRUE ? success :

Re: [pulseaudio-discuss] GSoC ideas

2013-04-26 Thread Arun Raghavan
On Fri, 2013-04-26 at 22:05 +0200, Thomas Martitz wrote: 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

Re: [pulseaudio-discuss] GSoC ideas

2013-04-26 Thread Arun Raghavan
On Fri, 2013-04-26 at 16:40 +0200, David Henningsson wrote: [...] - Simplified way for scripting pulseaudio and doing basic event handling. Normal (power) user should script their soundsystem. I believe there's general agreement that we want Lua scripting in PulseAudio. I think this

Re: [pulseaudio-discuss] idea: a reserve alsa plugin

2013-05-02 Thread Arun Raghavan
On Thu, 2013-05-02 at 12:55 +0200, David Henningsson wrote: Just had an idea which I'll write down here before I forget it again...and I'm not saying I'll implement this anytime soon either, but here goes: There is a device reserve protocol between PulseAudio and JACK2 - when JACK needs

Re: [pulseaudio-discuss] Problem with USB sound card - clicks and pops on re-open

2013-05-12 Thread Arun Raghavan
On Sun, 2013-05-12 at 17:18 +0200, Christian Iversen wrote: [...] Is there any way to have pulseaudio keep the device open at all times? Or some other way to debug this? Disable the loading of module-suspend-on-idle in /etc/pulse/default.pa. I'm assuming you don't care about the resulting

Re: [pulseaudio-discuss] [PATCH] echo-cancel: Fix send/recv_counter in calc_diff()

2013-05-12 Thread Arun Raghavan
On Mon, 2013-04-22 at 15:36 +0200, Peter Meerwald wrote: From: Peter Meerwald p.meerw...@bct-electronic.com send_counter/recv_counter relate to the bytes (play stream) passed through the queue, hence the same sample spec must be used Signed-off-by: Peter Meerwald

[pulseaudio-discuss] [PATCH] sink-input, source-output: Deal with FIX* flags and extended API

2013-05-13 Thread Arun Raghavan
The sample spec fixup when FIX* flags are set was not being propagated to the pa_format_info, causing the two to be out of sync when FIX* was used. (I'd like to push this to master and next since it's fairly trivial) --- src/pulsecore/sink-input.c| 13 +++--

Re: [pulseaudio-discuss] Problem with USB sound card - clicks and pops on re-open

2013-05-14 Thread Arun Raghavan
On Mon, 2013-05-13 at 23:19 +0200, Christian Iversen wrote: On 2013-05-13 05:41, Arun Raghavan wrote: On Sun, 2013-05-12 at 17:18 +0200, Christian Iversen wrote: [...] Is there any way to have pulseaudio keep the device open at all times? Or some other way to debug this? Disable

[pulseaudio-discuss] Making module-zeroconf-publish non-blocking

2013-05-15 Thread Arun Raghavan
Hello, This one is really intrusive (at least to m-z-publish), but deals with a long-standing bug which is also a 4.0 blocker[1] where PulseAudio sometimes takes 20s for daemon startup to complete. I've tried to review and test carefully, but more eyeballs would be greatly appreciated. Once this

[pulseaudio-discuss] [PATCH 1/3] pulsecore: Fix assert in pa_msgobject creation

2013-05-15 Thread Arun Raghavan
Allows for creation of derived types that don't have any other fields. --- src/pulsecore/msgobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pulsecore/msgobject.c b/src/pulsecore/msgobject.c index 075a28c..b55ba8b 100644 --- a/src/pulsecore/msgobject.c +++

[pulseaudio-discuss] [PATCH 2/3] mainloop: Add API to set thread name for threaded mainloop

2013-05-15 Thread Arun Raghavan
--- src/map-file| 1 + src/pulse/thread-mainloop.c | 16 +++- src/pulse/thread-mainloop.h | 3 +++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/map-file b/src/map-file index 91d61c2..21e3abc 100644 --- a/src/map-file +++ b/src/map-file @@ -344,6

[pulseaudio-discuss] [PATCH 3/3] zeroconf: Make Avahi usage in m-z-publish async

2013-05-15 Thread Arun Raghavan
This pushes all avahi-client code to a threaded mainloop from the PA mainloop context. We need to do this because avahi-client makes blocking D-Bus calls, and we don't want to block the mainloop for that long. The only exception to this now that I don't see a workaround for is during module

Re: [pulseaudio-discuss] [PATCH 2/3] mainloop: Add API to set thread name for threaded mainloop

2013-05-15 Thread Arun Raghavan
On Wed, 2013-05-15 at 08:35 +0200, Peter Meerwald wrote: @@ -132,6 +135,7 @@ void pa_threaded_mainloop_free(pa_threaded_mainloop* m) { pa_cond_free(m-cond); pa_cond_free(m-accept_cond); +pa_xfree (m-name); pa_xfree(m); } nitpick: there's a whitespace

Re: [pulseaudio-discuss] [PATCH 3/3] zeroconf: Make Avahi usage in m-z-publish async

2013-05-15 Thread Arun Raghavan
On Wed, 2013-05-15 at 08:41 +0200, David Henningsson wrote: On 05/15/2013 06:43 AM, Arun Raghavan wrote: This pushes all avahi-client code to a threaded mainloop from the PA mainloop context. We need to do this because avahi-client makes blocking D-Bus calls, and we don't want to block

[pulseaudio-discuss] PulseAudio and softvol

2013-05-15 Thread Arun Raghavan
Hello, A number of users have intermittently(?) been hitting a crash in alsa-lib 1.0.27 [1, 2] related to the softvol plugin. I'm not able to reproduce this reliably, so can't find an easy way to debug/fix. However, this raises a tangential question - why do we need softvol to be plugged for

Re: [pulseaudio-discuss] [alsa-devel] PulseAudio and softvol

2013-05-15 Thread Arun Raghavan
On Wed, 2013-05-15 at 12:26 +0200, Jaroslav Kysela wrote: Date 15.5.2013 11:55, Arun Raghavan wrote: Hello, A number of users have intermittently(?) been hitting a crash in alsa-lib 1.0.27 [1, 2] related to the softvol plugin. I'm not able to reproduce this reliably, so can't find an easy

Re: [pulseaudio-discuss] Making module-zeroconf-publish non-blocking

2013-05-15 Thread Arun Raghavan
On Wed, 2013-05-15 at 14:06 +0300, Tanu Kaskinen wrote: On Wed, 2013-05-15 at 16:02 +0530, Arun Raghavan wrote: On Wed, 2013-05-15 at 13:05 +0300, Tanu Kaskinen wrote: On Wed, 2013-05-15 at 10:13 +0530, Arun Raghavan wrote: Hello, This one is really intrusive (at least to m-z-publish

Re: [pulseaudio-discuss] Making module-zeroconf-publish non-blocking

2013-05-19 Thread Arun Raghavan
On Fri, 2013-05-17 at 16:49 +0300, Tanu Kaskinen wrote: On Wed, 2013-05-15 at 18:58 +0530, Arun Raghavan wrote: On Wed, 2013-05-15 at 14:06 +0300, Tanu Kaskinen wrote: On Wed, 2013-05-15 at 16:02 +0530, Arun Raghavan wrote: On Wed, 2013-05-15 at 13:05 +0300, Tanu Kaskinen wrote

[pulseaudio-discuss] [RFC] [PATCH] tests: Add a latency measurement test

2013-05-21 Thread Arun Raghavan
This test is intended to measure real latency by playing a sample to a sink and capturing that over a loopback interface. The loopback can either be physical (cable running from headphone out to line in) or virtual (monitor source or module loopback). Also included in this is calibration code to

Re: [pulseaudio-discuss] The module module-suspend-on-idle sounds optional, but is strictly required

2013-05-21 Thread Arun Raghavan
On Tue, 2013-05-21 at 16:06 +0300, Tanu Kaskinen wrote: On Tue, 2013-05-21 at 14:58 +0200, Christian Iversen wrote: So my question to this list: Is module-suspend-on-idle really a requirement? How difficult would this be to fix? Already fixed in the next branch :) And jfyi, since you

Re: [pulseaudio-discuss] [RFC] [PATCH] tests: Add a latency measurement test

2013-05-21 Thread Arun Raghavan
On Tue, 2013-05-21 at 17:13 +0200, Peter Meerwald wrote: Hello, This test is intended to measure real latency by playing a sample to a sink and capturing that over a loopback interface. The loopback can either be physical (cable running from headphone out to line in) or virtual

[pulseaudio-discuss] [ANNOUNCE] PulseAudio 3.99.2

2013-05-22 Thread Arun Raghavan
- if anyone can see that issue, it would be good to resolve before we do the final release. Please do package/test this. If things look smooth, I'd like to do 4.0 next week. Cheers, Arun git shortlog v3.99.1..v3.99.2 Arun Raghavan (7): equalizer: Fix compiler warning due use of 'signal

[pulseaudio-discuss] [PATCH 1/4] tests: Add a latency measurement test

2013-05-23 Thread Arun Raghavan
/tests/lo-latency-test.c b/src/tests/lo-latency-test.c new file mode 100644 index 000..2bb6678 --- /dev/null +++ b/src/tests/lo-latency-test.c @@ -0,0 +1,446 @@ +/*** + This file is part of PulseAudio. + + Copyright 2013 Collabora Ltd. + Author: Arun Raghavan arun.ragha...@collabora.co.uk

[pulseaudio-discuss] [PATCH 2/4] tests: Make loopback latency test run with rt priority

2013-05-23 Thread Arun Raghavan
--- src/tests/lo-latency-test.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/tests/lo-latency-test.c b/src/tests/lo-latency-test.c index 2bb6678..c22affc 100644 --- a/src/tests/lo-latency-test.c +++ b/src/tests/lo-latency-test.c @@ -39,6 +39,9 @@ #include pulse/pulseaudio.h

[pulseaudio-discuss] [PATCH 4/4] tests: Factor out loopback setup code

2013-05-23 Thread Arun Raghavan
@@ -0,0 +1,328 @@ +/*** + This file is part of PulseAudio. + + Copyright 2013 Collabora Ltd. + Author: Arun Raghavan arun.ragha...@collabora.co.uk + + PulseAudio is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published

Re: [pulseaudio-discuss] skype sound effects create a buzzing noise

2013-05-23 Thread Arun Raghavan
On Thu, 2013-05-23 at 19:22 +0200, Julian Sikorski wrote: Hi, this was annoying me long enough that I have decided to investigate. Basically, I am using skype-4.2 and pulseaudio-2.1 on fedora 18 x86_64. Whenever skype produces a sound event (incoming message bleep, logging in sound),

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

2013-05-27 Thread Arun Raghavan
On Mon, 2013-05-27 at 20:57 +0200, David Henningsson wrote: Well, as some of you already know, Canonical is currently working on an Ubuntu phone product. Part of that is a well working audio stack. In short, we're trying to build something where we can run as much of standard Ubuntu as

Re: [pulseaudio-discuss] [PATCH] Add a news file

2013-05-30 Thread Arun Raghavan
On Mon, 2013-05-27 at 18:58 +0300, Tanu Kaskinen wrote: From: Tanu Kaskinen tanu.kaski...@intel.com --- NEWS | 110 +++ 1 file changed, 110 insertions(+) create mode 100644 NEWS Out of curiosity, any reason to pick this

Re: [pulseaudio-discuss] [PATCH] Add a news file

2013-06-03 Thread Arun Raghavan
On Fri, 2013-05-31 at 15:10 +0300, Tanu Kaskinen wrote: Changes in v3: * Rewrote the mixer change notes. * Added the low-latency fix note. --- Tanu and I spoke of this on IRC. I feel a shorter NEWS file would be more easy for most people to grok. I don't want to let this hold up the

[pulseaudio-discuss] [ANNOUNCE] PulseAudio 4.0

2013-06-03 Thread Arun Raghavan
version Albert Zeyer (1): semaphore-osx: posix implementation based on named semaphores Arun Raghavan (18): tests: Minor alsa-time-test improvments core: Fix up some debug logging stream: Make it easier to enable debug output alsa: Minor debug log addition

[pulseaudio-discuss] 'next' is EOL for now

2013-06-03 Thread Arun Raghavan
Hi, Now that 4.0 is out the door, I've merged next on top of master and pushed out all the changes. The next branch is now defunct until the next release. I'm going to delete it tomorrow unless someone has a good reason not to. Cheers, Arun ___

[pulseaudio-discuss] [PATCH] alsa-mixer: Disable headphones when playing to speakers

2013-06-10 Thread Arun Raghavan
Assume that the headphone port volume is lower than the speaker volume. When plugging in headphones, if the path is active, while the jack is being inserted and before it is actually detected as being plugged in, it will still receive the signal being played (which is at a higher volume than it

Re: [pulseaudio-discuss] skype sound effects create a buzzing noise

2013-06-12 Thread Arun Raghavan
On Tue, 2013-06-04 at 21:44 +0200, Julian Sikorski wrote: W dniu 27.05.2013 21:56, Julian Sikorski pisze: W dniu 27.05.2013 05:36, Arun Raghavan pisze: On Thu, 2013-05-23 at 20:26 +0200, Julian Sikorski wrote: W dniu 23.05.2013 20:10, Julian Sikorski pisze: W dniu 23.05.2013 19:32, Arun

[pulseaudio-discuss] [RFC] [PATCH] alsa: Extract supported formats from HDMI ELD

2013-06-14 Thread Arun Raghavan
+1,30 @@ +/*** + This file is part of PulseAudio. + + Copyright 2013 Collabora Ltd. + Author: Arun Raghavan arun.ragha...@collabora.co.uk + + PulseAudio is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published

Re: [pulseaudio-discuss] [RFC] [PATCH] alsa: Extract supported formats from HDMI ELD

2013-06-14 Thread Arun Raghavan
On Fri, 2013-06-14 at 14:41 +0200, David Henningsson wrote: On 06/14/2013 01:56 PM, Arun Raghavan wrote: This parses the CEA SAD field from the ELD data we get from HDMI receivers. The interesting bits are related to non-PCM formats, since this allows us to automaticall detect what

[pulseaudio-discuss] [PATCH 1/2] mainloop: Document need for mainloop lock around pa_mainloop_api_once

2013-06-17 Thread Arun Raghavan
This needs us to expose a bit of implementation detail, but this seems to be the cleanest way without an API change. The specific problem is that pa_mainloop_api_once() needs to first create a defer event and then set its destroy callback. If the defer event is completed before the callback is

Re: [pulseaudio-discuss] [PATCH 2/2] zeroconf: Fix pa_mainloop_api_once usage

2013-06-18 Thread Arun Raghavan
On Mon, 2013-06-17 at 18:16 +0530, Arun Raghavan wrote: We need the mainloop lock to be taken around pa_mainloop_api_once() to prevent an assert due to the defer event creation and setting of the destroy callback not being performed atomically. --- No comments, so pushed both of these out now

Re: [pulseaudio-discuss] [PATCH 2/2] zeroconf: Fix pa_mainloop_api_once usage

2013-06-19 Thread Arun Raghavan
On Tue, 2013-06-18 at 20:45 +0300, Tanu Kaskinen wrote: On Tue, 2013-06-18 at 21:06 +0530, Arun Raghavan wrote: On Mon, 2013-06-17 at 18:16 +0530, Arun Raghavan wrote: We need the mainloop lock to be taken around pa_mainloop_api_once() to prevent an assert due to the defer event creation

Re: [pulseaudio-discuss] *Still* receiving emails despite unsubbing!

2013-06-19 Thread Arun Raghavan
On Wed, 2013-06-19 at 13:33 +0100, Sharon Kimble wrote: Why am I still receiving emails from this list even though I unsubbed over a fortnight ago, and received the confirmatory email from the bot please? Presumably because something went wrong in that unsub request. I'll manually unsubscribe

[pulseaudio-discuss] [PATCH] doc: Update LICENSE to reflect optional libpulse dep on libdbus

2013-06-24 Thread Arun Raghavan
--- LICENSE | 7 +++ 1 file changed, 7 insertions(+) diff --git a/LICENSE b/LICENSE index cd5e42f..80fc08c 100644 --- a/LICENSE +++ b/LICENSE @@ -13,6 +13,13 @@ Since the PulseAudio daemon, tests, various utilities/helpers and the modules link to libpulsecore and/or the afore mentioned

Re: [pulseaudio-discuss] [PATCH] doc: Update LICENSE to reflect optional libpulse dep on libdbus

2013-06-25 Thread Arun Raghavan
On Tue, 2013-06-25 at 08:57 +0200, David Henningsson wrote: Hmm, are there optional dependencies to libdbus that cause it to become GPL, or why would anyone choose GPL for libdbus? I believe some folks don't like the Academic Free License. This might explain the reasons:

Re: [pulseaudio-discuss] [alsa-devel] PulseAudio and softvol

2013-06-26 Thread Arun Raghavan
On Thu, 2013-05-16 at 08:31 +0200, David Henningsson wrote: On 05/15/2013 06:28 PM, Takashi Iwai wrote: [...] Yes, but the invocation of PCM softvol isn't guaranteed to be first before the reference to the already existing user ctl element. snd_mixer_open() can be called before that. So

  1   2   3   4   5   6   7   8   9   10   >