Re: [pulseaudio-discuss] dynamically changing alsa sink/source sampling rate

2010-11-17 Thread Mark Brown
On Tue, Nov 16, 2010 at 09:41:38PM -0800, Baek Chang wrote: Well say the client/user had a legitimate reason to switch the sampling rate (for example, low power usage or hw limitations for certain applications where it has to be a fixed sampling rate). Would it be possible to suspend all

[pulseaudio-discuss] dynamically changing alsa sink/source sampling rate

2010-11-15 Thread Baek Chang
Is it possible to change the sampling rate that the alsa sink or source is configured for? For example, in some scenarios, 44.1kHz is used, then in another scenario, to avoid sample rate conversion and some other hardware problems, configure the alsa device to 8kHz within the

Re: [pulseaudio-discuss] dynamically changing alsa sink/source sampling rate

2010-11-15 Thread Colin Guthrie
'Twas brillig, and Baek Chang at 15/11/10 21:16 did gyre and gimble: Is it possible to change the sampling rate that the alsa sink or source is configured for? For example, in some scenarios, 44.1kHz is used, then in another scenario, to avoid sample rate conversion and some other hardware

Re: [pulseaudio-discuss] dynamically changing alsa sink/source sampling rate

2010-11-15 Thread pl bossart
I wont say it will never be supported (if someone writes a well formed patch that doesn't introduce any significant complications/overhead then I can't see any problems with merging it), but I doubt any of the main developers or companies supporting PA will want to do this any time soon

Re: [pulseaudio-discuss] dynamically changing alsa sink/source sampling rate

2010-11-15 Thread Luke Yelavich
On Tue, Nov 16, 2010 at 09:21:47AM EST, Colin Guthrie wrote: So whichever way you cut it, there is no nice solution to do dynamic sample rate switching of the hardware and the only logical and practical solution is to use a fixed sample rate on your system and covert to this. Its also worth

Re: [pulseaudio-discuss] dynamically changing alsa sink/source sampling rate

2010-11-15 Thread Sander Jansen
On Mon, Nov 15, 2010 at 8:50 PM, pl bossart bossart.nos...@gmail.com wrote: I wont say it will never be supported (if someone writes a well formed patch that doesn't introduce any significant complications/overhead then I can't see any problems with merging it), but I doubt any of the main

Re: [pulseaudio-discuss] dynamically changing alsa sink/source sampling rate

2010-11-15 Thread pl bossart
I think that would solve the (or my) most common use-case (imho): play music (usually 44100hz) stop music play movie (usually 48000hz) stop movie (rinse and repeat) Yeah, I am only talking about 44.1 and 48 changes. All the other frequencies can be resampled fairly easily. -Pierre