Commit Graph

  • 2fb122fe46 audio: backends now "find" instead of "obtain" devices by handle. Ryan C. Gordon 2023-07-11 13:59:54 -04:00
  • c3f5a5fc72 dummyaudio: SDL3ify style Ryan C. Gordon 2023-07-06 17:25:07 -04:00
  • 7d65ff86e2 diskaudio: Adjusted for later SDL3 audio API redesign changes. Ryan C. Gordon 2023-07-06 17:21:34 -04:00
  • 4ba9c2eade dummyaudio: Configurable delay, other SDL3 API fixes. Ryan C. Gordon 2023-07-06 17:18:37 -04:00
  • fb395d3ad7 sndio: Updated to the SDL3 audio API. Ryan C. Gordon 2023-07-06 16:52:20 -04:00
  • 1a55282051 dsp: Some minor logic fixes Ryan C. Gordon 2023-07-06 00:26:27 -04:00
  • 6bc85577d7 netbsdaudio: Updated for SDL3 audio API. Ryan C. Gordon 2023-07-06 00:05:23 -04:00
  • 0f6e59312b netbsdaudio: Removed email address from source code. Ryan C. Gordon 2023-07-05 15:29:30 -04:00
  • 51ae78c0af haikuaudio: Updated for SDL3 audio API. Ryan C. Gordon 2023-07-05 15:23:03 -04:00
  • fc7ed18ca1 emscriptenaudio: don't forget to finalize the audio thread Ryan C. Gordon 2023-07-05 15:22:56 -04:00
  • 4233c41ce2 pulseaudio: Removed unnecessary variable. Ryan C. Gordon 2023-07-05 11:51:38 -04:00
  • a0528cd5ed emscriptenaudio: Updated for SDL3 audio API. Ryan C. Gordon 2023-07-05 11:51:06 -04:00
  • 79cc29ba35 wave: Don't check if format->channels > INT_MAX, it's a Uint16. Ryan C. Gordon 2023-07-05 11:50:22 -04:00
  • 1bfe97c235 pspaudio: Updated for SDL3 audio API. Ryan C. Gordon 2023-07-05 02:44:59 -04:00
  • 121a2dce15 audio: Make sure device->hidden is NULL after CloseDevice Ryan C. Gordon 2023-07-05 02:44:52 -04:00
  • 3d6ba0cafd ps2audio: Removed free of buffer that hasn't been allocated yet. Ryan C. Gordon 2023-07-05 02:43:54 -04:00
  • 00ed6f8827 test: Fixed compiler warnings for unused vars. Ryan C. Gordon 2023-07-05 02:22:33 -04:00
  • 6f12f68ec9 ps2audio: SDL3ified the style Ryan C. Gordon 2023-07-05 02:14:20 -04:00
  • 4993743a02 ps2audio: Renamed _this to device Ryan C. Gordon 2023-07-05 02:10:48 -04:00
  • 74568cdb2b ps2audio: Updated (but untested) for SDL3 audio API. Ryan C. Gordon 2023-07-05 02:10:14 -04:00
  • c83b68ef26 jack: renamed _this to device. Ryan C. Gordon 2023-07-05 00:54:11 -04:00
  • 3f4f004794 audio: Remove an assertion that no longer makes sense. Ryan C. Gordon 2023-07-05 00:52:28 -04:00
  • 86243b2589 jack: Use ProvidesOwnCallbackThread. Ryan C. Gordon 2023-07-05 00:43:09 -04:00
  • 18906a32b8 jack: First shot at updating for SDL3 audio API. Ryan C. Gordon 2023-07-05 00:22:35 -04:00
  • a2b488359e dsp: Removed debug logging Ryan C. Gordon 2023-07-04 19:38:01 -04:00
  • 6fd71185cd dsp: Updated for new SDL3 audio API. Ryan C. Gordon 2023-07-04 19:37:31 -04:00
  • 3482d1215a alsa: Don't ever block in CaptureFromDevice. Ryan C. Gordon 2023-07-04 19:27:10 -04:00
  • 65d296ef1a audio: Use SDL_powerof2 instead of reinventing it. Ryan C. Gordon 2023-07-04 19:26:41 -04:00
  • 409b544505 alsa: Updated for new SDL3 audio API Ryan C. Gordon 2023-07-04 17:28:04 -04:00
  • 0999a090a7 audio: More tweaking of device->thread_alive Ryan C. Gordon 2023-07-04 17:27:17 -04:00
  • f94ffd6092 audio: Fixed logic error Ryan C. Gordon 2023-07-04 17:27:09 -04:00
  • 4deb2970c9 alsa: Renamed _this to device Ryan C. Gordon 2023-07-03 23:49:45 -04:00
  • 0fb9e4baae audio: Remove no-longer-used SupportsNonPow2Samples Ryan C. Gordon 2023-07-03 23:26:20 -04:00
  • c653e57768 coreaudio: rewritten for SDL3 audio redesign! Ryan C. Gordon 2023-07-03 22:00:58 -04:00
  • 533777eff5 audio: SDL_sysaudio.h comment conversion. Ryan C. Gordon 2023-07-03 20:36:39 -04:00
  • 8473e522e0 audio: unify device thread naming. Ryan C. Gordon 2023-07-03 20:35:58 -04:00
  • 258bc9efed audio: PlayDevice now passes the buffer, too, for convenience. Ryan C. Gordon 2023-07-03 20:34:15 -04:00
  • e518149d14 audio: Fixed locking in SDL_AudioDeviceDisconnected Ryan C. Gordon 2023-07-03 20:32:55 -04:00
  • 22afa5735f audio: FreeDeviceHandle should pass the whole device, for convenience. Ryan C. Gordon 2023-07-03 20:32:31 -04:00
  • 9e3c5f93e0 coreaudio: Change _this to device Ryan C. Gordon 2023-07-03 13:42:25 -04:00
  • e969160de0 audio: unset a freed variable to NULL Ryan C. Gordon 2023-07-03 11:52:01 -04:00
  • 1fc01b0300 audio: Try to definitely have a default device set up. Ryan C. Gordon 2023-07-03 11:51:22 -04:00
  • b60a56d368 audio: take first reported device if no default was specified. Ryan C. Gordon 2023-07-03 11:38:17 -04:00
  • a8323ebe68 audio: Better handling of ProvidesOwnCallbackThread backends. Ryan C. Gordon 2023-07-03 11:37:40 -04:00
  • 1dffb72c1d pipewire: Hooked up default device change notifications. Ryan C. Gordon 2023-07-03 03:05:51 -04:00
  • a93fcf2444 audio: fixed flushed stream reporting bytes but not being able to get them. Ryan C. Gordon 2023-07-03 02:34:40 -04:00
  • ad6c1781fc pulseaudio: Minor cleanups. Ryan C. Gordon 2023-06-28 10:21:57 -04:00
  • cfc8a0d17d pipewire: First shot at moving to the new SDL3 audio interfaces. Ryan C. Gordon 2023-06-28 10:13:34 -04:00
  • 13202642a3 aaudio: Fixed capitialization, plus some minor cleanups. Ryan C. Gordon 2023-06-26 21:43:53 -04:00
  • 3e9991b535 audio: Make sure we don't write to a NULL pointer. Ryan C. Gordon 2023-06-26 21:26:48 -04:00
  • 943351affb pulseaudio: GetDefaultAudioInfo isn't a thing anymore. Ryan C. Gordon 2023-06-24 23:27:56 -04:00
  • 11dfc4d737 test: Update testautomation_audio for SDL3 audio API. Ryan C. Gordon 2023-06-24 23:10:54 -04:00
  • 29afc2e42b test: Update testresample for SDL3 audio API. Ryan C. Gordon 2023-06-24 15:46:40 -04:00
  • 3a02eecced test: Update testsurround for SDL3 audio API. Ryan C. Gordon 2023-06-24 15:41:20 -04:00
  • e1c78718d4 test: testaudiocapture is updated for the SDL3 audio API. Ryan C. Gordon 2023-06-24 14:57:12 -04:00
  • f48cb716c2 pulseaudio: a couple minor tweaks. Ryan C. Gordon 2023-06-24 14:56:54 -04:00
  • dac25fe9eb audio: Seperate audio capture into Wait/Read operations. Ryan C. Gordon 2023-06-24 14:51:39 -04:00
  • 3e10c0005d audio: Capture devices should respect logical device pausing. Ryan C. Gordon 2023-06-24 14:53:44 -04:00
  • 7e700531c5 audio: Allow SDL_OpenAudioDevice to accept a NULL spec. Ryan C. Gordon 2023-06-24 14:54:05 -04:00
  • bb1cbbd33a test: Update testaudioinfo for SDL3 audio API. Ryan C. Gordon 2023-06-24 11:24:51 -04:00
  • 883aee32c5 audio: Let default formats differ for output and capture devices. Ryan C. Gordon 2023-06-24 11:24:24 -04:00
  • 62cf24eeb9 pulseaudio: Listen for server events in addition to sources and sinks. Ryan C. Gordon 2023-06-24 11:21:08 -04:00
  • 924f370bd7 pulseaudio: Fix deadlock in HotplugThread. Ryan C. Gordon 2023-06-24 11:13:23 -04:00
  • 5d4e9e5f80 test: Updated testaudiostreamdynamicresample to SDL3 audio API. Ryan C. Gordon 2023-06-24 01:44:12 -04:00
  • f883b9fc64 test: Updated testaudiohotplug to SDL3 audio API. Ryan C. Gordon 2023-06-24 01:35:12 -04:00
  • 2be5f726d4 audio: Removed debug logging. Ryan C. Gordon 2023-06-24 01:35:03 -04:00
  • 323ecce123 docs: Added migration note about SDL_AUDIODEVICEREMOVED. Ryan C. Gordon 2023-06-24 01:34:30 -04:00
  • 47b0321ebf test: Removed loopwavequeue.c; obsolete in SDL3. Ryan C. Gordon 2023-06-24 00:59:33 -04:00
  • 0e5a1d4f29 pulseaudio: Removed debug logging. Ryan C. Gordon 2023-06-24 00:48:05 -04:00
  • f598626e46 test: loopwave shouldn't use an audiostream callback. Ryan C. Gordon 2023-06-24 00:46:33 -04:00
  • eee407caf8 docs: migration guide note that SDL_LoadWAV has a different return type. Ryan C. Gordon 2023-06-24 00:36:19 -04:00
  • b03c493fc4 test: Updated testmultiaudio to new SDL3 audio API Ryan C. Gordon 2023-06-24 00:34:02 -04:00
  • fe1daf6fb5 audio: Mark disconnected default devices as "zombies". Ryan C. Gordon 2023-06-23 21:50:24 -04:00
  • cdd2ba81de audio: Fixed adding new physical devices to a double-linked list. Ryan C. Gordon 2023-06-23 21:42:48 -04:00
  • db39cbf208 audio: Allow SDL_GetAudioDeviceFormat() to query the default devices. Ryan C. Gordon 2023-06-23 14:32:25 -04:00
  • ee10bab3cd audio: An enormous amount of work on managing default devices. Ryan C. Gordon 2023-06-23 02:37:48 -04:00
  • c7a44eea83 audio: Fixed logic error. Ryan C. Gordon 2023-06-22 18:31:33 -04:00
  • 089cd87cb5 audio: Make sure device count stays correct as hardware disconnects. Ryan C. Gordon 2023-06-22 18:31:03 -04:00
  • e50cb72eb6 docs: Note that audio opening doesn't implicitly init SDL now. Ryan C. Gordon 2023-06-22 18:29:45 -04:00
  • 97b2f747d0 docs: Corrections to audio section of README-migration.md Ryan C. Gordon 2023-06-22 01:17:16 -04:00
  • 464640440f audio: Added SDL_GetAudioStreamBinding. Ryan C. Gordon 2023-06-22 01:00:12 -04:00
  • 01f7b53865 audio: Readded (logical) device pausing. Ryan C. Gordon 2023-06-22 00:59:26 -04:00
  • fd4c9f4e11 audio: documentation improvements. Ryan C. Gordon 2023-06-21 23:34:43 -04:00
  • 4b78b789a7 audio: Switch SDL_audio.c and SDL_audiocvt.c to C99-ish syntax. Ryan C. Gordon 2023-06-21 01:02:47 -04:00
  • d96a1db7d7 audio: Opening via a logical device ID should also track default device. Ryan C. Gordon 2023-06-21 00:05:10 -04:00
  • b2e020958f audio: Wrap device access in opening of logical devices. Ryan C. Gordon 2023-06-20 23:35:24 -04:00
  • 7ee2459927 audio: Check for unlikely failure case in WAV loaded. Ryan C. Gordon 2023-05-30 01:09:21 -04:00
  • 3d65a2cefe audio: Made SDL_LoadWAV a real function, not just a macro. Ryan C. Gordon 2023-05-30 01:08:56 -04:00
  • 26525f5fd3 audio: Readd SDL_AudioSpec, but just with format/channels/freq fields. Ryan C. Gordon 2023-05-30 01:08:22 -04:00
  • e6aaed7d79 include: Audio is not, and has not been, a raw mixing buffer for a long time. Ryan C. Gordon 2023-05-29 23:24:21 -04:00
  • 56b1bc2198 audio: SDL_AudioStream now has callbacks for Get and Put operations. Ryan C. Gordon 2023-05-28 22:39:39 -04:00
  • 905c4fff5b audio: First shot at the SDL3 audio subsystem redesign! Ryan C. Gordon 2023-05-12 23:37:02 -04:00
  • b221b59995 cmake: add SDL_REVISION option 1vanK 2023-07-30 00:16:32 +03:00
  • dda971833e Add missing break Mathieu Eyraud 2023-07-29 15:56:00 +02:00
  • 82cd3bfe1c Add missing break Mathieu Eyraud 2023-07-29 15:56:00 +02:00
  • 0500fca00c Add missing break Mathieu Eyraud 2023-07-29 15:56:00 +02:00
  • 38a5aed974 minor os/2 stuff merged from the bitwiseworks' fork Ozkan Sezer 2023-07-28 23:55:50 +03:00
  • 7cc3248044 minor os/2 stuff merged from the bitwiseworks' fork Ozkan Sezer 2023-07-28 23:55:50 +03:00
  • 3845fd3c49 fixed typo in prev. patch. Ozkan Sezer 2023-07-28 07:35:24 +03:00
  • 3e341021c3 fixed typo in prev. patch. Ozkan Sezer 2023-07-28 07:35:14 +03:00