196 Commits

Author SHA1 Message Date
Pierre Krieger
a2b8b4f4a7 Use the correct device name when enumerating formats 2015-09-22 15:12:41 +02:00
Pierre Krieger
73906885f9 Fix bug and filter out devices that are not "Output" 2015-09-22 15:04:32 +02:00
tomaka
debb6c957c Merge pull request #73 from tomaka/example-enumerate
Example enumerate
2015-09-22 14:49:31 +02:00
Pierre Krieger
ec48453b6f Add endpoint::get_name() and an enumerate example 2015-09-22 14:46:27 +02:00
Pierre Krieger
8f11173256 Add an enumerate example 2015-09-22 14:43:30 +02:00
tomaka
d4c7d91fd7 Merge pull request #63 from tomaka/alsa-formats
Correctly enumerate supported formats on ALSA
2015-09-22 13:56:22 +02:00
Pierre Krieger
fee0f0eaf7 Publish 0.2.3 2015-09-22 13:39:07 +02:00
tomaka
792fb64b61 Merge pull request #72 from tomaka/voice-format
Store the format in the public `Voice` struct
2015-09-22 13:38:42 +02:00
Pierre Krieger
8d21f5ff25 Store the format in the public Voice struct 2015-09-22 13:34:06 +02:00
tomaka
334c22a6f3 Merge pull request #71 from tomaka/general-wasapi-cleanup
General WASAPI cleanup
2015-09-22 13:32:36 +02:00
Pierre Krieger
d0e5e7f4e6 General WASAPI cleanup 2015-09-22 13:26:22 +02:00
tomaka
3e4ced5fba Merge pull request #70 from tomaka/wasapi-sleep
Fix the hack in the WASAPI implementation
2015-09-22 11:22:14 +02:00
Pierre Krieger
de0236b3b0 Fix the hack in the WASAPI implementation 2015-09-22 10:26:11 +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
tomaka
826ad84db4 Merge pull request #66 from tomaka/inline
Add #[inline] attributes
2015-09-22 10:01:59 +02:00
tomaka
bf2456a056 Merge pull request #69 from retep998/bump-winapi
Update winapi dependency
2015-09-17 20:28:13 +02:00
Peter Atashian
61ac0528e7 Update winapi dependency
Signed-off-by: Peter Atashian <retep998@gmail.com>
2015-09-17 14:22:52 -04:00
tomaka
cf53ccaf17 Merge pull request #68 from retep998/no-libc
Unused extern crate libc
2015-09-17 13:44:21 +02:00
Peter Atashian
5b1291c215 Unused extern crate libc
Signed-off-by: Peter Atashian <retep998@gmail.com>
2015-09-17 06:29:13 -04:00
Pierre Krieger
75f828b04f Add #[inline] attributes 2015-09-11 10:55:29 +02:00
tomaka
6ecc5f5078 Publish 0.2.2 2015-09-11 10:02:52 +02:00
tomaka
f74f3f3151 Merge pull request #65 from tomaka/buffer-len
Add UnknownBufferType::len()
2015-09-11 09:59:09 +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
tomaka
36b1a6d016 Merge pull request #62 from tomaka/restore-null
Restore the null implementation and compile it every time
2015-09-10 19:51:35 +02:00
Pierre Krieger
c5f51183f4 Correctly enumerate supported formats on ALSA 2015-09-10 19:48:39 +02:00
Pierre Krieger
d9eae23023 Restore the null implementation and compile it every time 2015-09-10 18:42:42 +02:00
tomaka
52e6e8231f Merge pull request #61 from tomaka/0.2.1
Publish 0.2.1
2015-09-10 13:04:18 +02:00
Pierre Krieger
8cea5b1d8d Publish 0.2.1 2015-09-10 13:02:07 +02:00
Pierre Krieger
541af2f7f2 Fix compilation on ALSA 2015-09-10 12:43:37 +02:00
tomaka
74286fcbf0 Merge pull request #60 from tomaka/handle-channels-pos
Handle channels positionning
2015-09-10 12:41:22 +02:00
Pierre Krieger
9d56c4c616 Update the beep example 2015-09-10 12:00:52 +02:00
Pierre Krieger
48282a068d Handle channels positionning 2015-09-10 11:44:19 +02:00
Pierre Krieger
0960f3c37d Update Cargo.toml after the previous changes 2015-09-10 11:17:39 +02:00
tomaka
fece179da7 Merge pull request #58 from tomaka/enumeration
Global cleanup
2015-09-10 11:12:15 +02:00
Pierre Krieger
b73bde48fe Bump to 0.2.0 2015-09-01 18:19:04 +02:00
Pierre Krieger
d7a31b4762 Fix doctests 2015-09-01 17:47:55 +02:00
Pierre Krieger
3db17889a4 Make ALSA compile again 2015-09-01 17:15:49 +02:00
Pierre Krieger
078769dbbd Enable 32bits samples with WASAPI 2015-09-01 15:58:22 +02:00
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