Commit Graph

157 Commits

Author SHA1 Message Date
Pierre Krieger 77fb55329e Better error handling in format detection 2015-09-01 15:33:44 +02:00
Pierre Krieger dc08fc4652 Now decoding the format from the WAVEFORMAT returned by the winapi 2015-09-01 15:32:03 +02:00
Pierre Krieger bf20431901 Handle F32 formats in Voice::new 2015-09-01 14:51:35 +02:00
Pierre Krieger 52052b6d07 Use the format passed as parameter in Voice::new 2015-09-01 14:26:25 +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
tomaka 659aeba42d Merge pull request #57 from tomaka/remove-conversion
Remove the conversion system
2015-09-01 09:20:17 +02:00
Pierre Krieger ca72d1d67e Remove the conversion system 2015-08-20 14:44:23 +02:00
tomaka e641ac93d8 Merge pull request #55 from mceier/master
Add more detailed message to panic
2015-08-18 09:08:45 +02:00
Mariusz Ceier 55eec8567e Add more detailed message to panic
When samples format is not supported, cpal panics with "not yet implemented" message, which is not useful in bug reports.
This adds samples format to the message.

Signed-off-by: Mariusz Ceier <mceier+cpal@gmail.com>
2015-08-18 08:54:40 +02:00
tomaka b1216f5e12 Merge pull request #53 from Furyhunter/master
Remove box feature usage
2015-07-26 08:45:43 +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
tomaka 6ffdcd5343 Publish 0.1.2 2015-07-22 15:19:21 +02:00
tomaka 7c76613aba Merge pull request #51 from tomaka/fix-signed
Fix signed/unsigned formats mismatch
2015-07-22 15:18:56 +02:00
Pierre Krieger 2f36175d96 Fix samples signs on win32 2015-07-22 14:28:45 +02:00
Pierre Krieger c71d9d74b3 Merge branch 'sample-format' of https://github.com/kmcallister/cpal into fix-signed 2015-07-22 14:28:13 +02:00
tomaka 68a1952f4d Merge pull request #50 from tomaka/fix-win32
Fix the win32 build
2015-07-20 19:12:44 +02:00
Pierre Krieger 48b7278254 Fix the win32 build 2015-07-20 19:06:58 +02:00
tomaka 23de5b5aab Fix the version in the README 2015-07-11 15:15:07 +02:00
tomaka a8b0aee08e Bump to 0.1.0 2015-07-11 15:14:49 +02:00
tomaka 20a1e255c4 Merge pull request #47 from tomaka/msvc
Fix platform-specific dependencies with MSVC
2015-07-04 15:08:34 +02:00
Pierre Krieger 56e555bc03 Fix platform-specific dependencies with MSVC 2015-07-04 14:13:15 +02:00
tomaka 0bad33e82c Publish 0.0.22 2015-06-24 22:00:03 +02:00
tomaka 7886c1b9cf Merge pull request #45 from tomaka/fix-alsa-threadsafety
Fix ALSA channels thread safety
2015-06-24 21:59:37 +02:00
Pierre Krieger b813aa168a Calls to a single ALSA channel are not thread safe 2015-06-24 15:17:52 +02:00
tomaka f7c99ef3c8 Publish 0.0.21 2015-06-05 19:14:01 +02:00
tomaka ed995c098b Merge pull request #44 from retep998/com
Use shiny new COM
2015-05-27 18:38:15 +02:00
Peter Atashian 618ef2a4f9 Use shiny new COM
Signed-off-by: Peter Atashian <retep998@gmail.com>
2015-05-27 12:24:14 -04:00
tomaka f71af2bed4 Merge pull request #40 from ruud-v-a/beep
Simplify beep example
2015-04-27 18:11:36 +02:00
Ruud van Asseldonk be84701f82 Simplify beep example 2015-04-27 17:33:02 +02:00
tomaka e2b259c958 Merge pull request #38 from tomaka/rustup
Rustup and version bumps
2015-04-20 11:42:03 +02:00
Pierre Krieger d85f969caf Rustup and version bumps 2015-04-20 09:30:36 +02:00
Mitchell Nordine 5403e91f26 Merge pull request #37 from ruud-v-a/alsa-sys
Remove integer suffixes in alsa-sys
2015-04-18 21:57:35 +10:00
Ruud van Asseldonk 3041ecaba9 Remove integer suffixes in alsa-sys
The `us` suffixes have long been replaced with `usize`, but in this case, no
suffixes are required at all.
2015-04-18 13:11:23 +02:00
tomaka 44d03c017d Merge pull request #36 from tomaka/rustup
Update for Rustc 1.0.0 beta
2015-04-04 09:32:11 +02:00
Pierre Krieger 07b2009dae Update for Rustc 1.0.0 beta 2015-04-04 09:22:23 +02:00
tomaka b5eba32ee5 Merge pull request #35 from tomaka/rustup
Update for change in rustc and winapi
2015-03-30 11:42:26 +02:00
Pierre Krieger 93073f1ff7 Update for change in rustc and winapi 2015-03-30 11:19:03 +02:00
tomaka 5594cbe849 Merge pull request #34 from tomaka/rustup
Rustup
2015-03-26 10:17:04 +01:00
Pierre Krieger a6c1b14d66 Rustup 2015-03-26 10:03:40 +01:00
tomaka 1adfa820c6 Publish alsa-sys before cpal 2015-03-25 14:23:23 +01:00
tomaka e03de502b9 Merge pull request #33 from tomaka/rustup
Rustup
2015-03-25 13:55:59 +01:00
Pierre Krieger 84326cb4a7 Rustup 2015-03-25 13:50:52 +01:00
tomaka f7c2949549 Merge pull request #31 from mitchmindtree/master
Fixed coreaudio callback to send proper buffersize, removed code in lib where sampleformat affected buffersize
2015-03-03 08:34:11 +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
tomaka 8781f8b70b Fix travis build 2015-02-28 20:13:33 +01:00
tomaka 6615b0a2d7 Merge pull request #28 from mitchmindtree/master
Removed core_audio-sys local bindings in favour of new coreaudio-rs crate
2015-02-28 20:12:27 +01:00
mitchmindtree 1347c7c99d Removed core_audio-sys local bindings in favour of new coreaudio-rs crate 2015-03-01 05:50:29 +11:00