From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: integration of via668 and via8233 drivers Date: Fri, 06 Sep 2002 12:44:06 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Pavel Roskin Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 6 Sep 2002 03:08:40 -0400 (EDT), Pavel Roskin wrote: > > The diff between those time pints is fairly large, since "Scatter-Gather > PCM access" was introduced in between: > > revision 1.20 > date: 2002/07/19 17:10:53; author: tiwai; state: Exp; lines: +157 -206 > added the support of sg buffer pcm > > However, I can take the old (17:00) via686 driver and compile it with the > new (17:15) source tree, and everything is fine. My interpretation is > that it's not the introduction of Scatter-Gather PCM access that broke the > driver. It's porting of the via686 driver to Scatter-Gather that caused > the problem. > > The "helicopter sound" can be reproduced with the "play" test from the > oss-test suite. The sound is different if I run the test more than once. > > It's interesting that the problem seems to mostly affect some programs but > not the others. That's what I tested with the new, broken driver: > i think esd tries to set too small fragment size. anyway, could you check the output of /proc/asound/card0/pcm0p/sub0/hw_params for each bad case? > timidity -Oe ode2joy.mid Bad > timidity -Od -o /dev/dsp ode2joy.mid Ok > timidity -Ou -o /dev/audio ode2joy.mid Ok > mpg321 -o esd bwv538.mp3 Bad > mpg321 -o oss bwv538.mp3 Ok > mpg321 -o alsa bwv538.mp3 Ok > aplay cow.wav Bad > sox cow.wav -t ossdsp /dev/dsp Ok > cat cow.au >/dev/audio Ok > xmms bwv538.mp3 (OSS driver) Bad > xmms bwv538.mp3 (eSound driver) Bad > timidity -Ou -o - ode2joy.mid | aplay - Bad > timidity -Ow -o - ode2joy.mid | aplay - Ok thanks, Takashi ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390