From: Jaroslav Kysela Date: Thu, 15 May 2003 06:45:17 +0000 (+0000) Subject: Fixed DSP code output X-Git-Tag: v1.0.3~79 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=6586fe5636e327aff4474e6b79366d0d1bf2fa3c;p=alsa-tools.git Fixed DSP code output --- diff --git a/as10k1/as10k1.c b/as10k1/as10k1.c index 9823e47..d1dfae1 100644 --- a/as10k1/as10k1.c +++ b/as10k1/as10k1.c @@ -214,7 +214,7 @@ int main( int argc, char *argv[] ) /* write binary code */ - for (i = 0; i < ip; i++) { + for (i = 0; i < ip * 2; i++) { val = __cpu_to_le32(dsp_code[i]); fwrite(&val,sizeof(u32),1,fp); //for (j = 3; j >= 0; j--)