git: 9front

Download patch

ref: a685f57d24f00cb6eea3a0b9e9479b9b8be048f7
parent: 57af3032f7bced71ebf55f7f3ea104ba9d6feb9c
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Fri Dec 14 04:43:00 EST 2012

audio/pcmconv: check bits for same format check not just framesz

--- a/sys/src/cmd/audio/pcmconv/pcmconv.c
+++ b/sys/src/cmd/audio/pcmconv/pcmconv.c
@@ -613,6 +613,7 @@
 
 	/* check if same format */
 	if(i.rate == o.rate
+	&& i.bits == o.bits
 	&& i.channels == o.channels
 	&& i.framesz == o.framesz
 	&& i.fmt == o.fmt){
--