Re: [pulseaudio-discuss] [alsa-devel] [RFC] disabling ALSA period interrupts

2010-05-12 Thread pl bossart
>> ok. It works just fine now. Can I send a patch against alsa-kmirror or >> do you prefer against alsa-kernel? I use the former to recompile only >> the audio modules. > > It does not matter. I accept both forms (the diffence between trees is > minimal). Also, you can use alsa-driver with alsa-ker

Re: [pulseaudio-discuss] source to sink question.

2010-05-12 Thread Richard Shaw
On Wed, May 12, 2010 at 1:56 PM, Colin Guthrie wrote: > 'Twas brillig, and Richard Shaw at 12/05/10 14:11 did gyre and gimble: >> On Wed, May 12, 2010 at 2:51 AM, Colin Guthrie wrote: >>> 'Twas brillig, and Richard Shaw at 12/05/10 01:05 did gyre and gimble: I've already reported this is a b

Re: [pulseaudio-discuss] source to sink question.

2010-05-12 Thread Colin Guthrie
'Twas brillig, and Richard Shaw at 12/05/10 14:11 did gyre and gimble: > On Wed, May 12, 2010 at 2:51 AM, Colin Guthrie wrote: >> 'Twas brillig, and Richard Shaw at 12/05/10 01:05 did gyre and gimble: >>> I've already reported this is a bug in the Fedora bugzilla, but as >>> soon as I run "pactl l

Re: [pulseaudio-discuss] [alsa-devel] [RFC] disabling ALSA period interrupts

2010-05-12 Thread Jaroslav Kysela
On Wed, 12 May 2010, pl bossart wrote: ok. It works just fine now. Can I send a patch against alsa-kmirror or do you prefer against alsa-kernel? I use the former to recompile only the audio modules. It does not matter. I accept both forms (the diffence between trees is minimal). Also, you can

Re: [pulseaudio-discuss] [alsa-devel] [RFC] disabling ALSA period interrupts

2010-05-12 Thread pl bossart
> Please, use tabs for block indention for alsa-lib. Right, I used the same .emacs style for pa and alsa-lib...Fixed now > Are you sure that you're using new libraries? 'ldd' and 'nm' tools will help > you to determine what's wrong with symbols. Argh.. For some reason Fedora has a preinstalled l

Re: [pulseaudio-discuss] [alsa-devel] [RFC] disabling ALSA period interrupts

2010-05-12 Thread Mark Brown
On Wed, May 12, 2010 at 08:50:42AM -0500, pl bossart wrote: > This might be almost equivalent to the timer approach in terms of # of > wakeups, however the timer can be reprogrammed on-the-fly whereas > periods can only be changed by closing and reopening the device. You > can also adjust the time

Re: [pulseaudio-discuss] [alsa-devel] [RFC] disabling ALSA period interrupts

2010-05-12 Thread Jassi Brar
On Wed, May 12, 2010 at 10:50 PM, pl bossart wrote: >> It seems the requirement is just to have as least wakeups as possible >> in order to >> maximize power savings. >> If so, then how about setting the period size slightly smaller than >> the ring-buffer: the >> difference being just enough to r

Re: [pulseaudio-discuss] [alsa-devel] [RFC] disabling ALSA period interrupts

2010-05-12 Thread pl bossart
> It seems the requirement is just to have as least wakeups as possible > in order to > maximize power savings. > If so, then how about setting the period size slightly smaller than > the ring-buffer: the > difference being just enough to refill the ring buffer. Of course, you > would have to > enf

Re: [pulseaudio-discuss] [alsa-devel] [RFC] disabling ALSA period interrupts

2010-05-12 Thread Jaroslav Kysela
On Tue, 11 May 2010, pl bossart wrote: Here's a proposal for an alsa-lib modification to allow applications to disable interrupts (if the hardware can do so). Please, use tabs for block indention for alsa-lib. I used the flag field in hw_params, this looked like a good candidate to convey th

Re: [pulseaudio-discuss] source to sink question.

2010-05-12 Thread Richard Shaw
On Wed, May 12, 2010 at 2:51 AM, Colin Guthrie wrote: > 'Twas brillig, and Richard Shaw at 12/05/10 01:05 did gyre and gimble: >> I've already reported this is a bug in the Fedora bugzilla, but as >> soon as I run "pactl load-module module-loopback" pulseaudio crashes. >> Any ideas? PA version/pac

Re: [pulseaudio-discuss] [alsa-devel] [RFC] disabling ALSA period interrupts

2010-05-12 Thread Jassi Brar
On Fri, Apr 30, 2010 at 7:38 AM, pl bossart wrote: > Howdy, > When PulseAudio is used and all PCM is routed through PulseAudio > (Fedora, Meego, etc), the notion of ALSA periods isn't very useful. > PulseAudio uses a timer to refill buffers and the period interrupts > are not used at all. It seem

Re: [pulseaudio-discuss] [alsa-devel] [RFC] disabling ALSA period interrupts

2010-05-12 Thread James Courtier-Dutton
On 8 May 2010 00:25, Lennart Poettering wrote: > On Thu, 29.04.10 17:38, pl bossart (bossart.nos...@gmail.com) wrote: > >> Howdy, >> When PulseAudio is used and all PCM is routed through PulseAudio >> (Fedora, Meego, etc), the notion of ALSA periods isn't very useful. >> PulseAudio uses a timer to

Re: [pulseaudio-discuss] [alsa-devel] [RFC] disabling ALSA period interrupts

2010-05-12 Thread pl bossart
> Some care would need to be taken with regards to detecting xruns. > I think the alsa code currently uses the interrupt callback to detect this. > I have seen a Windows 7 machine happily loop the audio buffer > uncontrollably, so I assume it has problems detecting xruns as well. When the PulseAud

[pulseaudio-discuss] Bug with per app volume restore

2010-05-12 Thread Jon Smirl
I'm using pulse 1:0.9.19-ubuntu on 9.10 I've used pulse volume control to set the volume down for last.fm. Inside the last.fm app volume is at 100%. I want last.fm to be relatively quieter than other apps in my system. This all works as expected. When I reboot last.fm is usually the only app maki

Re: [pulseaudio-discuss] More on the native protocol complexity

2010-05-12 Thread Rafal Wojtczuk
On Sun, May 09, 2010 at 09:24:27AM +0300, Marco Ballesio wrote: > On Fri, Apr 23, 2010 at 6:10 PM, Rafal Wojtczuk > wrote: > > Again, can I have a simple sound sharing over network protocol, pretty > > pretty please ? Raw audio frames + simple synchronization, anyone ? > stupid question, but.. is

Re: [pulseaudio-discuss] source to sink question.

2010-05-12 Thread Colin Guthrie
'Twas brillig, and Richard Shaw at 12/05/10 01:05 did gyre and gimble: > I've already reported this is a bug in the Fedora bugzilla, but as > soon as I run "pactl load-module module-loopback" pulseaudio crashes. > Any ideas? PA version/package is "0.9.21-5.fc12". No idea without a backtrace. Col

Re: [pulseaudio-discuss] native-protocol-tcp vs esound-protocol-tcp

2010-05-12 Thread Colin Guthrie
'Twas brillig, and Tanu Kaskinen at 12/05/10 06:10 did gyre and gimble: > On Wed, 2010-05-12 at 03:48 +0700, Antoine Martin wrote: >> Aren't there any open-source codec frameworks that could easily be >> plugged into the tcp transport? > > All I know is that when compression gets implemented, it w