Re: [pulseaudio-discuss] [PATCH] Don't use tsched on unsafe ALSA plugins

2014-04-20 Thread Alexander E. Patrakov
21.04.2014 05:04, Raymond Yau wrote: > > Since the dca ALSA plugin is based on extplug, it has a slave and therefore > a card. Thus, PulseAudio thinks that it looks like hardware and attempts > rewinds, which this plugin cannot handle correctly, because ALSA never > notifies extplug plugins

Re: [pulseaudio-discuss] [PATCH] Don't use tsched on unsafe ALSA plugins

2014-04-20 Thread David Henningsson
On 2014-04-20 21:26, Alexander E. Patrakov wrote: 20.04.2014 20:44, David Henningsson wrote: In addition, there is a snd_pcm_rewindable function, but we don't use it, and I don't know how well the different ALSA pcm types work with it. But it seems to me like the best course of action could be

[pulseaudio-discuss] [PATCH] combine-sink: fix zero adjust_time behaviour.

2014-04-20 Thread Hemanth Meenakshisundaram
From: Hemanth Meenakshisundaram A value of 0 for adjust_time should disable rate adjustment. Fix a bug where a 0 value causes rate adjustment to be called continuously instead after an unsuspend event. --- src/modules/module-combine-sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

Re: [pulseaudio-discuss] [PATCH] Don't use tsched on unsafe ALSA plugins

2014-04-20 Thread Raymond Yau
> > Since the dca ALSA plugin is based on extplug, it has a slave and therefore > a card. Thus, PulseAudio thinks that it looks like hardware and attempts > rewinds, which this plugin cannot handle correctly, because ALSA never > notifies extplug plugins about rewinds. > > The same mishandling of r

Re: [pulseaudio-discuss] [PATCH] Don't use tsched on unsafe ALSA plugins

2014-04-20 Thread Alexander E. Patrakov
20.04.2014 20:44, David Henningsson wrote: In addition, there is a snd_pcm_rewindable function, but we don't use it, and I don't know how well the different ALSA pcm types work with it. But it seems to me like the best course of action could be to make sure it reports the correct value for all AL

[pulseaudio-discuss] [PATCH] Better error messages for secure directory creation

2014-04-20 Thread Alexander E. Patrakov
Also, ignore unexpected fchmod results inside the user's home directory. They sometimes happen due to home filesystems violating POSIX requirements, including those specified at http://pubs.opengroup.org/onlinepubs/009696899/functions/fchown.html Details: http://lists.freedesktop.org/archives/puls

[pulseaudio-discuss] [PATCH] Remove redundant check of directory permissions

2014-04-20 Thread Alexander E. Patrakov
Initially (in commit ef422fa4ae626e9638ca70d1c56f27e701dd69c2), pa_make_secure_dir followed a simple principle: "make a directory, or, if it exists, check that it is suitable". Later this evolved into "make a directory, or, if it exists, ensure that it is suitable". But the check remained. The che

Re: [pulseaudio-discuss] Failed to create secure directory with ACL

2014-04-20 Thread Alexander E. Patrakov
I have prepared two conflicting patches and believe that applying any of them will work around your bug (which is really in the CIFS server). Please use your own judgement to pick one of the patches. My own preference would be: [PATCH] Remove redundant check of directory permissions ...but this i

Re: [pulseaudio-discuss] [PATCH] Don't use tsched on unsafe ALSA plugins

2014-04-20 Thread Alexander E. Patrakov
20.04.2014 20:44, David Henningsson wrote: On 2014-04-19 23:21, Alexander E. Patrakov wrote: Since the dca ALSA plugin is based on extplug, it has a slave and therefore a card. Thus, PulseAudio thinks that it looks like hardware and attempts rewinds, which this plugin cannot handle correctly, be

Re: [pulseaudio-discuss] [PATCH] Don't use tsched on unsafe ALSA plugins

2014-04-20 Thread David Henningsson
On 2014-04-19 23:21, Alexander E. Patrakov wrote: Since the dca ALSA plugin is based on extplug, it has a slave and therefore a card. Thus, PulseAudio thinks that it looks like hardware and attempts rewinds, which this plugin cannot handle correctly, because ALSA never notifies extplug plugins

Re: [pulseaudio-discuss] Failed to create secure directory with ACL

2014-04-20 Thread Alexander E. Patrakov
20.04.2014 16:04, Prunk Dump wrote: 2014-04-17 14:09 GMT+02:00 Alexander E. Patrakov : Well, the problem here is that the CIFS server gives extra unwanted access rights to the directory. So PulseAudio rightfully complains. However, in some cases (e.g. on CIFS and other non-native filesystems), t

Re: [pulseaudio-discuss] Failed to create secure directory with ACL

2014-04-20 Thread Prunk Dump
2014-04-07 14:11 GMT+02:00 Prunk Dump : >>> $mkdir /home/teachers/pellegrb/.pulse >>> $chown 3000137:338 /home/teachers/pellegrb/.pulse >>> $chmod 0700 /home/teachers/pellegrb/.pulse >>> $ls -al /home/teachers/pellegrb >>> >>> drwxrwx---+ 2 pellegrb teachers 0 avril 7 14:02 .pulse 2014-0