Re: [PATCH] sparc dbri: hardware constrains added

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

 



<s5hhd03ssdo.wl%tiwai@xxxxxxx>
<44ec33bc0f4e0@xxxxx> <s5hhd03wc1p.wl%tiwai@xxxxxxx>
In-reply-to: <44eb445108302@xxxxx>
<s5hhd03ssdo.wl%tiwai@xxxxxxx>
<44ec33bc0f4e0@xxxxx> <s5hhd03wc1p.wl%tiwai@xxxxxxx>
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



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/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