Ian Hobson
3d1826007e
Avoid panics when incorrect buffer sizes are provided to read/write_frames
2023-05-19 10:57:39 +02:00
Ian Hobson
3400778991
Introduce generic read_frames and write_frames functions
2023-05-19 10:57:39 +02:00
Ian Hobson
7290d5ec81
Rework the deinter example, create writers before reading through the input file
2023-05-19 10:57:39 +02:00
Ian Hobson
0074e13bff
Avoid flushing output on each write
2023-05-19 10:57:39 +02:00
Ian Hobson
60a3eac072
clippy: Collapse nested else/if into else if
2023-05-19 10:57:39 +02:00
Ian Hobson
0c46a0e21f
clippy: Remove unnecessary import
2023-05-19 10:57:39 +02:00
Ian Hobson
8d34a517fc
clippy: Don't warn about the LUFS type name
2023-05-19 10:57:39 +02:00
Ian Hobson
86ffd4310a
clippy: Prefer if let Some(_) over Option::map
2023-05-19 10:57:39 +02:00
Ian Hobson
ceb8c4371e
clippy: Avoid unnecessary conversion
2023-05-19 10:57:39 +02:00
Ian Hobson
22e8dc79d1
clippy: Use a slice argument instead of the owned equivalent
2023-05-19 10:57:39 +02:00
Ian Hobson
f6f4869b5b
clippy: Avoid () as return type
2023-05-19 10:57:39 +02:00
Ian Hobson
cf5ec121da
clippy: Avoid unnecessary closures
2023-05-19 10:57:39 +02:00
Ian Hobson
7c01778029
clippy: Use .write_u8() when writing a single value
2023-05-19 10:57:39 +02:00
Ian Hobson
4e370c57c1
clippy: Use .write_all() when writing a slice
2023-05-19 10:57:39 +02:00
Ian Hobson
fc3b411717
clippy: Use .read_exact() when reading a fixed number of bytes
2023-05-19 10:57:39 +02:00
Ian Hobson
4d81ef36cd
clippy: Use the += operator
2023-05-19 10:57:39 +02:00
Ian Hobson
651009c96a
clippy: Avoid making unnecessary references
2023-05-19 10:57:39 +02:00
Ian Hobson
566ad07247
clippy: Remove unnecessary use of .into()
2023-05-19 10:57:39 +02:00
Ian Hobson
6989520743
clippy: Use Vec::get() instead of iter().nth()
2023-05-19 10:57:39 +02:00
Ian Hobson
b6c20ae410
clippy: Remove unnecessary casts
2023-05-19 10:57:39 +02:00
Ian Hobson
9eb655cd27
clippy: Remove unnecessary use of return
2023-05-19 10:57:39 +02:00
Ian Hobson
bbd84b7bbb
clippy: Remove unnecessary uses of ?
2023-05-19 10:57:39 +02:00
Ian Hobson
04d282ccd6
clippy: Use Avoid unnecessary indexing in for loops
2023-05-19 10:57:39 +02:00
Ian Hobson
1234c897a3
clippy: Use stream_position() to get current position
2023-05-19 10:57:39 +02:00
Ian Hobson
313f5408ca
Update the comment in wave-deinter.rs
2023-05-19 10:57:38 +02:00
Ian Hobson
e1b93b24ad
Run cargo format
2023-05-19 10:57:18 +02:00
Ian Hobson
369d261ba0
Fix build warnings
2023-05-19 10:57:18 +02:00
Jamie Hardt
4877aa0458
Update rust.yml
...
Adding clippy
2023-05-18 09:23:15 -07:00
Jamie Hardt
b9fe3b9701
Merge branch 'master' of https://github.com/iluvcapra/bwavfile
2023-05-13 11:02:52 -07:00
Jamie Hardt
4925f95b68
Removed old src/wavebuffer.rs file
2023-05-13 11:02:02 -07:00
Jamie Hardt
f1ec1cf43a
Update README.md
...
master branch not main branch!
2023-05-13 10:50:02 -07:00
Jamie Hardt
30b3e83fd4
Update README.md
...
Updated workflow shield
2023-05-13 10:43:17 -07:00
Jamie Hardt
e30d60ff0d
Merge branch 'master' of https://github.com/Wuelle/bwavfile into Wuelle-master
2021-12-31 13:28:55 -08:00
Jamie Hardt
442394ad5e
Removed dead-code warnings
2021-12-31 12:57:46 -08:00
Jamie Hardt
52c26156a9
Merge branch 'master' of https://github.com/iluvcapra/bwavfile
2021-12-31 12:56:11 -08:00
Jamie Hardt
4ddffa0b4a
Read trait
2021-12-31 12:56:08 -08:00
Wuelle
9a010ca0c4
prettify code
2021-12-30 21:59:29 +01:00
Wuelle
5e563cddf8
allow more types to be used as paths
2021-12-30 21:59:17 +01:00
Jamie Hardt
69fd5f310c
Fixed some typos in this
v1.1.0
2021-09-28 13:49:04 -07:00
Jamie Hardt
a8bb5e8c8e
Update to version 1.1
2021-09-28 13:46:34 -07:00
Jamie Hardt
468ed12304
Merge pull request #10 from atoav/cuepoints
...
Surface cue frame_offset field in UI and test for sounddevices files.
2021-09-28 13:39:09 -07:00
Jamie Hardt
a015d7cf8a
Added sounddevices test WAV
...
And unit tests for cue metadata.
2021-09-28 13:18:07 -07:00
Jamie Hardt
e89e87045c
Merge pull request #11 from EaterLabs/misc-fixes
...
implement basic f32le support and some other misc fixes
2021-09-28 12:30:45 -07:00
Jamie Hardt
ecc1db703d
Update Cargo.lock
2021-09-28 12:27:53 -07:00
Jamie Hardt
4cd28c9efe
Create wavebuffer.rs
2021-09-28 11:59:56 -07:00
eater
663b9fad43
derive Debug for ADMAudioID and ChannelDescriptor and implement f32
...
reading
2021-08-22 23:40:07 +02:00
eater
9fe741d913
implement std::error::Error for Error
2021-08-22 23:35:47 +02:00
David Huss
2ecae51e8d
Adding sounddevices testfile for cue points
...
As described in issue #9 the function cue_points() didn't display the
expected frame values for cue points created on a Sound Devices
MixPre-Series recorder. The file added by this commit
(sounddevices_6_cue_points.wav) is short and mono channel, but has 6 cue
points in it.
The expected frames for the cue points are:
0: 90112
1: 176128
2: 237568
3: 294912
4: 380928
5: 385024
2021-08-17 09:08:07 +02:00
David Huss
56dc4d1048
Try fix for cuepoints
2021-08-16 17:03:57 +02:00
Jamie Hardt
1af4c675c7
Merge commit 'a625b485d993d912556cdf72605bf7b2c48c18c2'
2021-06-23 10:21:41 -07:00