From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [ISSUE] rtl8192ce appears to interfere with ALSA playback Date: Thu, 23 Jan 2014 17:52:09 +0100 Message-ID: References: <1389767820.2436.45.camel@Wailaba2> <52D6BEEF.5050705@lwfinger.net> <52D76D56.6060906@trillion01.com> <20140116055547.GU19393@us.netrek.org> <1390464800.2436.111.camel@Wailaba2> <89F8E4011FD7234ABFE48744E300CBC206BCE732@041-DB3MPN1-092.041d.mgd.msft.net> <89F8E4011FD7234ABFE48744E300CBC206BCE752@041-DB3MPN1-092.041d.mgd.msft.net> <89F8E4011FD7234ABFE48744E300CBC206BCE7C6@041-DB3MPN1-092.041d.mgd.msft.net> <89F8E4011FD7234ABFE48744E300CBC206BCE7E6@041-DB3MPN1-092.041d.mgd.msft.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id EE58D265266 for ; Thu, 23 Jan 2014 17:52:09 +0100 (CET) In-Reply-To: <89F8E4011FD7234ABFE48744E300CBC206BCE7E6@041-DB3MPN1-092.041d.mgd.msft.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: LANGLOIS Olivier PIS -EXT Cc: Olivier Langlois , "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org At Thu, 23 Jan 2014 16:50:56 +0000, LANGLOIS Olivier PIS -EXT wrote: > > > > > But you passed --buffer-size and --period-size options. > > only to have the same params with hw:0,0 that I am giving with the dmix setup to reproduce the underruns. Otherwise the numbers below are what I have by letting aplay pick them for me by varying only the device. > > I have done a lot of experiments with mildly complex alsa setup during the past holiday [1] to understand that ALSA may come up with different params for different setups but the choosen 16 periods value is puzzling me... I repeatedly wrote that it's a fixed number. See src/conf/pcm/dmix.conf. Takashi > > 1. > http://mailman.alsa-project.org/pipermail/alsa-devel/2013-December/070561.html > > > > > > > > and I think that usually periods_num ~= buffer_time/period_time or > > buffer_size/period_size > > > > > > aplay -Dhw:0,0 sine_48000.wav > > > > > > I have: > > > > > > buffer_size : 24000 > > > period_size : 6000 > > > period_time : 125000 > > > > > > but with the default dmix setup: aplay -v sine_48000.wav: > > > > > > buffer_size : 16384 > > > period_size : 1024 > > > period_time : 21333 > > > > As already mentioned, dmix has the fixed setup for its slave PCM. > > See src/conf/pcm/dmix.conf. > > > > > > Takashi > > ________________________________ > CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. >