Commit Graph

23 Commits

Author SHA1 Message Date
BearOso
e55b13315b Gtk: Tweak sound drivers for better performance. 2023-04-02 12:47:08 -05:00
BearOso
a8fafcd94c Gtk: Clean up a couple sound drivers.
Make them more idiomatic C++.
2022-03-12 11:19:39 -06:00
BearOso
34b6160805 pulseaudio: Fix potential stall with Pipewire
Pipewire allows very small buffer sizes. It's possible that Snes9x
will accumulate enough samples in fast-forward to exceed this.
Instead of waiting forever for the buffer capacity to free up, just
write the number of samples for the free space after one small wait.
2021-12-20 12:21:43 -06:00
Brandon Wright
e17ff69533 Gtk: Switch codebase to gtkmm.
GTK: Remove support for GTK+ 2.0.

GTK 3 is stable and widespread enough now.

GTK: Rearrange headers to eliminate gtk_s9xcore.h

Gtk: Initial gtkmm conversion work.

Gtk: More gtkmm conversion and bug fixing.

Gtk: More gtkmm fixes.

Gtk: More Fixes

OpenGL no longer creates a second window.
Accelerators are fixed.

Gtk: More fixes

Removed GLX context dependency on Gtk.

Gtk: Fix formatting.

Gtk: Remove a #pragma once
2020-07-17 14:48:34 -05:00
Brandon Wright
2164c86158 Remove S9xFinalizeSamples. 2019-02-12 18:27:33 -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
Brandon Wright
2ba6553c14 GTK: SoundSync is now handled in the drivers. 2019-02-09 18:48:17 -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
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
fcdead0028 GTK+: Use lowercase true/false, bool in more places. 2018-12-28 17:07:32 -06:00
Brandon Wright
f0ddb097f9 Mark all of GTK+ with header stub, and a couple others. 2018-11-15 17:42:29 -06:00
Brandon Wright
c5038bc9fe GTK+/style: Remove explicit returns in void funcs. 2018-11-02 16:48:20 -05:00
Brandon Wright
a04ccfc02c GTK+: Style: Remove voids from parameter list. 2018-11-02 15:52:26 -05:00
Brandon Wright
c35360b567 Silence a couple warnings. 2018-05-14 11:20:12 -05:00
Brandon Wright
5e6b9f068a Fix assertion on PulseAudio driver exit. 2017-12-07 11:36:50 -06:00
Brandon Wright
12d73bbf25 Remove some vestiges from sound code. 2017-11-30 18:14:17 -06:00
Brandon Wright
e292045572 Handle PulseAudio case where no data can be written. 2017-11-24 19:35:49 -06:00
Brandon Wright
ea9dc6307b Move newline. 2017-11-22 19:28:41 -06:00
Brandon Wright
a34dbef0b9 Remove debugging printfs. 2017-11-22 18:18:33 -06:00
Brandon Wright
d12121cec9 Update PulseAudio driver to full API. 2017-11-22 18:14:49 -06:00
OV2
d1666860e0 Initial 1.52 import 2010-09-25 17:46:12 +02:00