Re: AD1988B: ALSA doesn't use dmix automatically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 17, 2008 at 8:45 AM, Takashi Iwai <tiwai@xxxxxxx> wrote:> At Sat, 15 Mar 2008 23:48:52 -0300,>> Dâniel Fraga wrote:> >> > ALSA 1.0.15> >> > http://alsa.opensrc.org/index.php/Dmix> >> > NOTE: For ALSA 1.0.9rc2 and higher you don't need to setup dmix. Dmix> > is enabled as default for soundcards which don't support hw mixing.> >> >       So why if I try to play 2 sounds at the same time, the second> > one complains the "resource is busy"? Shouldn't it detect that AD1988B> > can't do hardware mixing and use dmix automatically?>> It does as long as the app uses the "default" PCM.  The dmix isn't> forced to be applied.  The exclusive hardware access is still> available by opening the PCM as "hw", "plughw" and etc.  So, if any> apps access exclusively, others will suffer.>
Applications normally offer the real devices as first choices and notthe "default" PCM. Perhaps this should be explained better in thedocumentation or the wiki, not only for the end users, but also forapplication developers.
-- A. C. Censiaccensi [em] gmail [ponto] comaccensi [em] montreal [ponto] com [ponto] br_______________________________________________Alsa-devel mailing listAlsa-devel@xxxxxxxxxxxxxxxxxxxx://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux