Commit graph

33 commits

Author SHA1 Message Date
Andrew Kelley 511fcafc3b dummy: implement prebuffering 2015-07-23 16:49:44 -07:00
Andrew Kelley 69764e1afa microphone example working with dummy backend 2015-07-23 15:04:41 -07:00
Andrew Kelley 8177d2f46d fix extra functions and missing prototype 2015-07-23 11:56:05 -07:00
Andrew Kelley e7dc300cc6 microphone example working with PulseAudio 2015-07-22 15:43:45 -07:00
Andrew Kelley 43d33e5a67 don't access device until open() is called
and then check for a probe error.
2015-07-21 02:12:28 -07:00
Andrew Kelley 1eeeff5a24 PulseAudio works again 2015-07-20 22:55:30 -07:00
Andrew Kelley be2675e551 support stream names (used for PulseAudio) 2015-07-20 20:13:35 -07:00
Andrew Kelley 20f3f76ef3 fix devices race condition 2015-07-20 14:47:51 -07:00
Andrew Kelley 3999f57698 ability to pause and resume streams
and some cleanup
2015-07-16 13:37:41 -07:00
Andrew Kelley 454fab0ffb period_duration instead of period_count 2015-07-15 23:45:21 -07:00
Andrew Kelley 7045cb3988 ALSA sine example is making noise 2015-07-15 20:57:00 -07:00
Andrew Kelley 1e4d87e608 ALSA: open output device with parameters 2015-07-13 21:30:37 -07:00
Andrew Kelley 59026ccba7 examples are smarter about device parameters 2015-07-13 09:59:42 -07:00
Andrew Kelley 5b3fd175f8 stream API update; expose multiple channel layouts 2015-07-13 09:17:20 -07:00
Andrew Kelley 7d45b15036 rename SoundIoOutputDevice to SoundIoOutStream
and SoundIoInputDevice to SoundIoInStream
2015-07-10 02:42:29 -07:00
Andrew Kelley 3b8d896c8e ALSA backend determines what formats a device supports 2015-07-10 02:21:47 -07:00
Andrew Kelley 8887a528ef sample formats: take into account ALSA 2015-07-10 00:46:03 -07:00
Andrew Kelley fe2040da7c ALSA backend determines channel layout of devices 2015-07-09 23:35:58 -07:00
Andrew Kelley c760bc4df7 default sample rate is not as important as I thought 2015-07-08 00:42:17 -07:00
Andrew Kelley fe61322b23 beginning of ALSA support - list_devices works 2015-07-07 02:55:32 -07:00
Andrew Kelley a69ff6025c add and export a ring buffer implementation 2015-07-06 01:05:22 -07:00
Andrew Kelley 93f288e8b1 sine wave example working with pulseaudio on linux 2015-07-04 14:20:52 -07:00
Andrew Kelley 60b731ab4f os: make sure tv_nsec is less than 1,000,000,000 2015-07-04 03:37:50 -07:00
Andrew Kelley a35a2b7e0a add a couple unit tests, fix a couple bugs 2015-07-04 02:57:06 -07:00
Andrew Kelley efe95ded36 closer to building on windows 2015-07-02 03:48:27 -07:00
Andrew Kelley a659adebd0 fix build on linux 2015-07-02 02:53:08 -07:00
Andrew Kelley 24557e0ee3 closer to compiling on OS X 2015-07-01 13:24:47 -07:00
Andrew Kelley 70e956abdf refactor connect/disconnect API 2015-07-01 02:53:53 -07:00
Andrew Kelley 6a5db549f5 list_devices example works with dummy backend 2015-07-01 02:37:51 -07:00
Andrew Kelley 18a37da848 implement getting devices 2015-07-01 01:29:35 -07:00
Andrew Kelley 7eaa3d3054 implement getting default device indexes 2015-07-01 01:24:57 -07:00
Andrew Kelley d36493e1fe implement getting audio device counts 2015-07-01 01:20:26 -07:00
Andrew Kelley e409400f04 extracted code from Genesis 2015-07-01 01:02:44 -07:00