Commit Graph

1543 Commits

Author SHA1 Message Date
OV2 3c28cbf514 win32: add device selection to WaveOut 2019-02-12 19:42:03 +01:00
OV2 28f8ac8341 win32: correct audio buffer size values 2019-02-12 19:42:03 +01:00
Brandon Wright 0772e3828c win32: WaveOut: Add underrun recovery and buffer size min. 2019-02-12 12:32:47 -06:00
Brandon Wright be52994d01 GTK: Audio tweaks:
Be more intelligent about usleep times.
Use ALSA's blocking mode to wait.
2019-02-12 12:00:03 -06:00
OV2 4aa65d1df6 win32: move sound sync to sound drivers 2019-02-12 17:56:01 +01:00
OV2 761c41ba85 win32: set volume in WaveOut 2019-02-12 17:51:47 +01:00
OV2 bbc4bd2d9d win32: remove DirectSound, hook up WaveOut 2019-02-12 17:09:59 +01:00
Alias Letterman bb0a66b7f9 win32: WaveOut: Fix dumb mistake. 2019-02-11 19:45:45 -06:00
Alias Letterman ed3beae304 win32: Add a WaveOut driver. 2019-02-11 18:45:45 -06:00
Alias Letterman fd177fb317 Some extra checks in resampler.h 2019-02-11 12:32:17 -06:00
Alias Letterman 893c719ef4 win32: Process input after waiting for SoundSync. 2019-02-11 12:30:32 -06:00
Alias Letterman fcbf046b01 win32: Align some dialog positions. 2019-02-11 12:28:58 -06:00
OV2 3c928d0824 win32: remove nonexistent options 2019-02-11 17:45:08 +01:00
OV2 5fdfef70d9 win32: remove some warnings 2019-02-11 17:32:26 +01:00
OV2 c052462248 Remove a few warnings 2019-02-11 17:12:02 +01:00
Brandon Wright b54ded7081 GTK: SDL sound driver fixed. 2019-02-09 19:18:45 -06:00
Brandon Wright 2ba6553c14 GTK: SoundSync is now handled in the drivers. 2019-02-09 18:48:17 -06:00
Alias Letterman b1039e7c65 Fix Windows build. Tweak XAudio a bit. 2019-02-09 16:46:08 -06:00
Brandon Wright 845366f139 Make Resampler a class again. 2019-02-09 12:21:38 -06:00
Brandon Wright e938225cd2 APU: Remove extra buffers. 2019-02-09 12:03:34 -06:00
Brandon Wright 8c9c3eb6a4 Fix buffer overrun. 2019-02-09 11:40:42 -06:00
Brandon Wright f65b876382 GTK: Fix reading of direct modifiers from config. 2019-02-09 10:16:27 -06:00
Brandon Wright ac03facaa9 Add single sample push. 2019-02-08 20:32:42 -06:00
Brandon Wright 36406a6627 Add a consolidated resampler. 2019-02-08 20:23:18 -06:00
Brandon Wright dd4614dada GTK+: GL: Trap X11 errors on context creation. 2019-02-07 15:05:09 -06:00
Brandon Wright 5b4ca50792 GTK+: Strip out extra sound code.
No more Stereo, 16-bit or Reverse options.
2019-02-06 19:41:33 -06:00
Brandon Wright d8579ff9cb win32: XAudio2: Allow partially filling sample blocks.
Use minimal Snes9x-side buffer with XAudio2.
2019-02-06 17:29:46 -06:00
Brandon Wright 2701e7219c Get SoundSync working and don't overflow dsp buffer. 2019-02-06 15:00:45 -06:00
Brandon Wright 9994023f09 Allow use of Snes9x-side buffer if needed. 2019-02-05 19:56:59 -06:00
Brandon Wright 1a41ca21b3 Don't clear MSU if not enabled. Change sound sync level. 2019-02-05 19:34:50 -06:00
Brandon Wright c376908f2e Revert "Revert "APU: Big refactor." I'll put this in a branch."
This reverts commit 19f03c44de.
2019-02-05 17:21:23 -06:00
Brandon Wright 19f03c44de Revert "APU: Big refactor." I'll put this in a branch.
This reverts commit aebfc85cdf.
2019-02-05 17:20:23 -06:00
Brandon Wright aebfc85cdf APU: Big refactor.
Remove 8-bit, Mono, and Reverse Stereo options.
2019-02-05 16:26:22 -06:00
Brandon Wright 2f646879d3 GTK+: Tweak onscreen font a bit. 2019-02-04 14:13:00 -06:00
Brandon Wright 28d668fff7 win32: Shaders: Save parameters and restore on cancel.
Also, change "Parameters" button to "Parameters..." to indicate
it opens a dialog box.

Adjust the spacing and remove the message about custom shader files.
2019-02-02 19:08:19 -06:00
Brandon Wright b46a954874 Revert "win32: Shaders: Save parameters and restore on cancel."
This reverts commit 93a4cdea96.
2019-02-02 19:07:36 -06:00
Brandon Wright 93a4cdea96 win32: Shaders: Save parameters and restore on cancel.
Also, change "Parameters" button to "Parameters..." to indicate
it opens a dialog box.
2019-02-02 16:50:24 -06:00
Brandon Wright e678ad558d Merge remote-tracking branch 'origin/slang-win32' 2019-02-02 15:03:37 -06:00
OV2 7045cd8478 win32: pass around active shader to parameter dialog 2019-02-01 22:41:29 +01:00
OV2 1ea9bcf560 win32: let shader param dialog save slangp 2019-02-01 22:33:24 +01:00
OV2 47dce09600 win32: only reload shader if filename changes 2019-02-01 00:07:52 +01:00
Brandon Wright 0cb166862f GTK+: Add things to shader parameters dialog:
Spin buttons next to sliders for precise control.
Save as box to save a new preset.
2019-01-31 16:33:17 -06:00
OV2 1dc7eec15d win32: display slang shaders in selection dialog 2019-01-31 23:18:18 +01:00
OV2 cdf2061612 win32: adjust glslang projects to use same intermed/output folders 2019-01-31 22:57:23 +01:00
OV2 8c677dd91e win32: add glslang submodule, compile with USE_SLANG 2019-01-31 22:44:34 +01:00
Brandon Wright c9f66cf910 GTK+: matches only compared joystick bindings. 2019-01-30 17:55:22 -06:00
Brandon Wright c74b643554 Shaders: MSVC wants this explicit. 2019-01-30 12:53:47 -06:00
Brandon Wright a3149db714 Shaders: Remove 10-bit format identifiers. 2019-01-30 12:50:33 -06:00
Brandon Wright 4942c0560c Formatting. 2019-01-30 10:39:18 -06:00
Brandon Wright fc31f47fc2 Shaders: Scan source code in as few passes as possible.
Improves loading time of crt-royale significantly.
2019-01-30 10:25:19 -06:00