Skip to contentSkip to conversation

sparc dbri: OSS layer fix

PATCH In review Krzysztof Helt 2 participants 2 messages Aug 26, 2006 – Aug 28, 2006 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc dbri: OSS layer fix

From: Krzysztof Helt ([email protected])

This patch removes setting of incorrect stop_threshold value inside the driver. After the change, playback through the OSS layer works correctly.

---

----------------------------------------------------
Radio Zet Platinum - Blue Eyes to dwupłytowy zestaw utworów przywołujący nastrój wakacyjnego lenistwa. Już w sprzedaży!!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fradio_zet_platinum.html&sid=855

sound/sparc/dbri.c renamed from alsa-kernel/sparc/dbri.c +0 -2
@@ -2111,8 +2111,6 @@ static int snd_dbri_prepare(struct snd_p
 	ret = setup_descs(dbri, DBRI_STREAMNO(substream),
 			  snd_pcm_lib_period_bytes(substream));
 
-	runtime->stop_threshold = DBRI_TD_MAXCNT / runtime->channels;
-
 	spin_unlock_irq(&dbri->lock);
 
 	dprintk(D_USR, "prepare audio output. %d bytes\n", info->size);

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#1 lore raw

At Sat, 26 Aug 2006 07:27:13 +0200,

Quoted 6 lines · Krzysztof Helt

From: Krzysztof Helt ([email protected])

This patch removes setting of incorrect stop_threshold value inside the driver. After the change, playback through the OSS layer works correctly.

Nice catch. Applied to HG tree now.

Takashi

-------------------------------------------------------------------------
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