Commit Graph

305 Commits

Author SHA1 Message Date
ferris 929bc1b8be Add coreaudio-rs dependency for i686-apple-darwin
Fixes build for 32-bit mac
2017-01-19 14:51:50 +01:00
tomaka c422931255 Merge pull request #140 from tomaka/deprecated
Mark deprecated functions as deprecated
2016-11-16 08:38:12 +01:00
Pierre Krieger c291ab13f1 Mark deprecated functions as deprecated 2016-11-16 08:32:02 +01:00
tomaka 871352ce60 Merge pull request #139 from tomaka/win-fix
Fix compilation on windows
2016-11-16 08:26:48 +01:00
Pierre Krieger 4511ac5b56 Publish 0.4.1 2016-11-16 08:18:14 +01:00
Pierre Krieger a26a9f5337 Fix compilation on windows 2016-11-16 08:17:11 +01:00
tomaka d6f22f4ceb Merge pull request #136 from HybridEidolon/coreaudio-play-pause
[osx] Implement play/pause for coreaudio
2016-10-18 08:33:24 +02:00
Ronald Kinard b44a2ab515 [osx] Implement play/pause for coreaudio 2016-10-18 01:20:40 -05:00
tomaka bb65200745 Merge pull request #135 from thiolliere/alsa_play_pause
impl play and pause for ALSA
2016-10-02 16:38:25 +02:00
thiolliere 25bb025a9a arc not necessary 2016-10-02 14:24:30 +02:00
thiolliere 5c86eec4f3 line not necessary 2016-10-02 14:21:33 +02:00
thiolliere 1b0c9f2c54 syntax: space after comma 2016-10-02 14:19:58 +02:00
thiolliere f822631bc4 impl play and pause for ALSA
snd_pcm_pause could have been used but not all hardware implement it, so
I propose not to use it.

In this implementation:

there are two kind of scheduling: wait for resume signal and wait for
pcm to be available

if the stream is paused then it return notready and wait for resume

the event loop is different as it manages descriptors corresponding to
voices according to the nature of the scheduling.

there is still a FIXME: in voice.play the is signal is send even if
the event loop wasn't waiting for resume.
It doesn't seem to create any issue. But it happens when you write
voice.pause();voice.play();
2016-10-02 13:29:01 +02:00
tomaka f68509982a Merge pull request #134 from tomaka/0.4.0
Publish 0.4.0
2016-10-01 10:37:21 +02:00
Pierre Krieger d0610c14f0 Publish 0.4.0 2016-10-01 10:30:38 +02:00
tomaka a00cf67900 Merge pull request #131 from tomaka/tryfix-osx
Try fix the OSX code with futures
2016-10-01 10:28:20 +02:00
tomaka 2d75e2eaf5 Merge pull request #133 from mitchmindtree/tryfix-osx
Do not lock inner twice. Fixes bug in osx futures 0.1.1 update.
2016-10-01 10:23:31 +02:00
mitchmindtree f71a95cd0e Do not lock inner twice. Fixes bug in osx futures 0.1.1 update. 2016-10-01 18:19:27 +10:00
Pierre Krieger 869af718a2 Try fix the OSX code with futures 2016-10-01 09:21:29 +02:00
tomaka bb00607488 Merge pull request #132 from tomaka/try-travis-osx
Try enabling travis for OSX
2016-10-01 09:16:23 +02:00
Pierre Krieger afc2bebe67 Try enabling travis for OSX 2016-10-01 09:12:36 +02:00
Pierre Krieger 375d669ce4 Force futures 0.1.1 2016-10-01 09:09:50 +02:00
tomaka aa97c76ecf Merge pull request #130 from thiolliere/local_branch
update to futures 0.1.1: alsa wasapi
2016-10-01 08:59:39 +02:00
thiolliere e031025abe update to futures 0.1.1: alsa wasapi 2016-10-01 00:44:22 +02:00
tomaka ad360d2a32 Merge pull request #128 from tomaka/tomaka-patch-1
Bump to 0.3.1
2016-08-20 07:40:07 +02:00
tomaka e5f127b460 Bump to 0.3.1 2016-08-20 07:35:53 +02:00
tomaka ba924f6582 Merge pull request #127 from Bobo1239/master
Fix #126
2016-08-19 22:11:17 +02:00
Boris-Chengbiao Zhou 70858ad2e5 Fix #126 2016-08-19 21:48:53 +02:00
tomaka fa6a7e92d2 Merge pull request #125 from tomaka/fix-publish
Bump alsa-sys to 0.1
2016-08-14 20:20:59 +02:00
Pierre Krieger 88bf15faca Bump alsa-sys to 0.1 2016-08-14 20:16:34 +02:00
tomaka a431c03f42 Merge pull request #121 from tomaka/futures
Draft for switching to futures
2016-08-12 20:43:09 +02:00
Pierre Krieger bf051dd16f Add some documentation to the winapi implementation 2016-08-12 18:06:17 +02:00
Pierre Krieger b1add0b12b Fix most warnings 2016-08-12 17:57:06 +02:00
Pierre Krieger 71e94bb6d1 Update the Cargo.toml and the README 2016-08-12 17:54:54 +02:00
tomaka dcb7b73f93 Merge pull request #124 from mitchmindtree/futures_osx
Update coreaudio backend to new futures-rs oriented design introduced in #121. Take 2.
2016-08-12 17:24:35 +02:00
mitchmindtree cc26897acd Update coreaudio backend to new futures-rs oriented design.
This depends on the changes introduced in #121.

Update to coreaudio 0.6.
2016-08-12 17:49:13 +10:00
Pierre Krieger 6060582aa0 Update the null implementation 2016-08-03 13:06:23 +02:00
Pierre Krieger c2f89d8b2d Update documentation 2016-08-03 13:06:23 +02:00
Pierre Krieger 0c915cac8f Use a max buffer size in order to avoid problems 2016-08-03 10:31:02 +02:00
Pierre Krieger 7c587853ad Make it work on Linux 2016-08-03 10:17:23 +02:00
Pierre Krieger be8310da51 Draft for switching to futures 2016-08-02 18:19:03 +02:00
tomaka 47fec7e846 Merge pull request #115 from tomaka/tomaka-patch-1
Bump to 0.2.12
2016-08-02 09:25:43 +02:00
tomaka 3c8f43006a Merge pull request #120 from burtonageo/update-deps
Update deps
2016-07-26 08:50:59 +02:00
George Burton b981277c86 Update deps 2016-07-26 05:08:16 +01:00
tomaka b30fc84124 Update to 0.2.12 2016-07-10 20:25:11 +02:00
tomaka 0cf5d306a0 Merge pull request #114 from jansol/coreaudio
coreaudio: update to coreaudio-rs 0.5.0
2016-07-10 20:19:06 +02:00
Jan Solanti f717817c86 coreaudio: update to coreaudio-rs 0.5.0 2016-07-06 00:13:17 +03:00
tomaka 7e4f9f00d1 Merge pull request #112 from Furyhunter/coreaudio-get-period
[osx] Add get_period to Voice
2016-06-29 08:35:31 +02:00
Ronald Kinard 4d2767ee42 [osx] Correct implementation of get_pending_samples 2016-06-28 18:09:54 -05:00
Ronald Kinard e9b8f46f73 [osx] Return correct Voice period. 2016-06-14 23:38:52 -05:00