Re: [pulseaudio-discuss] latency - from command line and from code

2013-06-10 Thread Perry Kivolowitz
On 6/10/2013 11:37 AM, David Henningsson wrote: Hi, The latency is set in the call to pa_simple_new, the pa_buffer_attr parameter, and in that struct, then set tlength to your desired playback latency (in bytes). For input you set the fragsize parameter instead. As for how to write configu

Re: [pulseaudio-discuss] latency - from command line and from code

2013-06-10 Thread David Henningsson
On 06/09/2013 01:34 AM, Perry Kivolowitz wrote: Hi All, I have spent a delightful day Googling and reading and have come up empty - probably due to my own fault, true. My test application uses pa_simple to read and write to a USB audio device. Output appears precisely one second after input be

Re: [pulseaudio-discuss] [PATCH 1/2] Log: Set log target improvement

2013-06-10 Thread Tanu Kaskinen
On Mon, 2013-05-20 at 23:49 +0800, Shuai Fan wrote: > --- Last time I complained that the commit message didn't properly explain what improvements to the set-log-target functionality are being done. It seems that you put that information to the cover letter. It really should be in the patch commit

Re: [pulseaudio-discuss] [PATCH] alsa-mixer: Add "Line Out" path

2013-06-10 Thread Tanu Kaskinen
On Tue, 2013-06-04 at 15:41 +0200, David Henningsson wrote: > If there is a "Line Out" jack present, then add this path. The fallback > analog-output will be a subset of this path and removed. > > I only use the "Line Out Jack" or "Line Out Front Jack" for actual jack > detection - without anythin

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

2013-06-10 Thread Tanu Kaskinen
On Mon, 2013-06-10 at 18:17 +0530, Arun Raghavan wrote: > 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

Re: [pulseaudio-discuss] [BUG] Using bluez 5.5 & pulseaudio a bluetooth headset cannot be used as a recording device.

2013-06-10 Thread Alexander Winnig
Am 10.06.2013 15:12, schrieb Mikel Astiz: ks, no solution in sight so far. Sigh. As pointed out before, it seems your specific headsets presents issues with BlueZ and/or PulseAudio, and I would suggest you test a different headset to confirm this. Can't I just properly monitor it instead of fish

Re: [pulseaudio-discuss] [PATCH] core-util: Clamp RLIMIT_RTTIME to what RealtimeKit accepts

2013-06-10 Thread Tanu Kaskinen
On Sun, 2013-06-09 at 18:47 +0200, Jan Alexander Steffens (heftig) wrote: > From: "Jan Alexander Steffens (heftig)" > > In the default configuration, PulseAudio's rlimit-rttime is set to > 100 (100%), which is higher than what RealtimeKit requires from > its clients (20, 20%). > > Make a

Re: [pulseaudio-discuss] [BUG] Using bluez 5.5 & pulseaudio a bluetooth headset cannot be used as a recording device.

2013-06-10 Thread Mikel Astiz
Hi Alex, On Sat, Jun 8, 2013 at 8:45 PM, Alexander Winnig wrote: > So I managed to install pulseaudio 4.0 including sbc, speex, bluez and d-bus > and I encounter the same problem. I installed D-feet to monitor dbus. This > didn't really help move things forward as there's only listed what I alrea

[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 wil