Re: [pulseaudio-discuss] Profile switching on headphone plugging (was: LFE filter)

2015-02-06 Thread Raymond Yau
Hrm, that is actually a good question. In theory, I would expect module-switch-on-port-available to switch profiles between 2.0 and 2.1 as headphones are plugged in and out, but in practice, - I'm not 100% sure if our don't switch to HDMI might prevent switching from 2.1 to 2.0 when

Re: [pulseaudio-discuss] Profile switching on headphone plugging

2015-02-06 Thread Alexander E. Patrakov
07.02.2015 10:22, Raymond Yau wrote: Hrm, that is actually a good question. In theory, I would expect module-switch-on-port-available to switch profiles between 2.0 and 2.1 as headphones are plugged in and out, but in practice, - I'm not 100% sure if our don't switch to HDMI might

[pulseaudio-discuss] [PATCH] alsa: Don't try to use ELD controls with UCM

2015-02-06 Thread Tanu Kaskinen
This fixes a crash that occurred when trying to access non-existent port data. Doing this: pa_alsa_port_data *data = PA_DEVICE_PORT_DATA(port); is not a good idea when using UCM, because in the UCM mode ports don't have any data, so the data pointer points to some random memory. ---

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-06 Thread Georg Chini
On 06.02.2015 09:42, Georg Chini wrote: On 06.02.2015 08:17, Alexander E. Patrakov wrote: First of all, thanks for a quick and detailed answer. 06.02.2015 02:02, Georg Chini wrote: On 05.02.2015 16:59, Alexander E. Patrakov wrote: 01.02.2015 03:43, Georg Chini wrote: This is the final

Re: [pulseaudio-discuss] [PATCH v4] Make module loopback honor requested latency

2015-02-06 Thread Alexander E. Patrakov
06.02.2015 14:56, Georg Chini wrote: One more thing: There is a systematic error in the adjust_time I could not work around without introducing too much overhead. The latency snapshot varies widely in the execution time, I measured values between 50 us and more than 60 ms. So if the extreme

Re: [pulseaudio-discuss] [RFC PATCH 0/6] LFE filter

2015-02-06 Thread David Henningsson
On 2015-02-04 18:45, Alexander E. Patrakov wrote: 29.01.2015 03:14, David Henningsson wrote: Hi! Hui and I have been working on some LFE filter patches lately, and this is our first draft for review/feedback. First, I have greedily stolen the math from CRAS, because CRAS is BSD and as I

[pulseaudio-discuss] Profile switching on headphone plugging (was: LFE filter)

2015-02-06 Thread Alexander E. Patrakov
06.02.2015 16:41, David Henningsson wrote: Hrm, that is actually a good question. In theory, I would expect module-switch-on-port-available to switch profiles between 2.0 and 2.1 as headphones are plugged in and out, but in practice, - I'm not 100% sure if our don't switch to HDMI might

Re: [pulseaudio-discuss] [RFC PATCH 0/6] LFE filter

2015-02-06 Thread Alexander E. Patrakov
06.02.2015 16:41, David Henningsson wrote: On 2015-02-04 18:45, Alexander E. Patrakov wrote: Sorry for a possibly-stupid question, but... Which part of PulseAudio is supposed to disable the effect if the user plugs headphones in? Or is it yet to be written? Hrm, that is actually a good