Re: [pulseaudio-discuss] how to make nted work with pulseaudio

2009-12-31 Thread David Henningsson
Rustom Mody wrote: Well one correction (mine and the wikis :-) The wiki talks of changing /etc/default/timidity.cfg There is no such file. The 2 files are /etc/timidity/timidity.cfg and /etc/default/timidity Evidently the wiki is referring to the second whereas I took it to be the

Re: [pulseaudio-discuss] Accessing audio as root

2010-01-01 Thread David Henningsson
Bill Cox wrote: On Thu, Dec 24, 2009 at 12:27 PM, Lennart Poettering lenn...@poettering.net wrote: We actually cover that inside of gdm, where you can get access to the boot messages. Lennart Speakup doesn't stop reading when the user logs into Gnome. When we type Ctrl+Alt+F1, we get a

Re: [pulseaudio-discuss] Accessing audio as root

2010-01-02 Thread David Henningsson
(Answer to both Colin and Bill) Colin Guthrie wrote: 'Twas brillig, and Bill Cox at 02/01/10 15:03 did gyre and gimble: Hi, David. On Sat, Jan 2, 2010 at 1:08 AM, David Henningsson launchpad@epost.diwic.se wrote: I was just thinking, and this idea is perhaps not 100% thought through

[pulseaudio-discuss] RtKit help

2010-01-04 Thread David Henningsson
Hi, I'm trying to get RtKit for my application up and running, and in the lack of an rtkit mailing list I'm using this one as the closest I could find :-) I'm using the reference implementation almost unmodified and end up with an org.freedesktop.DBus.Error.AccessDenied - Operation not permitted

Re: [pulseaudio-discuss] RtKit help

2010-01-05 Thread David Henningsson
On Tue, 05.01.10 07:39, David Henningsson (launchpad@epost.diwic.se) wrote: Hi, I'm trying to get RtKit for my application up and running, and in the lack of an rtkit mailing list I'm using this one as the closest I could find :-) I'm using the reference implementation almost

[pulseaudio-discuss] pacmd get-default-sink?

2010-01-06 Thread David Henningsson
Hi, is there a way, e g via pacmd, to get the current default/fallback playback (and record) device? There is no get-default-sink command. List-sinks shows a priority item, is this something I can reliably use, i e take the highest value to get the current fallback device? // David

Re: [pulseaudio-discuss] pacmd get-default-sink?

2010-01-06 Thread David Henningsson
Colin Guthrie wrote: 'Twas brillig, and David Henningsson at 06/01/10 11:33 did gyre and gimble: is there a way, e g via pacmd, to get the current default/fallback playback (and record) device? There is no get-default-sink command. List-sinks shows a priority item, is this something I can

[pulseaudio-discuss] ESI Juli@ inoptimal device.description

2010-01-07 Thread David Henningsson
In the spirit of a recent thread here, I have a similar minor problem. I have an ESI Juli@ card, which PulseAudio names as VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller. I'd prefer ESI Juli@ as ALSA suggests, and I assume most other ESI Juli@ users would also prefer that. I can

Re: [pulseaudio-discuss] ESI Juli@ inoptimal device.description

2010-01-07 Thread David Henningsson
Ng Oon-Ee wrote: On Thu, 2010-01-07 at 19:51 +0100, David Henningsson wrote: In the spirit of a recent thread here, I have a similar minor problem. I have an ESI Juli@ card, which PulseAudio names as VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller. I'd prefer ESI Juli@ as ALSA

[pulseaudio-discuss] [PATCH] pulse: Fix invalid buffer pointer return value

2010-01-09 Thread David Henningsson
: https://bugs.launchpad.net/bugs/485488 The patch is for the alsa-plugins tree at git.alsa-projects.org. // David From 2e9f8fa4d6f7a0cabe5aea1cbfa98980cdfb6d84 Mon Sep 17 00:00:00 2001 From: David Henningsson di...@ubuntu.com Date: Sat, 9 Jan 2010 09:09:14 +0100 Subject: [PATCH] pulse: Fix

Re: [pulseaudio-discuss] [PATCH] pulse: Fix invalid buffer pointer return value

2010-01-10 Thread David Henningsson
'Twas brillig, and David Henningsson at 09/01/10 09:00 did gyre and gimble: The pulse ALSA plugin has been known, for a while, to not work properly, causing underruns, hangs etc. I sat down yesterday trying to figure it out, and I'm pretty certain this patch improves the situation, but I

