<44ec33bc0f4e0@wp.pl> In-reply-to: <44eb445108302@wp.pl> <44ec33bc0f4e0@wp.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Mailer: Interfejs WWW poczty Wirtualnej Polski Organization: Poczta Wirtualnej Polski S.A. http://www.wp.pl/ X-User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4a) Gecko/20030401 X-WP-IP: 213.76.88.67 X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO AS1=NO AS2=NO(0.500004) AS3=NO AS4=NO AS5=NO Dnia 23-08-2006 o godz. 20:18 Takashi Iwai napisał(a): > At Wed, 23 Aug 2006 12:53:48 +0200, > Krzysztof Helt wrote: > > I started testing the OSS layer and it does not work on sparc32. > > Is it something broken in the OSS layer for sparc or it is likely > > a driver issue? > > > > Before my series of patches, I got no sound through the OSS > > layer. With the patches I got sound but it is played too fast and > > deformed (random jumps in music play). I found the OSS layer > > works by continously starting and stoping sound after each block > > to send. Is it normal behaviour? > > Doesn't look so. > > Perhaps the PCM middle layer detected XRUN (e.g. due to invalid DMA > pointer) and automatically restarted? > Is prepare called between the frequent triggers? > > With the patch I have posted today it is easy to find the pattern with OSS layer: 1. prepare is called. 2. sound start trigger is called. 3. The driver issues a proper command to a DMA controller. 4. The intterrupt comes which says that DMA controller processed the sent command. 5. pointer is called and return 0 6. sound stop trigger is called 7. The driver issues a command to stop the DMA controller. 8. The step 1 repeats. The only difference using the aplay command is that it ignores 0 pointer returned in step 5 and a moment later an interrupt comes which reports the first period sent by the DMA controller. Any thoughts whats is wrong with the OSS layer or driver? Regards, Krzysztof ---------------------------------------------------- Najlepsze siatkarki plażowe świata w Warszawie! Międzynarodowy turniej GE Money Bank Warsaw Open 2006 Agrykola 30.08-03.09.2006 -> Wstęp wolny -> Szczegóły: http://klik.wp.pl/?adr=www.warsaw-beachvolley.pl&sid=850