Commit Graph

353 Commits

Author SHA1 Message Date
Pierre Krieger 752676c818 Be more relaxed with c_void 2016-04-25 13:33:12 +02:00
tomaka b20a76aab8 Merge pull request #108 from tomaka/fix-android
Fix the android build
2016-04-22 17:44:37 +02:00
Pierre Krieger c4bf6e91da Fix the android build 2016-04-22 17:31:24 +02:00
tomaka 119e54536b Merge pull request #107 from diwic/master
alsa-sys: Add pollfd
2016-04-02 20:20:08 +02:00
David Henningsson 0714dd47f1 alsa-sys: Add pollfd
The pollfd struct got added to libc in v0.2.7.

Signed-off-by: David Henningsson <diwic@ubuntu.com>
2016-04-02 19:55:42 +02:00
tomaka 0ce87de5fc Merge pull request #105 from mvdnes/alsa_underflow
Fix underflow detection for alsa
2016-02-28 17:28:47 +01:00
Mathijs van de Nes f3f194293a Fix underflow detection for alsa
The old method always returned _RUNNING on some machines.
This new method seems to produce the expected behaviour.

Note: -32 is probably -EPIPE, but the appropriate constant was not
available at this time.
2016-02-28 17:01:13 +01:00
tomaka 8544a1dc55 Merge pull request #102 from bburdette/master
add ARM target
2016-02-15 06:48:42 +01:00
Ben Burdette cb3183a19a add ARM target 2016-02-14 20:20:09 +00:00
tomaka c72467a574 Publish 0.2.9 2016-01-28 22:25:16 +01:00
tomaka fd0e992e57 Merge pull request #100 from nicokoch/fix-underflow-linux
Fix underflow bug on linux
2016-01-28 22:24:58 +01:00
Nicolas Koch 606bcf9fa6 Fix underflow bug on linux 2016-01-28 21:27:09 +01:00
tomaka fa7ef2de55 Merge pull request #99 from psych0d0g/patch-2
Add some sane error messages
2016-01-16 08:07:56 +01:00
psych0d0g 7c3aab71a2 Add some sane error messages 2016-01-15 21:16:34 +01:00
tomaka ef1e12fa3d Merge pull request #98 from tomaka/tomaka-patch-1
Improve error reporting in beep example
2016-01-15 19:00:23 +01:00
tomaka ec0bd9ebbc Improve error reporting in beep example 2016-01-15 18:05:29 +01:00
tomaka 71a40fdc4f Merge pull request #96 from psych0d0g/patch-1
allow for building for mipsel targets
2016-01-14 23:24:23 +01:00
psych0d0g b7319626b1 allow for building for mipsel targets
mipsel is mostly used on embedded multimedia devices like settop bockes for eg.
This change will allow building cpal for those platforms aswell
2016-01-14 22:22:56 +01:00
tomaka 1603bc8423 Merge pull request #94 from Geal/coreaudio-fix
Coreaudio compilation fixes
2016-01-12 17:49:34 +01:00
tomaka 33cbfb4539 Merge pull request #95 from tomaka/travis-fix
Fix for travis build
2016-01-12 17:49:15 +01:00
Pierre Krieger c473640970 Fix for travis build 2016-01-12 17:30:18 +01:00
Geoffroy Couprie 41d86ce17b Do not use a wildcard version number 2016-01-12 17:16:15 +01:00
Geoffroy Couprie dd87dbc1d2 Fix compilation on OSX with the new API for coreaudio-rs
this builds upon the following pull request:
https://github.com/tomaka/cpal/pull/81
2016-01-12 17:06:14 +01:00
tomaka b049e80ca3 Merge pull request #84 from tomaka/alsa-channels
Use correct ALSA channels
2015-12-15 17:49:42 +01:00
tomaka 8ec4bc4b6d Publish 0.2.8 2015-11-10 07:52:07 +01:00
tomaka 4e7d26506a Merge pull request #90 from tomaka/tomaka-patch-1
Libc 0.2
2015-11-10 07:51:51 +01:00
tomaka 54f3dc4eb4 Libc 0.2 2015-11-10 07:39:24 +01:00
tomaka 57cf0f16f4 Merge pull request #88 from retep998/master
Update winapi
2015-11-10 07:38:26 +01:00
Peter Atashian fc4e3ce823 Update winapi
Signed-off-by: Peter Atashian <retep998@gmail.com>
2015-11-09 17:52:43 -05:00
tomaka bed1efcb5a Merge pull request #86 from mvdnes/alsa_nosound
Catch another 'device not found' error code with ALSA
2015-10-13 12:35:54 +02:00
Mathijs van de Nes 951b7f5e65 Catch another 'device not found' error code 2015-10-13 12:22:07 +02:00
Pierre Krieger 55dbfa881e Use correct ALSA channels 2015-09-27 13:27:00 +02:00
Pierre Krieger f795936b03 Publish 0.2.7 2015-09-27 13:11:13 +02:00
tomaka 5082cb9358 Merge pull request #83 from tomaka/get-period
Add Voice::get_period()
2015-09-27 13:05:39 +02:00
Pierre Krieger c93ffcff6c Add Voice::get_period() 2015-09-27 13:00:17 +02:00
Ronald Kinard 30e96aa15a coreaudio: implementation cleanup 2015-09-26 23:04:17 -05:00
Ronald Kinard 1cdf5af808 coreaudio: Implement some missing functions.
underflow and get_pending_samples.
2015-09-24 16:24:12 -05:00
Ronald Kinard 53c5529b16 Return correct length of buffer, stub unimpl funcs 2015-09-24 13:19:42 -05:00
Ronald Kinard fd50a113a1 Revert "coreaudio: Add support for U16/I16 PCM formats."
This reverts commit bdef4fb3fe.
2015-09-24 12:54:54 -05:00
Ronald Kinard bdef4fb3fe coreaudio: Add support for U16/I16 PCM formats.
The conversion is done Rust-side instead of using AUHAL's
automatic conversion because I haven't gotten around generics
issues yet.
2015-09-23 23:19:29 -05:00
Ronald Kinard 54fb5b03cc Set coreaudio sample rate to 44100.
This makes rodio demos work correctly!
2015-09-23 22:23:57 -05:00
Ronald Kinard dbf9ae20da Make coreaudio Voice Send/Sync. 2015-09-23 22:14:32 -05:00
Ronald Kinard c841be235c Restore CoreAudio support after API overhaul. 2015-09-23 22:02:28 -05:00
tomaka ffadfc990e Publish 0.2.6 2015-09-22 22:22:47 +02:00
tomaka 6c72a7c08b Merge pull request #79 from tomaka/alsa-robust
Make the ALSA implementation more robust by recovering from underruns
2015-09-22 21:07:29 +02:00
Pierre Krieger 6bd28231ec Make sure that all writes succeed 2015-09-22 21:01:26 +02:00
Pierre Krieger 5fc346b34b Make the ALSA implementation more robust by recovering from underruns 2015-09-22 20:20:17 +02:00
tomaka 73be6abe6c Merge pull request #78 from tomaka/get-pending-samples
Add Voice::get_pending_samples
2015-09-22 18:07:09 +02:00
Pierre Krieger 44e9dce43f Add Voice::get_pending_samples 2015-09-22 17:59:36 +02:00
Pierre Krieger a709d91d66 Publish 0.2.4 2015-09-22 16:12:14 +02:00