Re: [pulseaudio-discuss] [PATCH] pulse: Fix invalid buffer pointer return value

2010-01-10 Thread David Henningsson
David Henningsson wrote: 'Twas brillig, and David Henningsson at 09/01/10 09:00 did gyre and gimble: The pulse ALSA plugin has been known, for a while, to not work properly, causing underruns, hangs etc. I sat down yesterday trying to figure it out, and I'm pretty certain this patch improves

Re: [pulseaudio-discuss] [PATCH] pulse: Fix invalid buffer pointer return value

2010-01-14 Thread David Henningsson
Lennart Poettering wrote: On Sat, 09.01.10 10:00, David Henningsson (launchpad@epost.diwic.se) wrote: The pulse ALSA plugin has been known, for a while, to not work properly, causing underruns, hangs etc. I sat down yesterday trying to figure it out, and I'm pretty certain this patch

Re: [pulseaudio-discuss] [PATCH] pulse: Fix invalid buffer pointer return value

2010-01-15 Thread David Henningsson
David Henningsson wrote: Lennart Poettering wrote: On Sat, 09.01.10 10:00, David Henningsson (launchpad@epost.diwic.se) wrote: The pulse ALSA plugin has been known, for a while, to not work properly, causing underruns, hangs etc. I sat down yesterday trying to figure it out, and I'm

[pulseaudio-discuss] Alsa-plugins-pulse revisited: remove underrun handling

2010-02-02 Thread David Henningsson
Somewhat due to the lack of feedback and better ideas in this forum, I'm proposing Ubuntu to remove the underrun handling in alsa-plugins-pulse. If you think this is a bad idea and/or have a better one, now is the time to speak up. The reasoning behind this is: 1) If pulseaudio gets an underrun,

[pulseaudio-discuss] [PATCH] rtkit: Add client-side testing of properties

2010-02-07 Thread David Henningsson
To complete the previous patch that implemented properties in rtkit, here's the client-side code that tests that the properties work, and make them more accessible for the casual C programmer. // David From 309659d47396544cd2b8d97ac5dac4460f543723 Mon Sep 17 00:00:00 2001 From: David Henningsson

Re: [pulseaudio-discuss] system-wide daemon

2010-02-09 Thread David Henningsson
Colin Guthrie wrote: 'Twas brillig, and Jeremy Nickurak at 09/02/10 19:24 did gyre and gimble: This whole thing has been discussed to death, and I really don't feel like being drawn into the whole thing again. From what I've read here, I'm afraid it's going to keep coming up until we solve it

Re: [pulseaudio-discuss] system-wide daemon

2010-02-09 Thread David Henningsson
Colin Guthrie wrote: 'Twas brillig, and David Henningsson at 09/02/10 21:52 did gyre and gimble: I wrote down a few use cases here, I'm sure there are more: https://wiki.ubuntu.com/BluePrints/multiuser-soundcards-pulseaudio For user Foo, the sound card sounds like it's dedicated for Foo

Re: [pulseaudio-discuss] system-wide daemon

2010-02-11 Thread David Henningsson
Lennart Poettering wrote: On Tue, 09.02.10 22:52, David Henningsson (launchpad@epost.diwic.se) wrote: There are just too many people for where the ordinary PA setup (all soundcards are of exclusive use to the person logged into the current X session) is not acceptable, and worse

Re: [pulseaudio-discuss] system-wide daemon

2010-02-11 Thread David Henningsson
Lennart Poettering wrote: On Wed, 10.02.10 07:14, David Henningsson (launchpad@epost.diwic.se) wrote: But printers are more of a system-wide resource, and for some use cases, so is the soundcard. This is nonsense. I am not sure how your ears are constructed, but on a multiseat

Re: [pulseaudio-discuss] What is latency? And other related questions

2010-02-14 Thread David Henningsson
Tristin Celestin wrote: Is there a downside to making a version of pa_stream_writable_size available in the simple API? Good question. In your use case, can see the use for a function returning how many bytes that can be written to pa_simple_write without pa_simple_write blocking. Why

Re: [pulseaudio-discuss] Frequent trivially-reproducible client hangs with stable-queue PA

