mirror of
https://github.com/iluvcapra/bwavfile.git
synced 2026-11-16 00:34:13 +00:00
Introduce generic read_frames and write_frames functions
This commit is contained in:
1 parent
7290d5ec81
commit
3400778991
10 files changed
+269
-156
No files matched your search
+1
-1
@@ -208,7 +208,7 @@ fn create_blits_file(file_name: &str, sample_rate: u32, bits_per_sample: u16) ->
|
||||
let mut fw = file.audio_frame_writer()?;
|
||||
for frame in frames {
|
||||
let buf = vec![frame.0, frame.1, frame.2, frame.3, frame.4, frame.5];
|
||||
fw.write_integer_frames(&buf)?;
|
||||
fw.write_frames(&buf)?;
|
||||
}
|
||||
fw.end()?;
|
||||
|
||||
|
||||
Reference in new issue
Block a user