summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/sound
Commit message (Collapse)AuthorAgeFilesLines
* (nw) Clean up the mess on master Vas Crabb2019-03-261-7/+2
| | | | | | | | | | | | | This effectively reverts b380514764cf857469bae61c11143a19f79a74c5 and c24473ddff715ecec2e258a6eb38960cf8c8e98e, restoring the state at 598cd5227223c3b04ca31f0dbc1981256d9ea3ff. Before pushing, please check that what you're about to push is sane. Check your local commit log and ensure there isn't anything out-of-place before pushing to mainline. When things like this happen, it wastes everyone's time. I really don't need this in a week when real work™ is busting my balls and I'm behind where I want to be with preparing for MAME release.
* Revert "conflict resolution (nw)" andreasnaive2019-03-251-2/+7
| | | | | This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing changes made to 009cba4fb8102102168ef32870892438327f3705.
* sdl_sound.cpp: Remove leftover variable (nw) Enik Land2019-02-181-3/+0
|
* (nw) remove some superfluous const, eliminate a superfluous temp, remove ↵ Vas Crabb2019-02-181-4/+2
| | | | superflous semicolons, etc. and also fix a known broken build script change
* Workaround for Web Audio autoplay restrictions in Chrome 71 [Justin Kerk] Justin Kerk2018-12-301-6/+12
|
* clean up sdl_sound a bit (nw) Vas Crabb2018-12-251-113/+74
|
* xaudio2: fix wrong dll, regression from ↵ hap2018-12-121-3/+3
| | | | | | a10fcd31d3d8add2424467f981d4405f06c920fb (nw) https://mametesters.org/view.php?id=7170
* Android compile fix (#4395) Miodrag Milanović2018-12-111-4/+4
| | | | | | | | | | * Fix compile for Android, set API to 24 * Update Android Studio project to API 24 * Fixed project file to latest Android Studio * fix build with gradle alone
* sdl_sound.cpp: Rework the circular buffer Celelibi2018-12-091-196/+164
| | | | | | | | | | Previous code had several oddities. Like checks against buffer overflows / underflows done at several places in the code, usage of a spinlock, unnecessary use of "volatile" qualifier, redundant informations about the circular buffer and exposed details about the split nature of ranges in the buffer. This lead to an unlikely deadlock once in a great while. Signed-off-by: Celelibi <celelibi@gmail.com>
* add missing override (nw) smf-2018-03-152-8/+8
|
* Fix sound_sdl::sdl_callback, fill buffer with silence when underflow. 057a3dd61f99517a3afea0051a49cb27994f94d2017-06-251-0/+1
| | | | | | | | | | | | | The problem is most noticeable when you are saving state, and the save takes a relatively long time, short period of audio gets played repeatedly, which is usually unpleasant. I found out it's caused by sdl_sound::sdl_callback not fill the audio buffer with silence when underflow occurs. According to https://wiki.libsdl.org/SDL_AudioSpec, if there's nothing to play, the callback should fill the buffer with silence. I tested this change and the problem is gone.
* Fix issues on 32-bit builds and clamp latency intealls2017-01-301-3/+13
|
* Fixed building using system portaudio Julian Sikorski2017-01-261-1/+1
|
* srcclean (nw) Vas Crabb2017-01-221-2/+2
|
* rename variables to maintain consistent with coreaudio/sdl etc intealls2017-01-191-24/+24
|
* fix up initialization intealls2017-01-191-1/+2
|
* Simplify the audio buffer and fix a wrap-around issue intealls2017-01-181-16/+12
|
* fix indentation, leading spaces to tabs intealls2017-01-151-315/+315
|
* some osd_printf_verbose calls should be to osd_printf_error intealls2017-01-141-4/+4
|
* fix memory leak and log error checking intealls2017-01-141-9/+8
|
* tabs to spaces intealls2017-01-141-317/+317
|
* Initial PortAudio backend with build script changes to support library ↵ inte alls2017-01-111-0/+438
| | | | version 20161030
* Move special windows.h include directives to build defines (nw) Brad Hughes2016-12-282-6/+0
|
* Merge pull request #1749 from bradhugh/dynamic_api Vas Crabb2016-12-021-15/+5
|\ | | | | Created DYNAMIC_API macros for dynamic bind helper classes
| * Update name of DYNAMIC_API macros (nw) Brad Hughes2016-12-011-5/+5
| |
| * Simpler low-cost implementation making modules and function pointers class ↵ Brad Hughes2016-11-211-9/+5
| | | | | | | | members instead (nw)
| * Changing singleton to be thread safe (nw) Brad Hughes2016-11-201-1/+1
| |
| * Created DYNAMIC_API macros for cleaner definition of dynamically linked ↵ Brad Hughes2016-11-201-14/+8
| | | | | | | | functions
* | srcclean (nw) Vas Crabb2016-11-271-1/+1
|/
* Change window handle storage to template instead of void* (nw) (#1725) Brad Hughes2016-11-171-2/+2
| | | | * Change window handle storage to template instead of void* (nw)
* Enable sound for UWP (well that was easy) (nw) Brad Hughes2016-11-111-1/+1
|
* simplified memory allocation for osd_module (nw) Miodrag Milanovic2016-11-111-0/+2
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-228-67/+67
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* Fix two leaks (nw) Brad Hughes2016-10-031-4/+0
|
* Minor XAudio2 tweak to not always submit buffers if not needed (nw) Brad Hughes2016-08-171-4/+14
|
* Try to fix audio delay regression caused when fixing -refreshspeed for Antonio Giner2016-08-151-0/+4
| | | | -sound xaudio2
* Fix audio distortion with -refreshspeed and -sound xaudio2 (MT 06199) Antonio Giner2016-08-111-5/+2
|
* patch up on OSX Vas Crabb2016-08-011-2/+2
|
* algorithm-> utility where appropriate, fix imgtool (nw) Miodrag Milanovic2016-07-312-2/+2
|
* fix osx compile (nw) Miodrag Milanovic2016-07-311-2/+2
|
* std::min and std:max instead of MIN and MAX, also some more macros converted ↵ Miodrag Milanovic2016-07-314-15/+21
| | | | to inline functions (nw)
* Misc code cleanups for Direct3D code Giuseppe Gorgoglione2016-07-011-0/+0
| | | | Removed unused methods, unused function parameters, redundant casts, doubly linked lists made into singly linked lists, etc.
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-2/+2
|
* Add XAudio2 init time logging Brad Hughes2016-06-181-1/+6
|
* Add WINAPI to other needed functions for stdcall calling convention on 32-bit Brad Hughes2016-06-151-1/+1
|
* Introduce dynamic_module Giuseppe Gorgoglione2016-06-111-29/+33
| | | | | This is a central cross-platform facility to dynamically bind functions from shared libraries. Updated all OSD modules to use it.
* Move window_list to osd_common_t Brad Hughes2016-06-111-2/+2
|
* Unify window_list in Windows and SDL OSD Brad Hughes2016-06-101-2/+2
|
* Ensure XAudio2 doesn't crash when no sound card present. Brad Hughes2016-06-031-28/+48
|
* Cleanups and version bumpmame0174 Miodrag Milanovic2016-05-251-1/+1
|