shithub: riscv

Download patch

ref: 776f3726dd6f2401fa1b25163b2139ae9ac84115
parent: d99e693119812727d3267e2e02e55be660e98a1a
author: cinap_lenrek <[email protected]>
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){