Commit Graph

676 Commits

Author SHA1 Message Date
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
tomaka 878bbf54b1 Merge pull request #77 from tomaka/wasapi-name
Add device name on WASAPI
2015-09-22 16:11:58 +02:00
Pierre Krieger 33dc72ab45 Add device name on WASAPI 2015-09-22 16:05:40 +02:00
tomaka 4e6ecb7f25 Merge pull request #76 from tomaka/alsa-fixes
Various ALSA fixes
2015-09-22 15:51:37 +02:00
Pierre Krieger 5fa41538a6 Various ALSA fixes 2015-09-22 15:46:56 +02:00
tomaka 0a13991f86 Merge pull request #75 from tomaka/alsa-format
Use the correct format in ALSA
2015-09-22 15:23:28 +02:00
tomaka 8ddbbf2c1e Merge pull request #74 from tomaka/alsa-devices
Alsa devices enumeration
2015-09-22 15:20:51 +02:00
Pierre Krieger 46151e09cc Use the correct format in ALSA 2015-09-22 15:20:11 +02:00
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