Commit Graph

35 Commits

Author SHA1 Message Date
adelikat 7e49c9457d Move stuff from GlobalWinF to Global 2013-10-27 16:26:37 +00:00
zeromus fa40ae718f reapply edits and cleanup 2013-10-27 07:54:00 +00:00
zeromus 179dbd4124 revert back to r5156 2013-10-27 07:45:59 +00:00
adelikat cf6e72aad4 Move controller binding to client.common, and some global stuff 2013-10-25 17:14:24 +00:00
zeromus 1a2b2c3dc5 attempt to reconstruct reorg with history 2013-10-25 00:57:23 +00:00
zeromus 249ddea268 revert to pre-refactor state. its a WIP, dont judge 2013-10-25 00:34:01 +00:00
adelikat 6c54faa7ab Rename Client.Core to BizHawk.Client.Common, and change all namespaces, reorganize some files, remove the LuaHawk project as it was a bad idea, change namespace in the PCE_Debugger project 2013-10-20 16:19:59 +00:00
adelikat 067363b80d Start a Client.Core project, and moved several files over to this, including Global.cs, made a GlobalWinF class for handling winform specific global instances 2013-10-20 00:00:59 +00:00
goyuken 56d5d1ef5a direct sound: you can now choose which of your devices to play out of. note that although you can make the change in the UI at any time, you actually have to restart the whole bizhawk to initialize on the new device. 2013-06-02 00:49:40 +00:00
adelikat e32eaeeb9a More code cleanup 2013-04-16 00:19:31 +00:00
goyuken 5f854466ab sound: fudge up some parameters of BufferedAsync. the most noticeable difference is that PAL NES with clock throttle no longer sounds horrible 2012-12-23 20:26:43 +00:00
goyuken 210d415e3d Add Blargg's "blip_buf" as an unmanaged dll. license is LGPL; if I like the way it works, I'll rewrite it with MIT code. Implement it as the new resampling output track for NES. Small (~3%)? speedup. Should sound better, especially when the emulator can't quite keep speed. 2012-12-09 03:13:47 +00:00
goyuken 92827272a6 reunbreak turbo (both normal turbo and turboturbo) with sound throttling 2012-10-11 01:00:36 +00:00
goyuken b40897bb77 sound api changes. added a new ISyncSoundProvider, which works similarly to ISoundProvider except the source (not the sink) determines the number of samples to process. Added facilities to metaspu, dcfilter, speexresampler to work with ISyncSoundProvider. Add ISyncSoundProvider to IEmulator. All IEmulators must provide sync sound, but they need not provide async sound. When async is needed and an IEmulator doesn't provide it, the frontend will wrap it in a vecna metaspu. SNES, GB changed to provide sync sound only. All other emulator cores mostly unchanged; they just provide stub fakesync alongside async, for now. For the moment, the only use of the sync sound is for realtime audio throttling, where it works and sounds quite nice. In the future, sync sound will be supported for AV dumping as well. 2012-10-11 00:44:59 +00:00
goyuken 927fb7070c sound throttle now respects forced throttle off (user hits fastfoward button, etc) 2012-10-10 17:19:51 +00:00
goyuken 05500ac6b1 more efficient sleeping in sound throttle system 2012-10-02 22:05:07 +00:00
goyuken 2a2ce9891c round up number of samples requested in audio throttle mode to work around quirk in vecna metaspu. a better solution will be coming, sometime 2012-10-02 01:05:29 +00:00
goyuken 66dd752f77 realtime sound throttling. i don't think this implementation is very good, but hopefully it's a starting point. to test it, disable other forms of throttling first (vsync, frame limit). 2012-10-01 15:20:41 +00:00
adelikat 9a86b483d7 Remove speed hack on sound off for NES core, I've been told bypassing the APU isn't TAS safe 2012-07-05 19:27:07 +00:00
peter e310e90d9f Conditionally compile Windows code, make Throttle class portable, and add dummy input/audio implementations for non-Windows
This is (almost, bar some local resource hacks) enough to start the
emulator on Linux/Mono, load a ROM and watch the demo (input and
audio don't work yet).
2012-03-12 04:44:34 +00:00
zeromus e41f9d2a41 survive dsound initialization failure 2012-03-02 03:39:09 +00:00
andres.delikat 942a9e086a Add a SoundOn flag to the nes core and hook to the sound on/off in sound config. the flag bypasses the apu.run function. the apu read/writes are still going, and seems to be TAS safe to do this 2011-08-27 15:49:16 +00:00
andres.delikat 60a4ea4426 Refactor movie code - a Loaded property, removed a lot of code that was a work around for this needed feature, movie can not write to disk unless this property is true 2011-07-30 23:59:31 +00:00
andres.delikat e9381dc06e Sound Volume - better algorithm for a smoother sound up/down 2011-06-11 17:42:16 +00:00
andres.delikat 56cce7ab2b Rip out sample rate config 2011-06-04 01:03:13 +00:00
andres.delikat 47b9487bd3 Sound Config - Sample rate config 2011-05-25 02:00:44 +00:00
andres.delikat 77afbe240d Sound Config - hook up sound enabled checkbox and implemented the feature. 2011-05-25 01:33:54 +00:00
andres.delikat 115517c795 Volume control hooked up 2011-05-24 01:20:08 +00:00
zeromus c7f0c457ad [NES] work on sound, improve square waves muchly, add 6502 IRQ signal, make add some infrastructure to keep from buffering samples while core is silenced. 2011-03-19 09:12:56 +00:00
zeromus 0eda3bd2ab make sound toggling work a little better 2011-03-13 19:30:56 +00:00
andres.delikat 4f81ee8f9d MemoryViewer - click an address to hide it (currently single address highlighting only). Still some issues to work out with it. 2011-03-07 17:51:54 +00:00
zeromus 0f9c38f50b fix sound buffering bugs and restore hookups for mute frameadvance option 2011-02-21 19:06:54 +00:00
zeromus f9d7a15ee5 do some prepwork for proper main loop control and throttling 2011-02-20 08:40:22 +00:00
zeromus d92a5f36ff better sound? 2011-02-05 21:25:58 +00:00
beirich 89e4c5a674 2011-01-11 02:55:51 +00:00