Commit Graph

145 Commits

Author SHA1 Message Date
Pierre Krieger 094dbef0e4 Add some documentation 2014-12-17 09:13:58 +01:00
Pierre Krieger f096a3b3a9 Add fixes and tests for samples conversions 2014-12-17 09:08:13 +01:00
Pierre Krieger 9721004ad0 Use Cow for formats conversions to avoid an allocation and copy 2014-12-17 08:53:09 +01:00
Pierre Krieger f4ac8a5492 Implement all samples formats 2014-12-17 08:47:19 +01:00
Pierre Krieger d3d6dd94db Implement samples formats conversions 2014-12-17 08:39:00 +01:00
Pierre Krieger fbc0bad46f Minor README update 2014-12-17 07:51:43 +01:00
Pierre Krieger df44dc2bf8 Add config for rust-ci in travis 2014-12-17 07:47:01 +01:00
tomaka 08b2f71a5b Merge pull request #2 from tomaka/fix-travis
Fix travis.yml
2014-12-17 07:12:28 +01:00
Pierre Krieger 8f0a822eb3 Fix travis.yml 2014-12-17 07:07:32 +01:00
Pierre Krieger 1af2fd58c8 Bump version number 2014-12-17 07:00:31 +01:00
Pierre Krieger 2d091726d7 Replace example by a smaller one 2014-12-17 06:59:03 +01:00
Pierre Krieger d793b0ad22 Use the official winapi crate 2014-12-17 06:53:20 +01:00
Pierre Krieger 9a65e71a70 More tweaks for alsa-sys 2014-12-16 19:04:33 +01:00
Pierre Krieger abd4c99d0b Minor tweaks in Cargo.toml files 2014-12-16 19:02:53 +01:00
Pierre Krieger c2737ce359 Add appveyor file 2014-12-16 17:15:45 +01:00
tomaka d1d7a3db07 Merge pull request #1 from tomaka/alsa
Add alsa implementation
2014-12-16 16:55:48 +01:00
Pierre Krieger c2ed846765 Add basic implementation for alsa 2014-12-16 16:54:58 +01:00
Pierre Krieger cf70b766f5 Add alsa-sys library 2014-12-16 16:07:45 +01:00
Pierre Krieger f94eea9eb1 Revert "Switch to retep998/winapi"
This reverts commit 9089246b4d.
2014-12-15 19:43:29 +01:00
Pierre Krieger 302a1941ab Fix warnings 2014-12-15 16:41:57 +01:00
Pierre Krieger d06a67a97b Fix PCM formats conversions not working 2014-12-15 16:40:55 +01:00
Pierre Krieger 49636365d8 Switch back to using buffers 2014-12-15 16:32:13 +01:00
Pierre Krieger 1a556514b0 Sound output now works correctly 2014-12-15 16:26:55 +01:00
Pierre Krieger 9598f68d3c Minor fixes 2014-12-15 16:06:37 +01:00
Pierre Krieger 5c6fa4384f Fix issue when calling `buffer.samples()` multiple times with the same buffer 2014-12-15 15:48:30 +01:00
Pierre Krieger 6becac9780 Change player architecture to avoid data losses 2014-12-15 15:40:38 +01:00
Pierre Krieger e26a8c4cb2 Minor nitpicking 2014-12-15 15:40:30 +01:00
Pierre Krieger 04d07c27dc Modify API to use a "samples" iterator 2014-12-15 15:29:59 +01:00
Pierre Krieger 27c91645ad Add draft for example music playing 2014-12-15 13:01:37 +01:00
Pierre Krieger 9089246b4d Switch to retep998/winapi 2014-12-15 12:15:11 +01:00
Pierre Krieger 081912c5fb Implement some samples rate conversions 2014-12-15 11:58:52 +01:00
Pierre Krieger 32bca93cc9 Implement some basic data conversion 2014-12-15 11:45:38 +01:00
Pierre Krieger b23857a57c Restore variable input format system 2014-12-15 10:29:29 +01:00
Pierre Krieger f00bb5a2b8 Update for rustc 2014-12-15 10:16:18 +01:00
Pierre Krieger b4b75f526a Remove old code 2014-12-11 19:42:49 +01:00
Pierre Krieger 8efaf06ec2 Add destructor for wasapi::Channel 2014-12-11 19:42:04 +01:00
Pierre Krieger 99c23327d8 Add some formats-related functions 2014-12-11 19:07:58 +01:00
Pierre Krieger 0bdafdab9b Buffer now always has the u8 format 2014-12-11 19:02:04 +01:00
Pierre Krieger d6f49a5176 Rename example to "beep" 2014-12-11 18:10:03 +01:00
Pierre Krieger b98ac14bf4 Add some documentation 2014-12-11 18:09:48 +01:00
Pierre Krieger d1de2018e7 Add keywords 2014-12-11 17:59:05 +01:00
Pierre Krieger 03ccf4bfea Replace example by a sinusoid generator 2014-12-11 17:51:58 +01:00
Pierre Krieger 873779aaa8 Add basic API 2014-12-11 17:41:18 +01:00
Pierre Krieger 6b48a00758 Semi-working WASAPI example 2014-12-11 16:28:26 +01:00
Pierre Krieger 4f96e54e31 Initial commit 2014-12-11 14:23:51 +01:00