src/audio


Log

Author Commit Date CI Message
Ryan C. Gordon 878c2324 2015-03-24T02:13:25 winmm: Let audio callback buffer size be less than 1/4 second (thanks, Jon!). Maybe this was here for Win9x? There's no reason to insert this much latency by default. Fixes Bugzilla #2835.
Philipp Wiesemann 528e48b9 2015-03-23T20:24:04 Android: Removed not needed include statement.
Ryan C. Gordon 182a7768 2015-03-20T11:11:44 Audio hotplug fixes for winmm and XAudio2 backends.
Ryan C. Gordon 6c072917 2015-03-19T23:54:35 Patched to compile on gcc2.
Ryan C. Gordon 06e85acd 2015-03-19T23:45:34 Removed unused variable.
Ryan C. Gordon b24ff446 2015-03-19T23:44:47 Make static analysis happy.
Ryan C. Gordon 277e07e7 2015-03-19T23:39:53 Fixed a compiler warning on Visual Studio.
Ryan C. Gordon 1877f574 2015-03-19T23:35:43 Patched to compile on Windows.
Ryan C. Gordon 537b68b9 2015-03-19T22:11:20 Zero out the audio hotplug event structure, so the "padded" fields are sane. Just in case we ever need those bits in the future.
Ryan C. Gordon cafd030b 2015-03-19T22:08:12 PulseAudio: Hotplug support!
Ryan C. Gordon 11cffe1d 2015-03-19T15:43:00 SDL_RemoveAudioDevice() should specify capture vs output. This lets us reuse values between the two categories without conflicting, etc.
Ryan C. Gordon 1e78ef21 2015-03-19T13:34:17 Removed the broken audio streaming code, other small cleanups.
Ryan C. Gordon 5cbb32ef 2015-03-19T13:27:10 Disconnected/broken/lost audio devices now continue to fire their callback. The data produced by the callback is just thrown away and the audio thread delays as if it's waiting for the hardware to drain. This lets apps that rely on their audio callback firing regularly continue to make progress to function as properly as possible in the face of disaster. Apps that want to know that the device is really gone and deal with that scenario can use the new hotplug functionality.
Ryan C. Gordon 75973f81 2015-03-19T13:15:28 Don't assert if an audio backend reports the same device disconnected twice.
Ryan C. Gordon 7c4b88f2 2015-03-18T10:29:04 PulseAudio: Improved multidevice support. Added capture device enumeration, report human-readable device name, other cleanups.
Ryan C. Gordon 338bf5d2 2015-03-18T10:09:39 Changed some SDL_memset() calls to SDL_zero().
Ryan C. Gordon 97ff10c6 2015-03-18T10:09:23 Tweaked a couple comments, added some FIXMEs.
Ryan C. Gordon 43674503 2015-03-18T10:05:36 Patched to compile on C89 compilers.
Ryan C. Gordon 9a83151e 2015-03-18T09:59:22 PulseAudio: Added multiple device support, other cleanups. Thanks to Dominik Frizel for most of the effort on this! Fixes Bugzilla #2730.
Ryan C. Gordon f9cfd9fa 2015-03-18T02:01:17 Bunch of reworking to how we manage audio devices. Device enumeration now happens at startup and then is managed exclusively through hotplugging instead of full redetection. The device name list now has a unique "handle" associated with each item and SDL will pass this to the backend so they don't have to figure out how a human readable name maps to real hardware for a second time. Other cleanups, fixes, improvements, plus all the audio backends updated to the new interface...largely untested at this point, though.
Ryan C. Gordon 0e02ce08 2015-03-16T02:11:39 Initial work on audio device hotplug support. This fills in the core pieces and fully implements it for Mac OS X. Most other platforms, at the moment, will report a disconnected device if it fails to write audio, but don't notice if the system's device list changed at all.
Ryan C. Gordon 809b7be2 2015-03-13T12:20:17 Cleaning out a silly coding style I used to use. Changed all the "return (x);" lines to "return x;"
Ryan C. Gordon 3a532588 2015-03-13T00:48:30 Removed an unnecessary #ifdef.
Philipp Wiesemann 6abd242b 2015-02-14T00:16:27 Emscripten: Fixed throwing JavaScript exception if no audio context available. Handling the error in C provides the possibility to just continue without audio.
Philipp Wiesemann 60329e6a 2015-02-03T21:22:25 Added missing guards.
Philipp Wiesemann 86f87bf7 2015-01-31T22:45:54 Added missing guards in implementation for PSP. Thanks to Martin Gerhardy for pointing this out.
Philipp Wiesemann d036ad84 2015-01-31T22:43:05 Added missing include statements in implementation for PSP. SDL_internal.h should be included to support dynamic API and fix warnings.
Philipp Wiesemann 7384f147 2015-01-31T10:33:48 Fixed names in implementation for PSP.
Philipp Wiesemann b48e54aa 2015-01-26T22:00:29 Fixed bug 2802 - [patch] Fix android build compiling in wrong filesystem implementation Jonas Kulla The configure script didn't differentiate between Linux and Android, unconditionally compiling in the unix implementation of SDL_sysfilesystem.c. I'm probably one of the very few people building SDL for android using classic configure + standalone toolchain, so this has gone undetected all along.