summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/sound
Commit message (Collapse)AuthorAgeFilesLines
* pipewire: remove PW_STREAM_FLAG_RT_PROCESS flag due to race condition ↵ hap2026-05-051-2/+2
| | | | (abuffer get & push)
* sound_module: remove 'internal' param from get() hap2026-04-252-5/+6
|
* sound_module: fix std::memmove bytes param hap2026-04-161-2/+2
|
* adcanoe: corrections to dipswitches [Wayder], hap2026-04-081-1/+1
| | | | taitosj: small cleanup to input ports, fix array OOB access on sprite bitmap
* sound/xaudio2_sound.cpp: Added noexcept specifier for XAudio2 engine ↵ Patrick Mackinlay2026-04-061-4/+4
| | | | callbacks. (#15195)
* sound_module: update abuffer last sample on clear hap2026-04-051-2/+6
|
* sound_module: crossfade abuffer on overrun hap2026-04-052-25/+64
|
* Fixed things C++20 doesn't allow: Vas Crabb2026-03-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ui/info.cpp, imagedev/cassette.cpp: Deal with UTF-8 strings as a distint type. ui/inputmap.cpp, debugger/qt/dasmwindow.cpp, debugger/qt/mainwindow.cpp, sound/coreaudio_sound.cpp, cpu/drcbec.cpp, mit/tx0_v.cpp, konami/3dom2.cpp: machine/mc68328.cpp, cpu/mips/mips1.cpp, cpu/mips/r4000.cpp, cpu/romp, machine/cammu.cpp, machine/ns32081.cpp: Avoid arithmetic between different enum types. dec/pdp1.cpp, konami/firebeat.cpp, mit/tx0.cpp, sound/lc7535.cpp, sound/spkrdev.cpp: Avoid arithmetic between enum and floating point. gaelco/gaelco3d_m.cpp: Fixed deprecated uses of volatile variables. sound/discrete.h: Avoid comparing enum to floatint point. ui/toolbar.ipp: Don't use UTF-8 qualifier on pure ASCII strings, just assume char is ASCII-like. cpu/unsp: Use default constructor for compiler_state. sgi/pm2_mmu.cpp: Avoid conflict between file static access and identically named function in unistd.h. osd/interface/audio.h: Provide an explicit constructor. util/server_http_impl.hpp: Fixed uninitialised class member warning.
* Revert "sdl3_sound: don't hardcode max frames to 8" arbee2026-03-211-4/+3
| | | | | | This reverts commit 2ad7438fb07efd2ebcfa439f001522ad614cefcf. This is not the correct way to implement max_latency for SDL3.
* sdl3_sound: don't hardcode max frames to 8 hap2026-03-211-3/+4
|
* sdl3_sound.cpp: Rate-limit the output stream so it doesn't queue up to ↵ arbee2026-03-201-6/+14
| | | | infinity when you unthrottle. (MAMETesters #9401) [R. Belmont]
* sound abuffer: fix wrong assumption that samplerate is fixed at 48000 hap2026-03-1910-25/+27
|
* sound abuffer: audio latency is a float hap2026-03-122-3/+3
|
* coreaudio: forward latency to abuffer hap2026-03-121-0/+1
|
* sound_module: update notes hap2026-03-122-10/+7
|
* sound abuffer: derive min_buffers from max_buffers, add over/underrun stats hap2026-03-122-12/+21
|
* sound: forward audio latency setting to abuffer hap2026-03-115-17/+37
|
* sound abuffer: it was still getting a buffer underrun sometimes after ↵ hap2026-03-111-5/+4
| | | | overflow when reduced to 1
* sound abuffer: after overflow, reduce buffers to 1 instead of clear hap2026-03-112-13/+21
|
* sound: change abuffer resync to more abrupt hap2026-03-112-17/+39
|
* Initial support for SDL3. [R. Belmont, Vas Crabb] arbee2026-02-072-3/+375
| | | | | | | | | * SDL3 is the default for macOS targets. Linux/Windows can build with OSD=sdl3 while we wait for better distro support for SDL3. Both X11 and Wayland sessions are fully supported on Linux. * SDL3 -sound=sdl supports both input and output. All other video, sound, and input functionality should otherwise be the same for now. SDL 3.4+ multiple keyboard/mouse support is planned.
* sound/sdl_sound.cpp: Revert accidentally committed part of ↵ AJR2026-02-011-4/+0
| | | | bc2ded0443e81306b787ffc9c9f5f1e4667e9ca1
* z8: Add Z8691 and Z86C91 ROMless types AJR2026-02-011-0/+4
|
* coreaudio_sound: apply a default channel mapping for devices where macOS ↵ arbee2026-01-171-3/+11
| | | | gives no layout information, like MacBook internal speakers. Fixes things being in mono when they shouldn't. [R. Belmont]
* swp00: Overhaul of the synthesis part, effects to follow Olivier Galibert2025-11-141-0/+3
|
* sdl_sound.cpp: Fall back to 2 channels if 0 channels are detected on a ↵ Manuel Alfayate Corchete2025-07-041-0/+4
| | | | device. (#13908)
* pa_sound: can use unordered_map instead of map hap2025-07-031-1/+1
|
* pa_sound: re-add printf list of found devices with -verbose, and add a check ↵ hap2025-07-031-7/+25
| | | | for duplicate device names
* coreaudio_sound.cpp: __MAC_12_0 is 120000 (AvailabilityVersions.h) (#13890) ksherlock2025-07-011-1/+1
|
* sound/js_sound.cpp: Hopefully fix Emscripten build; zx81_cass.xml: Fixed an ↵ Vas Crabb2025-06-281-1/+1
| | | | obvious typo.
* Fix copy/paste error breaking build, and some space indents. Vas Crabb2025-06-271-1/+1
|
* -sound/js_sound.cpp: Blind attempt at updating for base class changes. Vas Crabb2025-06-273-8/+88
| | | | -Metadata corrections, missed srccleanin.
* Various fixes: Vas Crabb2025-06-259-136/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ui: The new menus were unusable with a touchscreen, and not conducive to localisation. It's still not possible to add sound routes with a touchscreen, but at least it's possible to configure routes that exist. emu/sound.cpp: Fixed localisation issues, less temporary objects. emu/audio_effects: Fixed some localisation issues. plugins/autofire, plugins/inputmacro: Allow deleting autofire buttons or input macros without needing to use the UI Clear input. ui/selmenu.cpp, ui/imgcntrl.cpp: Use terse messages for bad media. Making these messages longer hasn't reduced support burden. Adding the version will just perpetuate the myth that you need to redownload all your ROMs for every release. ui/ui.cpp: Allow info screens to be dismissed by mouse clicks or touches. ui/sliders.cpp: Hiding the menu should preserve state. This is a design choice. sound: Avoid anything that could possibly depend on static initialisation order across transaltion units. Allow speaker position names to be localised. sound/none.cpp: Don't pretend it can create output streams.
* pa_sound: remove enters from device string hap2025-06-231-4/+7
|
* osd audio interface: initialize channel positions in header file (prevents ↵ hap2025-06-221-39/+43
| | | | channel_position constructor initializing after initializing array of channel_position in sound backends)
* mmdevice_helpers.cpp: More Windows compile fixes. [R. Belmont] arbee2025-06-161-2/+2
|
* coreaudio_sound: Fix Mac compile. [R. Belmont] arbee2025-06-161-1/+1
|
* sound: Olivier Galibert2025-06-178-123/+136
| | | | | | | | move positions to osd interface add special-casing for LFE add reverb (currently too subtle, need to find out why) vgm_visualizer: stop going OOB on the bitmap
* sound/wasapi_sound.cpp: Handle someone messing with the mixdown format right ↵ Vas Crabb2025-06-101-1/+2
| | | | as MAME exits.
* sound/wasapi_sound.cpp: Avoid another potential deadlock. Vas Crabb2025-06-101-39/+59
| | | | | | | | It's possible for a device format property update to block an activate call. There's still a race condition in that if streams get device invalidated errors before the property update arrives, the core may try and fail to create replacement streams. This at least stops it from causing a deadlock, at worst you lose sound.
* coreaudio_sound.cpp: Promote to level 2, prep for 3. [R. Belmont] arbee2025-06-091-7/+22
|
* -dynax/ddenlovr.cpp: Identified some DIP switch settings for Majiang Xingyun ↵ Vas Crabb2025-06-091-1/+1
| | | | | | | | | Shenlong, marked other settings as unknown. -sound/sdl_sound.cpp: Corrected SDL verson detection macro. -docs: A few sound documentation updates.
* -sound/gb.cpp: Initialise enough member variable to avoid branching on ↵ Vas Crabb2025-06-081-3/+10
| | | | | | | | | uninitialised memory on initial reset. * Also removed old changelog comment. -sound/sdl_sound.cpp: Allow MAME to be built with SDL 2.0.14 or 2.0.15 with limited functionality.
* -sound/xaudio2_sound.cpp: Use abuffer for bufferring input. Vas Crabb2025-06-072-103/+54
| | | | | | | | | * This simplifies the code somewhat and gives a bit more consistency across modules. * XAudio2 sound will ignore the audio latency setting for now - properly synchronising streams, etc. requires more work. -Cleaned up some recent changes.
* -sound/xaudio2_sound.cpp: Changed buffering strategy for output streams. Vas Crabb2025-06-065-31/+37
| | | | | | | | | | | | | | | | | * This should work better with output devices like Bluetooth speakers, and should be a bit smoother in general. -osd/osdfile.h: Ensure size isn't passed to ::operator delete when destructing directory entries. * osd_stat allocates additional space following the directory entry to store the name. A regular delete may pass sizeof(entry) to ::operator delete, which won't match the allocated size. This causes a problem if the runtime library checks it. (May suppress the warning in MT09137.) -sound: Got rid of dependencies on emu and frontend. We're working to reduce circular dependencies. Adding more is a regression.
* coreaudio_sound.cpp: Channel layout tag is a bitfield, not an enum. [R. Belmont] arbee2025-06-031-6/+3
|
* js_sound: correct stream_sink_update function hap2025-06-032-3/+2
|
* coreaudio_sound.cpp: Use property listeners to determine configuration ↵ arbee2025-06-021-83/+148
| | | | | | | changes instead of polling. [R. Belmont] - Device additions are now tracked in addition to removals - Changing channel configuration in Audio/MIDI Setup is now tracked
* coreaudio_sound.cpp: Move default device change check to get_generation so ↵ arbee2025-06-011-22/+14
| | | | it happens regularly. [R. Belmont]
* coreaudio_sound.cpp: Add a callback for each active device to see if it ↵ arbee2025-06-011-1/+82
| | | | becomes unavailable. [R. Belmont]