2010-02-23 Thread David Henningsson
well. (I'd use the ALSA-PA plugin, but as reported earlier, this doesn't work either, stuttering like crazy and frequently locking up. Even with this patch? http://launchpadlibrarian.net/37640450/0001-pulse-Fix-buffer-pointer-issues-improves-recovering-.patch // David

Re: [pulseaudio-discuss] Invalid dB data from drivers

2010-02-23 Thread David Henningsson
Heya, just wanted to point everybody to this new canned response type note I just added to the wiki: http://pulseaudio.org/wiki/BadDecibel I wrote a little tool that can be used to track invalid dB data exposed by ALSA drivers. Incorrect dB data usually means that playing a stream in PA

[pulseaudio-discuss] [PATCH] Fix crash on jack server shutdown

2010-03-14 Thread David Henningsson
Chen: let me know if you want this patch as a merge proposal as well. There is no bug in Launchpad AFAIK. From fa2dcce3201753bff94adba99b6bc36a7eaf57f9 Mon Sep 17 00:00:00 2001 From: David Henningsson di...@ubuntu.com Date: Sun, 14 Mar 2010 20:20:12 +0100 Subject: [PATCH] Fix crash on jack server

Re: [pulseaudio-discuss] [PATCH] Fix crash on jack server shutdown

2010-03-22 Thread David Henningsson
Lennart Poettering wrote: On Sun, 14.03.10 20:50, David Henningsson (launchpad@epost.diwic.se) wrote: On sink unlinking, existing sink inputs are moved, which in turn calls a get latency callback, which references the jack client. Therefore, make sure the sink is unlinked before

Re: [pulseaudio-discuss] [PATCH] Fix crash on jack server shutdown

2010-03-25 Thread David Henningsson
Lennart Poettering wrote: On Tue, 23.03.10 00:36, David Henningsson (launchpad@epost.diwic.se) wrote: What is missing is that the jack loop does not depend on the PA sink to be around resp. the PA IO loop doesn't call into jack when it is dead. If either of that is implemented

Re: [pulseaudio-discuss] Sources only working when pavucontrol is running

2010-04-07 Thread David Henningsson
Brendon Costa wrote: Hi again, Thanks for the info on the default devices. I have it working fine now. However I have run into another problem. When I run my application, the sinks are working fine and audio sounds good. However the sources are not working correctly. If i run my app, i

Re: [pulseaudio-discuss] [PATCH] pulse: Fix invalid buffer pointer return value

2010-04-18 Thread David Henningsson
Colin Guthrie wrote: 'Twas brillig, and David Henningsson at 16/01/10 07:07 did gyre and gimble: David Henningsson wrote: Lennart Poettering wrote: On Sat, 09.01.10 10:00, David Henningsson (launchpad@epost.diwic.se) wrote: The pulse ALSA plugin has been known, for a while, to not work

Re: [pulseaudio-discuss] [PATCH] pulse: Fix invalid buffer pointer return value

2010-04-20 Thread David Henningsson
Nix wrote: On 18 Apr 2010, David Henningsson spake thusly: Both of them were tested by Daniel, and AFAIK neither have been applied upstream. These are both alsa-plugin things, right? Yes. In that case, they can't fix the hangs I reported back in February, since these are hangs

Re: [pulseaudio-discuss] rtkit: add pid as argument

2010-04-25 Thread David Henningsson
Maarten Lankhorst wrote: Well, the use case would be wine's wineserver. On windows programs usually set audio threads to THREAD_PRIORITY_TIME_CRITICAL to indicate that they have to have a certain priority. But in windows thread handles are global, so doing it inside wine's 'ntdll' library

Re: [pulseaudio-discuss] rtkit: add pid as argument

2010-05-06 Thread David Henningsson
On 2010-04-25 22:11, Lennart Poettering wrote: On Sun, 25.04.10 21:41, David Henningsson (launchpad@epost.diwic.se) wrote: which handle corresponds to the thread, or even if that handle is local or not. Wineserver controls this information so all requests that involve handles involve

Re: [pulseaudio-discuss] Problems with mplayer in Ubuntu 10.04

2010-05-09 Thread David Henningsson
On 2010-05-09 13:06, Mihai Sucan wrote: The problem is with mplayer. I cannot play *any* sound with it, and worse, it causes PulseAudio to go bonkers. Once I start mplayer, I cannot hear any sound, from any application. I tested mplayer from the default Ubuntu repositories [1] and a much

Re: [pulseaudio-discuss] Help with Udev Please

2010-05-18 Thread David Henningsson
I just upgraded from fc11 to fc12. With fc12 comes PA 0.9.21. Pulseaudio fails to detect any of my audio cards, I have two cards. I'm positive the problem is with UDEV. When I boot the system, I'm getting a cryptic message from udev about some {ATTR ... uvent} file not found. I'm having

Re: [pulseaudio-discuss] [PATCH] M-audio fasttrack pro: fix input device string

2010-06-01 Thread David Henningsson
On 2010-05-25 01:26, Lennart Poettering wrote: On Wed, 19.05.10 01:00, David Henningsson (launchpad@epost.diwic.se) wrote: Heya, Sometimes the input device shows up at device ID 0, and sometimes device ID 1, so try both. Humpf. Why is that so? The driver authors presumably have

Re: [pulseaudio-discuss] Weird data flow (not waveform)

2010-06-15 Thread David Henningsson
On 2010-06-15 20:49, José Tomás Tocino García wrote: I think that's not the problem, because Gnuplot does not expect a exact format, it renders whatever it gets. The thing is, a usual waveform gets positive and negative values all the time. Sometimes that's what some DSP algorithms use to

Re: [pulseaudio-discuss] pulseaudio debug mode

2010-07-23 Thread David Henningsson
On 2010-07-23 03:04, Chris wrote: What is the best way to start PA for debugging and still have all the usual clients running? pacmd set-log-level 4 ...if your log target is set to syslog, just watch it grow :-) -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic

