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

2012-12-03 Thread Mikel Astiz
Hi Tanu, On Tue, Dec 4, 2012 at 1:43 AM, Tanu Kaskinen wrote: > On Mon, 2012-12-03 at 10:57 +0100, Mikel Astiz wrote: >> On Sun, Dec 2, 2012 at 4:05 AM, Tanu Kaskinen wrote: >> > On Thu, 2012-11-29 at 14:33 +0100, Mikel Astiz wrote: >> >> On Thu, Nov 29, 2012 at 4:55 AM, Tanu Kaskinen wrote: >>

Re: [pulseaudio-discuss] [PATCH v1 0/3] bluetooth: Headset port availability

2012-12-03 Thread Tanu Kaskinen
On Sun, 2012-12-02 at 22:33 +0200, Janos Kovacs wrote: > Hi, > > On Wed, Nov 28, 2012 at 9:51 PM, Tanu Kaskinen wrote: > > > I've changed my mind about the last point. Ports are not really that > > close to the ideal "routing endpoint" concept. For example, on cellular > > phones, pulseaudio may

Re: [pulseaudio-discuss] gnome-shell hangs, waiting for pulse-audio

2012-12-03 Thread Tanu Kaskinen
On Tue, 2012-12-04 at 03:47 +0200, Tanu Kaskinen wrote: > Hmm... I checked when the operation state is set to DONE, and it's not > done until after calling the callback. So, if the kernel schedules the > main thread after the pa_threaded_mainloop_signal() call, but before the > operation state is s

Re: [pulseaudio-discuss] gnome-shell hangs, waiting for pulse-audio

2012-12-03 Thread Tanu Kaskinen
On Sun, 2012-12-02 at 20:20 +0100, Henrik /KaarPoSoft wrote: > On 12/02/12 05:49, Tanu Kaskinen wrote: > > The original backtrace only has the trace for one thread, the thread > > where the libpulse mainloop runs isn't shown. Could you take a backtrace > > again, this time with "thread apply all bt

Re: [pulseaudio-discuss] [PATCH v1 0/3] Request audio-stream (SCO) on profile switch?

2012-12-03 Thread Tanu Kaskinen
On Mon, 2012-12-03 at 11:03 +0100, Mikel Astiz wrote: > From: Mikel Astiz > > This second proposal is similar to v0 with the following improvements as > suggested by Tanu: > 1. setup_stream() is called directly from thread_func() to avoid a race > condition. > 2. The profile switch to "hsp" or

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

2012-12-03 Thread Tanu Kaskinen
On Mon, 2012-12-03 at 10:57 +0100, Mikel Astiz wrote: > On Sun, Dec 2, 2012 at 4:05 AM, Tanu Kaskinen wrote: > > On Thu, 2012-11-29 at 14:33 +0100, Mikel Astiz wrote: > >> On Thu, Nov 29, 2012 at 4:55 AM, Tanu Kaskinen wrote: > >> > so that INIT->IDLE transitions will work too, if we decide some

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

2012-12-03 Thread David Henningsson
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 this sound card is that seems to only work at a sample rate of 46875 Hz.

[pulseaudio-discuss] get `ags` working with pulseaudio

2012-12-03 Thread Joël Krähemann
Hi, I develop a music sequencer called Advanced Gtk+ Sequencer. It currently just supports output to alsa device. I've tried to run it with pulseaudio's alsa wrapper but there are at least two issues. * First, `ags` crashes after a while. It runs approximately four minutes. * Second, the output i

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

2012-12-03 Thread Damir Jelić
On Mon, Dec 03, 2012 at 11:25:19AM +0800, Raymond Yau wrote: > >this create a extreme large array for those drivers which support >SNDRV_PCM_RATE_CONTINUOUS > I wasn't aware that some cards support continuous rates, Arun's fix should work better in that case. Thanks. ___

[pulseaudio-discuss] [PATCH v1 3/3] bluetooth: Request headset audio during profile switch

2012-12-03 Thread Mikel Astiz
From: Mikel Astiz When a headset is having a profile switch, we can either leave the SCO state unmodified (as it was before this patch) or we can alternatively request it (as older versions of PA). This patch tries to avoid a potential regression in case a module such as module-suspend-on-idle i

[pulseaudio-discuss] [PATCH v1 2/3] bluetooth: Do not setup stream before thread starts

2012-12-03 Thread Mikel Astiz
From: Mikel Astiz bt_transport_acquire() might get called from the main thread, in case the IO thread hasn't been started yet. In this case, we should not call setup_stream() since this is going to be called in the beginning of thread_func(). --- src/modules/bluetooth/module-bluetooth-device.c |

[pulseaudio-discuss] [PATCH v1 1/3] bluetooth: Trivially refactor to call setup_stream() directly

2012-12-03 Thread Mikel Astiz
From: Mikel Astiz If the transport is already acquired and the stream needs to be started, call setup_stream() directly instead of bt_transport_acquire(u, TRUE). Both calls are identical in these conditions, with the exception of the log trace which has now been moved to setup_stream(). --- src/

[pulseaudio-discuss] [PATCH v1 0/3] Request audio-stream (SCO) on profile switch?

2012-12-03 Thread Mikel Astiz
From: Mikel Astiz This second proposal is similar to v0 with the following improvements as suggested by Tanu: 1. setup_stream() is called directly from thread_func() to avoid a race condition. 2. The profile switch to "hsp" or "a2dp" now fails if the bt_transport_acquire() fails. This avoids t

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

2012-12-03 Thread Mikel Astiz
Hi Tanu, On Sun, Dec 2, 2012 at 4:05 AM, Tanu Kaskinen wrote: > On Thu, 2012-11-29 at 14:33 +0100, Mikel Astiz wrote: >> Hi Tanu, >> >> On Thu, Nov 29, 2012 at 4:55 AM, Tanu Kaskinen wrote: >> > On Wed, 2012-11-28 at 19:20 +0100, Mikel Astiz wrote: >> >> From: Mikel Astiz >> >> >> >> The sink c

[pulseaudio-discuss] Nvidia HDMI audio 5.1 surround sound

2012-12-03 Thread Matthew Robinson
Hi, I have an Asus Nvidia GeForce 210 graphics card and am using the HDMI cable connected to my TV ( which connects to the surround sound unit ). I've only managed to get this to work with the stereo output. If I use any of the 5.1 options it's just silent ( although the signal monitor in paman g

Re: [pulseaudio-discuss] jackdbus module, pulse fails to conform on device reservation API

2012-12-03 Thread Brendan Jones
On 12/02/2012 11:42 PM, Tanu Kaskinen wrote: On Wed, 2012-11-28 at 23:24 +0100, Brendan Jones wrote: On 11/24/2012 02:06 PM, Tanu Kaskinen wrote: On Mon, 2012-11-19 at 21:45 +0100, Brendan Jones wrote: I'm seeing this in virtual box under KDE (also Fedora 18 / pulseaudio 2.1). I guess it sho