Eidolon
e9856c07ed
[coreaudio] Remove intermediate buffer ( #182 )
...
* [coreaudio] Remove intermediate buffer
Fixes #181
* [coreaudio] Create voice id after setting format
2017-11-03 10:51:02 +01:00
tomaka
91adc3e380
Docs and style improvements ( #174 )
...
* Improve the crate root documentation
* Add entry in CHANGELOG
* Run rustfmt on the code
* More improvements to documentation
2017-10-23 16:41:38 +02:00
tomaka
c524f63000
Improve the emscripten backend ( #172 )
...
* Use the js! macro from stdweb
* Rework the Buffer::finish method
* Use references from stdweb
* Fix emscripten warnings
* Rework the run() method to use stdweb
* Adjust timings
* Add entry in CHANGELOG
2017-10-22 14:17:25 +02:00
tomaka
87949d859b
Add SupportedFormat ( #168 )
2017-10-20 21:18:40 +02:00
tomaka
c28407b26d
Fix warnings and reduce scope of libc ( #166 )
2017-10-19 12:44:14 +02:00
tomaka
6ae01f437c
RFC: Rework the API [WIP] ( #165 )
...
* Rework the API to not use futures anymore
* Add some comments
* Update the MacOS backend
* Restore the null implementation
* Add an emscripten backend
* Remove erroneously added feature
* Fix to_f32 formula
* [WIP] Alsa backend
* Alsa backend compiling
* Working ALSA backend
* Fix tests
* Move WASAPI endpoint to endpoint module
* Fix WASAPI warnings
* Rework the WASAPI backend
* Check overflows for voice ID
* Add comments and minor fixes to WASAPI backend
* Add a changelog
2017-10-18 20:24:05 +02:00
tomaka
4b019243c2
Rename the methods of the backend as well ( #164 )
2017-10-12 11:54:09 +02:00
tomaka
2028d5907f
Run rustfmt on the code ( #162 )
2017-10-11 13:24:49 +02:00
tomaka
cdcef96279
Remove the `get_` prefix of methods ( #151 )
...
* Remove the `get_` prefix of methods
* Fix overlooks
2017-10-11 10:39:44 +02:00
egnehots
33a8cde056
Minimal ios support
2017-10-10 18:24:53 +02:00
Johannes Lundberg
e86ffce712
Fixes for *BSDs
...
Replace linux-only eventfd() with pipe() to enable use on *BSDs for alsa.
Add FreeBSD to supported OSes.
2017-07-13 15:59:40 +02:00
Pierre Krieger
c291ab13f1
Mark deprecated functions as deprecated
2016-11-16 08:32:02 +01:00
thiolliere
e031025abe
update to futures 0.1.1: alsa wasapi
2016-10-01 00:44:22 +02:00
Pierre Krieger
c2f89d8b2d
Update documentation
2016-08-03 13:06:23 +02:00
Pierre Krieger
be8310da51
Draft for switching to futures
2016-08-02 18:19:03 +02:00
Pierre Krieger
c4bf6e91da
Fix the android build
2016-04-22 17:31:24 +02:00
Pierre Krieger
c93ffcff6c
Add Voice::get_period()
2015-09-27 13:00:17 +02:00
Pierre Krieger
44e9dce43f
Add Voice::get_pending_samples
2015-09-22 17:59:36 +02:00
Pierre Krieger
73906885f9
Fix bug and filter out devices that are not "Output"
2015-09-22 15:04:32 +02:00
Pierre Krieger
ec48453b6f
Add endpoint::get_name() and an enumerate example
2015-09-22 14:46:27 +02:00
Pierre Krieger
8d21f5ff25
Store the format in the public `Voice` struct
2015-09-22 13:34:06 +02:00
tomaka
d3e610a614
Merge pull request #64 from tomaka/underflowed
...
Add an underflow() method to Voice
2015-09-22 10:02:41 +02:00
Pierre Krieger
75f828b04f
Add #[inline] attributes
2015-09-11 10:55:29 +02:00
Pierre Krieger
3dd7a8abe7
Add UnknownBufferType::len()
2015-09-10 21:24:41 +02:00
Pierre Krieger
c5e2cdd3c5
Add an underflow() method to Voice
2015-09-10 21:03:40 +02:00
Pierre Krieger
d9eae23023
Restore the null implementation and compile it every time
2015-09-10 18:42:42 +02:00
Pierre Krieger
48282a068d
Handle channels positionning
2015-09-10 11:44:19 +02:00
Pierre Krieger
d7a31b4762
Fix doctests
2015-09-01 17:47:55 +02:00
Pierre Krieger
98b931edff
Add proper error handling
2015-09-01 14:17:57 +02:00
Pierre Krieger
1985c346ac
Add supported formats enumeration
2015-09-01 13:53:54 +02:00
Pierre Krieger
47f966bf75
Correctly enumerate audio devices (core + wasapi)
2015-09-01 11:29:00 +02:00
Pierre Krieger
ca72d1d67e
Remove the conversion system
2015-08-20 14:44:23 +02:00
Ronald Kinard
6389ab3ece
Remove use of box syntax.
...
Allows build on stable/beta rust.
2015-07-25 17:13:51 -05:00
Ronald Kinard
157011182a
Add box syntax feature annotation.
...
Fixes build.
2015-07-25 17:08:31 -05:00
Pierre Krieger
07b2009dae
Update for Rustc 1.0.0 beta
2015-04-04 09:22:23 +02:00
Pierre Krieger
93073f1ff7
Update for change in rustc and winapi
2015-03-30 11:19:03 +02:00
Pierre Krieger
a6c1b14d66
Rustup
2015-03-26 10:03:40 +01:00
mitchmindtree
1d66e18d7e
Fixed coreaudio callback to send proper buffersize, removed code in lib where sampleformat affected buffersize
2015-03-03 18:17:21 +11:00
mitchmindtree
1347c7c99d
Removed core_audio-sys local bindings in favour of new coreaudio-rs crate
2015-03-01 05:50:29 +11:00
mitchmindtree
f212d85889
OSX support via the Apple Core Audio, Audio Unit C API. Only supports f32 so far.
2015-02-28 06:05:24 +11:00
mitchmindtree
2b86445c9a
Merge remote-tracking branch 'upstream/master'
...
merging with upstream changes
2015-02-23 00:50:10 +11:00
mitchmindtree
c9fe2a132a
Commiting pre-merge
2015-02-23 00:50:06 +11:00
Pierre Krieger
28bd368658
Update for rustc
2015-02-22 11:24:49 +01:00
Pierre Krieger
48efe03661
Add a "null" implementation for platforms that aren't supported
2015-01-09 22:52:12 +01:00
Pierre Krieger
2bc50adf4d
Update for rust-1.0 alpha
2015-01-09 21:25:51 +01:00
Pierre Krieger
23e1e0639c
Update for Rustc
2015-01-08 21:24:04 +01:00
Pierre Krieger
420a0f0fd4
Update for rustc
2015-01-05 10:52:59 +01:00
Pierre Krieger
7389ebf84b
Add `#[must_use]` marker for Buffer
2014-12-26 10:39:19 +01:00
tomaka
73cd809636
Merge pull request #5 from tomaka/add-play-pause
...
Add play() and pause() functions
2014-12-23 15:28:43 +01:00
Pierre Krieger
d947014084
Add play() and pause() functions
2014-12-23 15:25:25 +01:00