Commit graph

527 commits

Author SHA1 Message Date
Francesco Zardi
5641ab56fa Remove 'mut' keyboard from the buffer argument of audio_callback() 2018-04-19 08:59:27 +02:00
Francesco Zardi
c554c8e1f8 Handle the case in which an StreamData::Input is passed as a buffer to audio_callback() 2018-04-19 08:59:27 +02:00
Francesco Zardi
457c8a5011 Fix typo 2018-04-19 08:59:27 +02:00
Francesco Zardi
95703113ba Rename 'endpoint' to 'device' 2018-04-19 08:59:27 +02:00
Francesco Zardi
5f42197c77 Fix typo 2018-04-19 08:59:27 +02:00
Francesco Zardi
0a90b31380 Rename the play() method of EventLoop to play_stream() 2018-04-19 08:59:27 +02:00
Francesco Zardi
96d4d539b3 Rename 'voice' to 'stream' 2018-04-19 08:59:27 +02:00
Francesco Zardi
f3b1fc915e Change the signature of audio_callback() to accept a StreamData enum instead of a UnknownTypeOutputBuffer 2018-04-19 08:59:27 +02:00
Francesco Zardi
9d4d9fdcac Rename voice_id to stream_id 2018-04-19 08:59:27 +02:00
Francesco Zardi
5d62f69223 Rename VoiceId to StreamId 2018-04-19 08:59:27 +02:00
Francesco Zardi
ebceebb760 Rename 'endpoints' to devices' 2018-04-19 08:59:27 +02:00
Francesco Zardi
cde47ab970 Rename default_endpoint() to, default_output_device(), reexport default_input_device() 2018-04-19 08:59:27 +02:00
Francesco Zardi
b912730313 Rename 'Endpoint' to 'Device' 2018-04-18 20:26:54 +02:00
Francesco Zardi
ac8541ddfc Rename UnknownTypeBuffer to UnknownTypeOutputBuffer 2018-04-18 18:03:22 +02:00
Pierre Krieger
7f4dbb060c
Merge pull request #161 from frazar/master
Update cpal dependency to 0.7.0
2018-04-18 16:07:24 +02:00
Francesco Zardi
a959cd618b Update comments to follow cpal` 0.7 convention 2018-04-18 14:53:04 +02:00
Francesco Zardi
95917f2e0f Rename samples_rate.rs to sample_rate.rs to follow cpal 0.7 convention 2018-04-18 14:46:29 +02:00
Francesco Zardi
74ceb63c3c Update cpal dependency to 0.7
The update required adapting to the breaking changes introduced by the new version, as reported in the `cpal`'s
[changelog](a2fe9386af/CHANGELOG.md), namely:

- Rename `ChannelsCount` to `ChannelCount`.
- Rename `SamplesRate` to `SampleRate`.
- Rename the `min_samples_rate` field of `SupportedFormat` to `min_sample_rate`
- Rename the `with_max_samples_rate()` method of`SupportedFormat` to `with_max_sample_rate()`
- Rename the `samples_rate` field of `Format` to `sample_rate`
- Changed the type of the `channels` field of the `SupportedFormat` struct from `Vec<ChannelPosition>` to `ChannelCount` (an alias to `u16`)
2018-04-18 14:24:33 +02:00
Pierre Krieger
27a0cb7cfd
Merge pull request #158 from cormac-obrien/master
Update hound dependency to 3.3.1
2018-03-20 10:47:01 +01:00
Cormac O'Brien
0e2ce6716b Update hound dependency to 3.3.1
Fixes tomaka/rodio#157
2018-03-19 14:41:47 -05:00
tomaka
ec3e39bbf2 Publish 0.6.0 2018-02-08 22:47:20 +01:00
Pierre Krieger
aa5d64339c
Merge pull request #154 from tomaka/tomaka-patch-1
Publish 0.5.3
2018-02-08 17:18:00 +01:00
Pierre Krieger
85a7d1abfe
Public 0.5.3
Fix #153
2018-02-08 17:12:50 +01:00
Pierre Krieger
90092c513e
Merge pull request #150 from tomaka/update-deps
Update dependencies
2017-12-24 11:19:28 +01:00
Pierre Krieger
c6854dc325 Update dependencies 2017-12-24 10:48:40 +01:00
tomaka
a9d2ab1ac5
Merge pull request #146 from chyvonomys/optional-decoders
Optional decoders
2017-10-30 07:26:46 +01:00
Andriy S. from cobalt
b14006ec99 have play_once fn and Decoder trait even if decoders are turned off 2017-10-29 21:18:01 +02:00
Andriy S. from cobalt
bfad440f6a use allow attr instead of _ vars 2017-10-29 20:39:02 +02:00
Andriy S. from cobalt
2f1b3f5309 merge upstream/master 2017-10-29 18:06:20 +02:00
Andriy S. from cobalt
3ef6b0564f make wav/flac/vorbis decoding features optional 2017-10-29 17:57:21 +02:00
tomaka
0e1ade3431 Merge pull request #142 from tomaka/cpal-rework
Update for cpal's rework
2017-10-21 10:04:27 +02:00
Pierre Krieger
f7473cc9fe Fix tests 2017-10-21 09:52:59 +02:00
Pierre Krieger
8b2fab2673 Finish rework 2017-10-21 09:30:38 +02:00
tomaka
2bc0111f9c Merge pull request #143 from tomaka/group-sink-controls
Group the sink controls into one struct
2017-10-14 14:48:15 +02:00
Pierre Krieger
8b0a20f42e Group the sink controls into one struct 2017-10-14 14:28:10 +02:00
Pierre Krieger
da515c65ec [WIP] Update for cpal's rework 2017-10-14 14:22:45 +02:00
tomaka
a77acb73ed Merge pull request #140 from camjackson/fix-deprecations
Replace usages of deprecated functions in cpal
2017-10-11 17:06:24 +02:00
Cam Jackson
8eaba65b5d Replace usages of deprecated functions in cpal 2017-10-11 21:31:15 +08:00
tomaka
a3ec9af5e1 Merge pull request #138 from chyvonomys/master
make sure buffer doesn't contain garbage
2017-10-08 09:17:13 +02:00
Andriy S. from cobalt
dfed9be5ce make sure buffer doesn't contain garbage 2017-10-08 00:54:33 +03:00
tomaka
4ca81f7c5f Merge pull request #134 from Xaeroxe/patch-1
Publish new version
2017-08-22 07:51:10 +02:00
Jacob Kiesel
5e68bba0fe Publish new version
It would be helpful to me to have use of the new `empty()` function for Amethyst.  Do you mind publishing a new minor version?
2017-08-21 13:48:24 -06:00
tomaka
c4581b5fd1 Merge pull request #133 from Xaeroxe/empty
Add empty() function to Sink
2017-08-20 17:42:28 +02:00
Jacob Kiesel
7c8a84a867 Add empty() function to Sink 2017-08-20 09:19:13 -06:00
tomaka
7367924e7d Merge pull request #131 from tomaka/misc-test-add
Add a small basic test to dynamic_mixer
2017-07-30 19:05:47 +02:00
Pierre Krieger
45c60ca155 Add a small basic test to dynamic_mixer 2017-07-30 18:56:24 +02:00
tomaka
c25399cdc9 Merge pull request #129 from chyvonomys/master
fix 'index out of bounds'
2017-07-22 08:42:44 +02:00
Andriy Symonovych on lilac
f05b352600 fix 'index out of bounds' 2017-07-22 02:21:09 +03:00
tomaka
59bd1f66f7 Merge pull request #128 from tomaka/sink-stop
Add Sink::stop()
2017-07-11 17:10:26 +02:00
Pierre Krieger
80b4acef38 Publish 0.5.1 2017-07-11 16:53:18 +02:00