Adding support for writing zlib compressed set files and fixing audio
[terminatorX.git] / src / tX_tape.cc
index a2bf6aa79f24a6e9ff9d2694a79d69b7c1f94b11..5dd3adba4a91b0216d1b8e376f32edb764693fdf 100644 (file)
@@ -44,7 +44,7 @@ int tx_tapedeck :: start_record (char *name, int bs, int samplerate)
        file.len=0;
        file.sofar=0;
 
-       blocksize=bs;
+       blocksize=bs * sizeof(int16_t) * 2;
 
        written_bytes=0;