I've tried to change period size from 256 to 4096 (2^n values) and there was no difference.
The only difference was during changing of master sample rate where I could hear different "position" of interruptions while setting 32kHz or 48 kHz.
Note that buffer size is fixed at 16384 samples (note is from the driver source code) and I also proved it during experiments.

Vaclav

On 10/21/2014 02:02 PM, Florian Paul Schmidt wrote:
On 21.10.2014 13:20, Vaclav Mach wrote:

> pcm.out_dmix { type dmix ipc_key 56874 ipc_key_add_uid false
> ipc_perm 0666 slave { pcm "hw:2,0" period_size 2048 channels 36
> rate 48000 } bindings { 0 0 # from 0 => to 0 1 1 # from 1 => to 1
> } }


Just a shot in the dark (it has been a looooong time since I last
played with this stuff):

Is the period size maybe too large? Does the hardware actually support
2048 frames? Maybe try 1024 frames. Also maybe try setting the
buffer_size attribute to something that makes sense with the channel
count and period size. Maybe 2^16 = 65536 Or even bigger? Would have
to read documentation on the exact semantics. I leave that to you
though ;)

Good luck,
Flo

P.S.: There's also a channel #alsa on irc.freenode.org. Knowledgable
people hang around there, too

> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-user
>