On Mon, 23 Mar 2015 09:06:15 +0100 Clemens Ladisch <cladisch@xxxxxxxxxxxxxx> wrote: > Dmitri Seletski wrote: > > I read somewhere, that it's impossible to have dual rate PCM's > > working at the same time.(I tried such approach and failed.) > > A DAC outputs a stream at a single rate. So when multiple streams are > mixed together, they must have a common rate. > > > So does DMIX allows for several PCM to have access to hardware with > > background upsampling? > > The dmix plugin itself does not resample, but you typcially use a plug > plugin on top of it do take care of that. > > > In other words, I know, with shell variables I can say app which > > PCM to use. So could I by default start all programs with 48000 > > rate and start some MP3 players/VLC to play content in 192000 all > > at the same time? > > You cannot change the final sample rate once the first application has > opened a dmix device. > > > Regards, > Clemens Thanks for answers. i have a few more questions. I guess if I resample everything to higher rate, applications who suffer from lag will have issues? I think i did it a few months ago, but I noticed lag in sound if I used re-sampling. Thanks Dmitri ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user