Re: [pulseaudio-discuss] Changes to deal with modem PCMs

2012-07-29 Thread Mark Brown
On Fri, Jul 27, 2012 at 01:38:30PM -0500, Pierre-Louis Bossart wrote: On 7/25/2012 4:19 PM, Mark Brown wrote: If this is for fake streams held open by userspace we have a better in kernel solution now - just hide the PCM from userspace entirely and start it like anything else in the device.

Re: [pulseaudio-discuss] Changes to deal with modem PCMs

2012-07-27 Thread Pierre-Louis Bossart
On 7/25/2012 4:19 PM, Mark Brown wrote: If this is for fake streams held open by userspace we have a better in kernel solution now - just hide the PCM from userspace entirely and start it like anything else in the device. Will that not suffice? I don't get it, I must have missed something. What

Re: [pulseaudio-discuss] Changes to deal with modem PCMs

2012-07-25 Thread Mark Brown
On Mon, Jul 23, 2012 at 02:27:26PM +0530, Arun Raghavan wrote: While discussion on how we should deal with hardware with different requirements from standard desktop cases continues, I'd like to solve the problem of having modem PCMs that we don't want to auto-suspend in the near future. For

Re: [pulseaudio-discuss] Changes to deal with modem PCMs

2012-07-25 Thread Mark Brown
On Mon, Jul 23, 2012 at 03:05:25PM -0500, Pierre-Louis Bossart wrote: somehow the information should be available at the ALSA level that such devices do not provide/expect any data and should not be suspended. This information is available at the kernel level (no_pcm flag or something), it

Re: [pulseaudio-discuss] Changes to deal with modem PCMs

2012-07-24 Thread Arun Raghavan
On Mon, 2012-07-23 at 15:05 -0500, Pierre-Louis Bossart wrote: On 7/23/2012 3:57 AM, Arun Raghavan wrote: Hello, While discussion on how we should deal with hardware with different requirements from standard desktop cases continues, I'd like to solve the problem of having modem PCMs that

[pulseaudio-discuss] Changes to deal with modem PCMs

2012-07-23 Thread Arun Raghavan
Hello, While discussion on how we should deal with hardware with different requirements from standard desktop cases continues, I'd like to solve the problem of having modem PCMs that we don't want to auto-suspend in the near future. For this, I've attached a couple of patches that allow a sink or

Re: [pulseaudio-discuss] Changes to deal with modem PCMs

2012-07-23 Thread Pierre-Louis Bossart
On 7/23/2012 3:57 AM, Arun Raghavan wrote: Hello, While discussion on how we should deal with hardware with different requirements from standard desktop cases continues, I'd like to solve the problem of having modem PCMs that we don't want to auto-suspend in the near future. For this, I've