Re: [pulseaudio-discuss] Auto switching outputs

2010-08-07 Thread David Henningsson
, and Colin's work in progress is probably a more complete solution, once it is easily accessible, but I think it does what you want for now. Michael, will you update the ticket with the changes you did yesterday? -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic

[pulseaudio-discuss] Wait on sound cards before starting PA, and stream routing

2010-08-16 Thread David Henningsson
for everyday usage? -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

[pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

2010-08-17 Thread David Henningsson
on fragment-size, or something else), but this patch at least fixes the immediate problem, causing crackling output on (at least) one machine. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic From 87e8a04f029c18cdb5abebb4f3f3c2100d42107a Mon Sep 17 00:00:00 2001 From: David Henningsson

Re: [pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

2010-08-17 Thread David Henningsson
2010-08-17 20:03, Colin Guthrie skrev: 'Twas brillig, and David Henningsson at 17/08/10 19:00 did gyre and gimble: The tsched watermark variable was incorrectly used even for sinks with timer scheduling disabled, causing XRUNs on every rewind. This patch sets a fixed margin of 20 msec

Re: [pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

2010-08-18 Thread David Henningsson
2010-08-17 21:10, Colin Guthrie skrev: 'Twas brillig, and David Henningsson at 17/08/10 19:20 did gyre and gimble: According to what you say in that bug, you could reproduce it yourself by setting tsched=0, so I'm eager to hear if this fix fixes your issue as well. Yeah I was able

Re: [pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

2010-08-18 Thread David Henningsson
. Rewind is not something used every second or so (or at least, shouldn't be). -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo

Re: [pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

2010-08-19 Thread David Henningsson
2010-08-19 07:32, Tanu Kaskinen skrev: On Wed, 2010-08-18 at 22:55 +0200, David Henningsson wrote: Yes the safeguard is needed in both cases, timer scheduling or good ol' audio interrupts. This comes from limitations of the snd_pcm_rewind() routine, you can rewind the appl_ptr all the way

Re: [pulseaudio-discuss] Version numbers rollup releases

2010-08-19 Thread David Henningsson
. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

2010-09-02 Thread David Henningsson
. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic From 5ae6c880e20adfa0f372f2caf293e70253651c5a Mon Sep 17 00:00:00 2001 From: David Henningsson david.hennings...@canonical.com Date: Thu, 2 Sep 2010 08:22:36 +0200 Subject: [PATCH] ALSA: Fix calculation of rewind margins For non-tsched

Re: [pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

2010-09-02 Thread David Henningsson
2010-09-02 10:41, Colin Guthrie skrev: 'Twas brillig, and David Henningsson at 02/09/10 07:29 did gyre and gimble: 2010-09-01 20:06, pl bossart skrev: Probably either one will work, but if we're about to release 0.9.22 (heard something from Lennart yet?), I suggest we go with my version

Re: [pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

2010-09-03 Thread David Henningsson
. As for the watermark usage, I admit to not knowing enough of CPU scheduling and wake-up times to either prove Pierre right or wrong. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de

Re: [pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

2010-09-07 Thread David Henningsson
On 2010-09-04 14:10, Colin Guthrie wrote: 'Twas brillig, and David Henningsson at 03/09/10 09:46 did gyre and gimble: 2010-09-02 16:06, pl bossart skrev: Agreed: You can pick those two patches, and then we add a third patch to both branches, which brings back the watermark for tsched devices

Re: [pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

2010-09-08 Thread David Henningsson
the persistent crackling? The second is that you could experience underflows if you don't do the update fast enough. By enabling logs you should be able to find out if there are real underflows. Exactly. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic

Re: [pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

2010-09-13 Thread David Henningsson
On 2010-09-04 14:10, Colin Guthrie wrote: 'Twas brillig, and David Henningsson at 03/09/10 09:46 did gyre and gimble: 2010-09-02 16:06, pl bossart skrev: Agreed: You can pick those two patches, and then we add a third patch to both branches, which brings back the watermark for tsched devices

Re: [pulseaudio-discuss] [PATCH] Do not use tsched watermark if tsched is disabled

2010-09-14 Thread David Henningsson
On 2010-09-13 13:03, Colin Guthrie wrote: 'Twas brillig, and David Henningsson at 13/09/10 11:14 did gyre and gimble: On 2010-09-04 14:10, Colin Guthrie wrote: I'd be interested as to whether anyone else can repeat this experiment and get similar results. Do you guys get a broken chordtest too

[pulseaudio-discuss] Alsamixertest

2010-09-27 Thread David Henningsson
and install instructions. When it is installed, run alsamixertest -r for a small tutorial and alsamixertest -h for command line options help. Looking forward to your comments about this new little tool! I think it should be considered beta quality at this point. -- David Henningsson, Canonical Ltd

Re: [pulseaudio-discuss] Alsamixertest

2010-09-29 Thread David Henningsson
, it set everything to 0 dB and the input signal received was -3.04 dB. So when setting Master to -18 dB, it expects the input signal to be -18-3.04 = -21.04 dB. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing

[pulseaudio-discuss] [PATCH] SSE/MMX/ARM: Fix high frequency noise with unusual number of channels

2010-10-08 Thread David Henningsson
and ARM, this could occur when the number of channels were 3. Signed-off-by: David Henningsson david.hennings...@canonical.com -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic From a7a099463370c1f49e470597fb7a70a6ac72d685 Mon Sep 17 00:00:00 2001 From: David Henningsson

Re: [pulseaudio-discuss] [PATCH 0/5] volume: Decrease PA_VOLUME_MAX to be 2^31

2010-10-10 Thread David Henningsson
from this change. I'm not exactly sure where and for what PA_VOLUME_MAX is used, but does it correspond to 0 dB in any way? Thinking assembly, could it be that we have some e g fixed-point arithmetic that we must compensate? -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic

Re: [pulseaudio-discuss] [PATCH] SSE/MMX/ARM: Fix high frequency noise with unusual number of channels

2010-10-13 Thread David Henningsson
We have got three confirmations that the patch is working in the bug below, so I believe it can be safely applied to both master and stable-queue. On 2010-10-08 19:00, David Henningsson wrote: I would kindly ask for comments for this patch before applying, just double-check that I thought

Re: [pulseaudio-discuss] [PATCH] SSE/MMX/ARM: Fix high frequency noise with unusual number of channels

2010-10-13 Thread David Henningsson
On 2010-10-13 09:53, Colin Guthrie wrote: 'Twas brillig, and David Henningsson at 13/10/10 07:27 did gyre and gimble: We have got three confirmations that the patch is working in the bug below, so I believe it can be safely applied to both master and stable-queue. Great! Would you mind

Re: [pulseaudio-discuss] [PATCH 0/5] HW and SW volume syncronization in IO-thread

2010-10-14 Thread David Henningsson
for the volume sync. Either that, or some kind of volume ramping. Just curious if you considered that solution as well? -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https

Re: [pulseaudio-discuss] [PATCH] volume: Fix incorrect usage of PA_VOLUME_IS_VALID

2010-10-19 Thread David Henningsson
constant high frequency noise...more git bisect ahead of me... It would also be good to know is PULSE_NO_SIMD=1 affects the HF noise, and if switching to stable-queue affects the HF noise? -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic

[pulseaudio-discuss] Man page clarifications

2010-10-21 Thread David Henningsson
if file X does not exist, pulseaudio reads things from file Y. Substitute X=~/.pulse/default.pa, Y=/etc/pulse/default.pa, things=configuration directives, and repeat with appropriate substitutions for each of the man pages. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic

[pulseaudio-discuss] [PATCH] Add Rear Mic to alsa mixer paths.

2010-11-19 Thread David Henningsson
This should be a patch without any controversy. Patch is against stable-queue. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic From ff068f1dc07e086ba01b4a4db398d9d81f79f60b Mon Sep 17 00:00:00 2001 From: David Henningsson david.hennings...@canonical.com Date: Fri, 19 Nov 2010

Re: [pulseaudio-discuss] [PATCH] alsa-sink: take base volume into account when applying hw volume

2010-12-01 Thread David Henningsson
ago. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

[pulseaudio-discuss] Mic input volume controls

2010-12-01 Thread David Henningsson
, and how we can make it better? Thanks/credits to Vitaliy Kulikov for helping with the analysis. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango

Re: [pulseaudio-discuss] Mic input volume controls

2010-12-02 Thread David Henningsson
On 2010-12-01 16:09, Colin Guthrie wrote: 'Twas brillig, and David Henningsson at 01/12/10 13:55 did gyre and gimble: Hi folks, The way we control mic input is quite broken. I've tested here with both IDT codecs and Realtek codecs (the two most common HDA Codecs AFAIK) and as far as I see

[pulseaudio-discuss] [PATCH] JACK: Add module-jackdbus-detect

2010-12-03 Thread David Henningsson
people who don't want it to work that way...I've gone with connect=true as the default to mimic the behaviour of module-jack-sink and module-jack-source. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic From d111edff2667dcdaad69a0d32bee8358966e5f42 Mon Sep 17 00:00:00 2001 From

Re: [pulseaudio-discuss] [PATCH] JACK: Add module-jackdbus-detect

2010-12-03 Thread David Henningsson
makes me thing that speaking to jack directly (as you do) is the only way to make this work correctly) 'Twas brillig, and David Henningsson at 03/12/10 08:29 did gyre and gimble: * A question is about the default; patch 2 here adds it to default.pa. Should connect default to true or false

Re: [pulseaudio-discuss] Mic input volume controls

2010-12-07 Thread David Henningsson
On 2010-12-04 19:09, Colin Guthrie wrote: 'Twas brillig, and David Henningsson at 02/12/10 10:38 did gyre and gimble: On 2010-12-01 16:09, Colin Guthrie wrote: 'Twas brillig, and David Henningsson at 01/12/10 13:55 did gyre and gimble: Hi folks, The way we control mic input is quite broken

[pulseaudio-discuss] [PATCH 3/3] Fighting rewinds: Make sure there is some headroom after an underrun

2010-12-09 Thread David Henningsson
If the amount of data in the implementor buffer is very tiny, i e even less than what we will likely be asked for, don't ask for a rewind as that would lead to another underrun. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic From 3c0bf348c3395b3cff0d77fd52a2e1e725c6e4cd Mon Sep

[pulseaudio-discuss] *reminder* Re: [PATCH 0/3] Fighting rewinds

2010-12-14 Thread David Henningsson
On 2010-12-09 14:54, David Henningsson wrote: As some of you have seen on IRC, I spent the some of the last week fighting rewinds. An never-ending stream of rewinds seems to be one of the most common reasons PulseAudio crashes or produces crackling/stuttering output, so there is a strong

Re: [pulseaudio-discuss] *reminder* Re: [PATCH 0/3] Fighting rewinds

2010-12-19 Thread David Henningsson
On 2010-12-17 17:39, Marius Bjørnstad wrote: On 15/12/10 08:41, David Henningsson wrote: For users running Ubuntu Maverick, there is a ppa for easy testing here: https://launchpad.net/~diwic/+archive/fighting-rewinds It also includes two fixes on the gstreamer side. Hi, I installed the PPA

Re: [pulseaudio-discuss] What to do with the Smart 5.1 mixer element (VIA VT1708S)

2011-01-03 Thread David Henningsson
... :-( I was hoping to be able to fix some of that by the time of merge window for 2.6.38, but I'm not sure I have the time/priority to do so. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio

Re: [pulseaudio-discuss] USB audio devices muted at non-zero volume

2011-01-06 Thread David Henningsson
/wiki/BadDecibel http://mailman.alsa-project.org/pipermail/alsa-devel/2010-February/025213.html David Henningsson from Canonical also wrote a similar tool: http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/7542 I'm not sure off hand what the latest version of that tool

Re: [pulseaudio-discuss] [PATCH] Implement Fortemedia SMA processing.

2011-01-06 Thread David Henningsson
don't mean s[0] - s[1]? -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

[pulseaudio-discuss] [PATCH] Pulseaudio input mixer rewrite

2011-01-19 Thread David Henningsson
: David Henningsson david.hennings...@canonical.com Date: Mon, 20 Dec 2010 11:13:37 +0100 Subject: [PATCH 1/6] alsa-mixer: Add a few well-known descriptions Add front mic, rear mic, and docking line-in. These are likely to be present on modern hda chips, for reference see linux-2.6/sound/pci/hda

Re: [pulseaudio-discuss] [PATCH] Pulseaudio input mixer rewrite

2011-01-19 Thread David Henningsson
On 2011-01-19 16:59, David Henningsson wrote: Yeah, I guess it's time. Let me know if you want six emails instead of one. Over the past few weeks - although there always seems to be something else you have to fix first - I've been working on fixing the long-standing issues with the pulseaudio

Re: [pulseaudio-discuss] Fighting rewinds / pulseaudio crash - update

2011-01-31 Thread David Henningsson
On 2011-01-31 12:41, Colin Guthrie wrote: 'Twas brillig, and David Henningsson at 31/01/11 10:46 did gyre and gimble: On 2011-01-31 10:41, Colin Guthrie wrote: Thanks for the update David :) You're welcome :-) PulseAudio #1 and #2: I believe these should be applied to PulseAudio upstream

Re: [pulseaudio-discuss] [PATCH] Pulseaudio input mixer rewrite

2011-02-07 Thread David Henningsson
1) Bump! 2) The kernel patches mentioned below are all in the 2.6.38 kernel. On 2011-01-19 17:19, David Henningsson wrote: On 2011-01-19 16:59, David Henningsson wrote: Yeah, I guess it's time. Let me know if you want six emails instead of one. Over the past few weeks - although there always

Re: [pulseaudio-discuss] State of various rate adjustment patches

2011-02-09 Thread David Henningsson
with David's rewind patches, so that needs to be done too. From what I can tell, the change seems to be copy-pasted from protocol-native.c, and so it's probably correct. My rewind patches shouldn't change that either for better or for worse. That said, of course testing wouldn't hurt :-) -- David

Re: [pulseaudio-discuss] Make discoverable PA network sound devices available locally results in huge network traffic

2011-02-09 Thread David Henningsson
stuff in that way will be easier, hopefully. Btw, we all seem to be busy with our own stuff only, but we all would like others to test the stuff we do, so do you want to make a deal? :-) I'll test some of your patches (tell me which ones) if you test my pulse-mixer patches. -- David Henningsson

Re: [pulseaudio-discuss] Improvement suggestion

2011-02-12 Thread David Henningsson
kind of indication that the current state is muted and one can fix it by clicking here would be appreciated! Thanks! Are you talking about pavucontrol? I agree that the buttons could be clearer. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic

Re: [pulseaudio-discuss] New feature in the works: volume sharing

2011-02-14 Thread David Henningsson
? Another thing is the pick-up of volume/mute changes in the driver - at least that's done on the ALSA side. Will that then be pushed through in the other direction somehow, or...? Just trying to make sure you haven't missed anything :-) -- David Henningsson, Canonical Ltd. http://launchpad.net

Re: [pulseaudio-discuss] PA Roadmap Planning and LAC Conference

2011-02-18 Thread David Henningsson
, I'm not sure how practical the conf is and whether the extra day would be needed or beneficial, but my general thoughts would be more time = more code, so an extra day could still be nice! I would prefer a separate day. This is because I don't want to miss the rest of the conference. -- David

Re: [pulseaudio-discuss] Questions about no ports available to select.

2011-02-22 Thread David Henningsson
. Thanks! -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] ANNOUNCE: Planning and Roadmap meeting: Thursday 24th Feb.

2011-02-22 Thread David Henningsson
in 11.04, so I don't plan to start working on it now, but I might spend some time implementing it for 11.10, i e around May - August. (No promises though - still too early to know what will happen and if other things will take more time than expected, etc.) -- David Henningsson, Canonical Ltd

Re: [pulseaudio-discuss] Questions about no ports available to select.

2011-02-23 Thread David Henningsson
, I can see ports in alsamixer (for capture: mic1, mic2, mic3), which they can't be enumerated by PA? I can't tell without having alsa-info but you might to be helped by my input mixer rewrite, which I'm still trying to get tested and committed into PulseAudio. -- David Henningsson, Canonical

Re: [pulseaudio-discuss] Questions about no ports available to select.

2011-02-23 Thread David Henningsson
device. 4) Architecture: Mips64? Never seen HDA Intel connected to anything but amd64/i386, but I guess it's possible :-) Btw, feel free to move this thread to alsa-devel, as we're into ALSA level stuff rather than PulseAudio stuff. -- David Henningsson, Canonical Ltd. http://launchpad.net

Re: [pulseaudio-discuss] unused check_required function in modules/alsa/alsa-mixer.c

2011-03-03 Thread David Henningsson
from element_probe to check_required. Colin, can anything have gone wrong when you merged it? -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango

Re: [pulseaudio-discuss] Conexant CX20585 recording does not work

2011-03-07 Thread David Henningsson
. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

[pulseaudio-discuss] [RFC PATCH] Profile for Nvidia

2011-03-08 Thread David Henningsson
pass-through patches. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic From 8438e14d1101f195e4c1a5dff41fdbacbc9366df Mon Sep 17 00:00:00 2001 From: David Henningsson david.hennings...@canonical.com Date: Tue, 8 Mar 2011 10:51:33 +0100 Subject: [PATCH] alsa-mixer: Add separate

Re: [pulseaudio-discuss] [PATCH 0/7] Working around bad decibel information

2011-03-09 Thread David Henningsson
on, shouldn't bad decibel information be fixed in the kernel, rather than in Pulseaudio? Then other non-PA applications would benefit from the change as well. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing

Re: [pulseaudio-discuss] [RFC] Pulseaudio jack sense

2011-03-10 Thread David Henningsson
at startup? -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] ALSA or PulseAudio for low-latency voice?

2011-03-20 Thread David Henningsson
that matters much. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

[pulseaudio-discuss] [PATCH] module-jack-sink/source: protect against null return in jack_get_ports

2011-03-28 Thread David Henningsson
Just picking up a crash report from Ubuntu, here's the result. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic From 934c52c79bb6faed56a64d6e15f9b285f687afee Mon Sep 17 00:00:00 2001 From: David Henningsson david.hennings...@canonical.com Date: Mon, 28 Mar 2011 14:30:44 +0200

[pulseaudio-discuss] [PATCH] alsa-mixer: Add workaround for some USB headsets

2011-04-05 Thread David Henningsson
to minimise regression potential. So, until this is fixed the right way, feel free to use the attached patch. Bug reference: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/671560 -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic From

Re: [pulseaudio-discuss] [PATCH 6/6] alsa: load jack detection module

2011-04-06 Thread David Henningsson
starting the module jack detection module, can you make sure that the card is loaded by PA? -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de

Re: [pulseaudio-discuss] [PATCH] alsa-mixer: Add workaround for some USB headsets

2011-04-06 Thread David Henningsson
On 2011-04-05 22:57, Colin Guthrie wrote: 'Twas brillig, and David Henningsson at 05/04/11 13:03 did gyre and gimble: As I discussed with Tanu Kaskinen yesterday, we should do something about when one profile path prevents another from using the hw volume capabilities. However, with Ubuntu

Re: [pulseaudio-discuss] [PATCH 5/6] alsa: create ucm profiles

2011-04-06 Thread David Henningsson
*/ +if (snd_use_case_set(ucm-ucm_mgr, _enadev, Headset.0) 0) { +pa_log(failed to set device Headset.0); +return PA_HOOK_CANCEL; +} + +return PA_HOOK_OK; +} Ehm, seems like you set it to the Headset device both on plug and unplug...? -- David Henningsson, Canonical Ltd

Re: [pulseaudio-discuss] [PATCH 4/4] alsa-mixer: Add force-hw-volume flag to alsa profile sets

2011-04-09 Thread David Henningsson
On 2011-04-08 17:18, Colin Guthrie wrote: 'Twas brillig, and o...@iki.fi at 08/04/11 15:18 did gyre and gimble: From: Jyri Sarhajyri.sa...@nokia.com Before this patch, if any of the paths in a path set do not support HW volume then the HW volume is disabled for the whole set. In some cases

[pulseaudio-discuss] Crash in RAOP sink

2011-04-15 Thread David Henningsson
); - -pa_close(u-fd); +if (u-fd = 0) +pa_close(u-fd); u-fd = -1; if (u-sink-thread_info.state == PA_SINK_SUSPENDED) { -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic ___ pulseaudio

Re: [pulseaudio-discuss] Crash in RAOP sink

2011-04-15 Thread David Henningsson
On 2011-04-15 11:49, David Henningsson wrote: I'm trying to fix a crash a few people have encountered in the upcoming version of Ubuntu, which uses 0.9.22 plus a few stable-queue patches. Actually there's a different set of crashes at modules/raop/module-raop-sink.c:230 as well: case

  1   2   >