Alex Butler
b74581632d
Try all supported output formats when the default fails
2019-08-10 09:53:02 +01:00
est31
80948cf5c4
Merge pull request #243 from est31/remove_nalgebra
...
Remove nalgebra in favour of a handmade function
2019-08-09 22:06:57 +02:00
est31
0d18eb6edf
Merge pull request #240 from alexheretic/cpal-0.10
...
Update cpal -> 0.10
2019-08-09 22:03:05 +02:00
est31
fb5d8eb9d8
Save two multiplications
2019-08-09 21:10:09 +02:00
est31
a15ca2b43e
Remove nalgebra in favour of a handmade function
2019-08-09 20:46:41 +02:00
Alex Butler
0151398043
Update cpal -> 0.10
...
* Provide device prevous method using `cpal::default_host()`
* Naively handle new cpal errors
2019-07-18 13:06:14 +01:00
Pierre Krieger
655d05100f
Merge pull request #234 from tomaka/v0.9.0
...
Publish v0.9.0
2019-06-08 15:44:53 +02:00
Pierre Krieger
65bffdbaa3
Publish v0.9.0
2019-06-08 15:08:16 +02:00
Pierre Krieger
f5c08de1c0
Merge pull request #224 from azriel91/use-nalgebra-for-spatial-source
...
Use nalgebra for Spatial source
2019-06-08 15:01:12 +02:00
Pierre Krieger
8992fb9769
Merge pull request #226 from whentze/master
...
Implement `total_duration` for `FlacDecoder`
2019-06-08 14:58:56 +02:00
Pierre Krieger
5f644df21b
Merge pull request #230 from azriel91/security/upgrade-claxon
...
Bumped `claxon` to 0.4.2 to avoid uninitialized memory read.
2019-06-08 14:55:03 +02:00
Azriel Hoh
b76262ad87
Updated CHANGELOG.md
.
2019-05-21 14:22:43 +12:00
Azriel Hoh
3ee73c5ad6
Swap cgmath
to nalgebra
crate.
...
This helps converge the rust ecosystem onto `nalgebra`.
2019-05-21 14:22:43 +12:00
Azriel Hoh
94230abdab
Bumped claxon
to 0.4.2 to avoid uninitialized memory read.
2019-05-21 14:20:29 +12:00
whentze
60eaa9a2f5
Add basic test for flac decoding
2019-05-15 03:16:01 +02:00
whentze
26c2ba50ac
Add a correct implementation of total_duration
to FlacDecoder
.
2019-05-15 03:12:47 +02:00
Pierre Krieger
92a018bf53
Merge pull request #221 from willstott101/immediate_sink_parameters
...
Immediately apply a Sink's state to the next Source in it's Queue.
2019-04-19 17:34:53 +02:00
Will Stott
941fec3fe5
Add some tests to Sink
2019-04-02 20:42:09 +00:00
Will Stott
074368480e
Fix potential overflow for every-sample periodic_access.
2019-04-02 20:31:37 +00:00
Will Stott
14be3f46c8
Add to Source.periodic_access docs.
2019-04-02 19:26:42 +00:00
Will Stott
011090034f
Fix periodic test module
...
Add a simple test of periodic_access.
2019-04-02 18:58:45 +00:00
Will Stott
dba627a1b4
Periodic access on the first sample & accurate for multi-channel sources
2019-03-29 14:13:09 +00:00
Pierre Krieger
8dd11878ff
Merge pull request #220 from willstott101/sink_len
...
Add a len() method to Sink for some insight into the queue state.
2019-03-04 07:59:23 +01:00
Will Stott
f36411f6f5
Add a len() method to Sink for some insight into the queue state.
2019-03-01 12:14:30 +00:00
Pierre Krieger
25d3151917
Merge pull request #218 from mathstuf/cleanups
...
Cleanups
2019-01-28 20:19:06 +01:00
Pierre Krieger
cf2bcb0c6b
Merge pull request #213 from germangb/minimp3_bump
...
Bump minimp3 version
2019-01-28 20:18:23 +01:00
Pierre Krieger
a86dbc5852
Add inner
accessors for more sources ( #216 )
2019-01-28 20:17:00 +01:00
Joe Clay
b02529712d
Fix doc comment in Sink ( #215 )
2019-01-28 20:16:02 +01:00
Ben Boeckel
e61d14ba38
sources: remove excess constraints on structures
2019-01-28 08:49:32 -05:00
Ben Boeckel
b5d678a44b
done: fix markup on doc comment
2019-01-28 08:49:32 -05:00
Ben Boeckel
404e77351b
fadein: fix documentation
2019-01-28 08:49:32 -05:00
Ben Boeckel
e8ce0659a7
take: fix doc comment
2019-01-28 08:49:32 -05:00
Joe Clay
53a7d78cd8
Add inner
accessors for more sources
2019-01-17 01:10:12 +00:00
german gomez
660f081c15
minimp3 version bump ( fixes #212 )
...
Signed-off-by: german gomez <germangb42@gmail.com>
2018-12-09 00:21:25 +01:00
german gomez
1e02d9022a
Bump minimp3 version
...
Signed-off-by: german gomez <germangb42@gmail.com>
2018-12-07 18:32:10 +01:00
Alex Butler
4bb832ba30
Remove exclusive borrow requirement in Sink, SpatialSink ( #203 )
...
The inner Mutex does not require this.
2018-11-16 11:18:07 +01:00
Nicola Larosa
6fd5288cc7
Fix ChannelVolume dropping input samples ( #198 )
2018-11-10 14:44:49 +01:00
Aaron Kofsky
d20a3c661e
Fix reading WAV of different encodings. ( #199 )
...
* Read 32 bit float and 24 bit int encoded files correctly.
Before, we were assuming that all WAV files are encoded as 16 bit integers.
This is not true, WAVs can actually also be encoded as 32 bit floats and
24 bit integers. Hound returns `Err` when we attempt to read files as the
wrong encoding, which was getting `unwrap_or`'d to just zero. This explains
why the file would load but not play any sound. We fix this by first
checking for the appropriate encoding, and then converting to an i16. This
might cause some slight dither issues but hopefully it is quiet enough that
it doesn't matter.
Fixes #195 .
* Add tests of reading wav files different encodings
* Use `.map()` instead of control flow & unwrapping.
This makes things slightly cleaner to read.
Also remove extraneous print statement.
2018-11-09 21:58:43 +01:00
thiolliere
a55cac78ae
Fix channel volume None sample ( #191 )
2018-10-11 15:36:03 +01:00
Anton
4168dbc161
added .stop()
to SpacialSink ( #188 )
2018-09-23 05:10:35 +02:00
est31
a82eba1abe
Prepare the 0.8.1 release ( #186 )
2018-09-18 13:53:34 +02:00
Ben Boeckel
8bf1bf5851
typos: fix in buffer and source documentation ( #180 )
...
* typos: fix in buffer and source documentation
* sink: fix some formatting
* sink: refer to the sink in the pause API docs
2018-09-15 11:07:33 +02:00
Ben Boeckel
f0fc5124db
static_buffer: add a source backed by static data ( #183 )
...
If samples are available as static data, this avoids having to
reallocate the data.
2018-09-15 11:07:12 +02:00
Ben Boeckel
2e005c8218
repeat: implement Clone ( #182 )
...
It seems the compiler is not deriving `Clone` automatically even though
it is just `Buffered` wrappers around the original data.
2018-09-15 11:06:42 +02:00
est31
fcd0edbdcc
Finish the relicensing process ( #178 )
...
Closes #64
2018-08-28 11:56:39 +02:00
est31
9853088595
Require all new contributions to be MIT/Apache2 ( #175 )
2018-08-17 13:59:55 +02:00
est31
5f04ae5156
Update lewton to 0.9 ( #174 )
2018-08-16 19:39:49 +02:00
Pierre Krieger
3f8ec93ff0
Merge pull request #172 from est31/master
...
Update lewton to 0.8.0
2018-07-26 15:51:51 +02:00
est31
2a9f1feb73
Update lewton to 0.8.0
2018-07-26 11:16:22 +02:00
Pierre Krieger
ae21370019
Merge pull request #170 from Xaeroxe/release
...
Prepare 0.8 release
2018-06-22 17:39:39 +02:00