summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/sound/sound_module.cpp
Commit message (Collapse)AuthorAgeFilesLines
* -sound/js_sound.cpp: Blind attempt at updating for base class changes. Vas Crabb2025-06-271-2/+2
| | | | -Metadata corrections, missed srccleanin.
* Various fixes: Vas Crabb2025-06-251-25/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* sound: Olivier Galibert2025-06-171-2/+14
| | | | | | | | 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/xaudio2_sound.cpp: Changed buffering strategy for output streams. Vas Crabb2025-06-061-1/+0
| | | | | | | | | | | | | | | | | * 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.
* Aloow seperate display and configuration names for sound nodes Olivier Galibert2025-05-291-1/+2
|
* -sound: Removed DirectSound sound module. Vas Crabb2025-05-291-4/+4
| | | | | -sound/xaudio2_sound.cpp: Use more fine-grained locking in voice callbacks, simplified further simplified buffer queueing.
* sound: A few refinements: Vas Crabb2025-05-271-12/+44
| | | | | | | | * sound/sound_module.cpp: Recirculate buffers rather than removing them to reduces allocations. * sound/sound_module.cpp: Scale the number of samples to skip on overrun according to the packet size. * sound/xaudio2_sound.cpp: Hide endpoint devices in "unplugged" state.
* -sound/wasapi_sound.cpp: Improved error handling and buffer management. Vas Crabb2025-05-261-0/+8
| | | | | | | | | | | | | | | | | | | | | -lib/osdobj_common.cpp: Made WASAPI sound the default on Windows and made DirectSound lower priority than XAudio2. -osd/eminline.h: Made multiply/divide helper names a bit more consistent with other functions. -osd/eigcc.h: Moved helpers that use the __int128 type here, and fixed availability detection for them. -osd/eigccx86.h: Added fast multiply/divide helpers for x86-64. -docs: Updated the list of supported sound modules. -exidy/exidy.cpp: Use the 1 Coin/1 Credit setting listed in the manual for Venture by default. -emu/sound.cpp: Fixed GCC uninitialised local variable warnings in sound_manager::run_effects().
* osd: Various cleanup and fixes: Vas Crabb2025-05-211-13/+42
| | | | | | | | | | | | * osd/interface/audio.h: Implemented movable and swappable patterns (reduces allocation and copying). * monitor/monitor_module.h: Got rid of a C string pointer, avoid the need for a static string object. * sound/sound_module.cpp: Moved default implementation stuff out of the header, use algorithm library in place of memcpy. * sound/pa_sound.cpp: Fixed a non-const global that should be const. * monitor/monitor_dxgi.cpp: Fixed an object leak. * Cleaned up some use of COM and COM-like things.
* New sound infrastructure. Olivier Galibert2025-04-271-0/+61
Should be added soon: - mute - speaker/microphone resampling To be added a little later: - compression - reverb Needs to be added by someone else: - coreaudio - direct - portaudio - xaudio2 - js