aboutsummaryrefslogtreecommitdiff
path: root/audio
AgeCommit message (Collapse)Author
2013-08-21MT-32: Sync with the latest changes in muntFilippos Karapetis
2013-07-18Merge pull request #353 from clone2727/eventrec_timer_fixEugene Sandulenko
ALL: Don't use EventRecorder at all when not compiled in
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-07-06ALL: Don't use EventRecorder at all when not compiled inMatthew Hoops
2013-07-06AUDIO: Further fix to ReportHandlerScummVM::printDebug in MT32 code.D G Turner
2013-07-04AUDIO: Fix ReportHandlerScummVM::printDebug in MT32 code.Johannes Schickel
Formerly it tried to pass 'va_list' as '...' to debug. Now it's first creating a String containing the output via String::vformat and then passing it to debug. Found by buildbot (master-dc). The warning message was: audio/softsynth/mt32.cpp:65: warning: cannot pass objects of non-POD type `struct va_list' through `...'; call will abort at runtime
2013-07-04Merge pull request #331 from sev-/gsoc2012-eventsrecorderEugene Sandulenko
GSoC2012: Event Recorder (reworked)
2013-07-02MT-32: Sync with the latest changes in muntFilippos Karapetis
This syncs our code with munt commits 258cd89 and 17b40a6
2013-05-17AUDIO: Reduce callback frequency of the MT-32 emulator.Johannes Schickel
Formerly the frequency was at 10000Hz. This resulted in 3,4 or even only 1 sample to be generated between callbacks on my system. All the other MIDI drivers use a much lower frequency here. The MidiDriver_Emulated subclasses use a frequency of 250Hz (by default) and the MidiDriver_MPU401 subclasses (which are for example the ALSA output) use 100Hz. With the new frequency of 250Hz 128 samples are generated between callbacks. This will hopefully reduce the overhead of the MT-32 emulator (the engine's code was run 10000 times a second too) a bit. I talked with KingGuppy and it seems the value was increased in the past (still with the very old MT-32 emulator code) because there were accuracy issues. However, I gave the lower frequency a quick test with the MI1, MI2 and ITE intro and didn't spot any obvious differences. As a result, KingGuppy and I agreed to lower it back to 250Hz. If there are any problems coming up we can still slightly increase the frequency to 1000Hz for example. Thanks to waltervn for noticing this. Thanks to KingGuppy for discussion.
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2013-05-04XMIDI: Forget old loop points when changing trackTorbjörn Andersson
This fixes warnings that would appear after a little while in Kyrandia 2, which would happen because every time the music changed it would add a new loop point. This was probably harmless because once the list was full it would keep re-using the last element, and I imagine all songs were set to loop forever. But this should be more correct, as I understand it.
2013-05-02AUDIO: Fix uninitalized variable. CID 1003160Eugene Sandulenko
2013-05-02AUDIO: Fix unitialized variable. CID 1003161Eugene Sandulenko
2013-05-02AUDIO: Fix unitialized variable. CID 1003162Eugene Sandulenko
2013-05-01MT32: Fix some non-initialized fields in MidiDriver_MT32 - CID 1002949Filippos Karapetis
2013-05-01AUDIO: Add missing breaks to switch statement - CID 1003770Filippos Karapetis
A mistake in commit 3dc788da63520b8baad2b5c0726f34168ab55356
2013-04-28AUDIO: Fix identation. CID 1003641Eugene Sandulenko
2013-04-28AUDIO: Do not error out when channel offset >= length after interrupt()Sven Hesse
This fixes a Protracker module in the OS/2 version of Hopkins FBI (bug #3612101). In row 0x30 of the first pattern, the set channel offset effect in the fourth track pushes the offset past the sample (repeat) length. This is not error; the mixing function already handles this case flawlessly. No assert() is necessary there.
2013-04-21AUDIO: Handle empty parent stream in LoopingAudioStreamWillem Jan Palenstijn
This should fix bug #3571139.
2013-04-20AUDIO: Cleanup namingMatthew Hoops
2013-04-20AUDIO: Remove default makeADPCMStream rate/channels valuesMatthew Hoops
2013-04-18AUDIO: Remove unused MixerImpl::_syst member varMax Horn
2013-04-16AUDIO: Fix invalid free callMatthew Hoops
2013-03-27MT-32: Sync with the latest changes in muntFilippos Karapetis
This syncs our code with munt commit 15e9f65
2013-03-03MT-32: Sync with the latest changes in muntFilippos Karapetis
2013-03-03MT-32: Also replace cosf() (C99) with cos()Filippos Karapetis
2013-03-03MT-32: Avoid using sinf() (which is C99) in favor of sin()Filippos Karapetis
2013-03-02MT32: Sync with the latest changes in muntFilippos Karapetis
The major change is the addition of a refined wave generator based on logarithmic fixed-point computations and LUTs
2013-03-02MT32: Update copyright yearFilippos Karapetis
2013-02-15Merge branch 'master' into hopkinsDreammaster
2013-02-04MT32: Also attempt to load roms named CM32L_CONTROL.ROM / CM32L_PCM.ROMFilippos Karapetis
This was accidentally removed in commit 5711d23
2013-02-04MT32: Sync with the latest changes in muntFilippos Karapetis
This syncs our code with munt commit ee380de
2013-01-27HOPKINS: Work around broken cadavre.mod in OS/2 and BeOS versionsTorbjörn Andersson
A large part of cadavre.mod is broken. No new notes play, and only the old background sounds remain. It's possible, perhaps even probable, that the original MOD player didn't have this problem, but all standalone players I've tried do, so I'm assuming it's the file that's broken. We work around it by changing the length of the song after it's been loaded to only include the good parts.
2013-01-26JANITORIAL: Use "End of anonymous namespace" as comment for anonymous ↵Johannes Schickel
namespaces.
2013-01-26JANITORIAL: Enforce "} // End of namespace" with a single space after }.Johannes Schickel
2013-01-26AUDIO: Mention that the Hopkins engine uses Protracker as wellTorbjörn Andersson
2013-01-26Merge pull request #301 from lordhoto/c++11-playgroundJohannes Schickel
RFC: Allow use of override and nullptr. Also allow C++11 compilation.
2013-01-26Merge branch 'eriktorbjorn-fluidsynth-settings'Johannes Schickel
This is a manual merge of a slightly adapted pull request #296. The changes made are: - Each time the theme format changes, the version was increased - default.inc has been regenerated in the same commit as the theme changes
2013-01-26GUI: Make the FluidSynth settings dialog a bit more like QsynthTorbjörn Andersson
To help people familiar with Qsynth (I'm not, but it seems to be one of the more polished FluidSynth front ends), use the same presentation and terminology for the FluidSynth settings. More to follow.
2013-01-26FLUIDSYNTH: Add separate dialog for FluidSynth settingsTorbjörn Andersson
I don't really understand what these parameters do, or what the sensible values are, so for now the sliders are limited only by the allowed (or, in one case, "safe") values.
2013-01-24JANITORIAL: Fix ){ -> ) {Einar Johan Trøan Sømåen
2013-01-19MT32: Sync with the latest changes in muntFilippos Karapetis
This syncs our code with munt commits 535bf96, 934c116, 1643d07 and 2eac585
2013-01-09AUDIO: Silence C++11 narrowing warnings.Johannes Schickel
2013-01-06MT32: Remove the screen drawing code of the MUNT debug messages (bug #3599702)Filippos Karapetis
The MUNT debug messages are called from an audio callback, which is not allowed to update the screen, as per the OSystem documentation in common/system.h:401
2013-01-06MT-32: Only show MUNT debug messages for debug level 4 and above (bug #3599702)Filippos Karapetis
This avoids showing warnings in the intro of FOTAQ when using the MT-32 emulator
2013-01-02COPYRIGHT: After a discussion it with KingGuppy, revert copyright ↵Strangerke
modification in some Munt files (thanks LordHoto for pointing it)
2013-01-02JANITORIAL: Update copyright yearStrangerke
2013-01-02MT-32: Sync with the latest changes in muntFilippos Karapetis
This syncs our code with munt commits 3f0db2d and 2c5f314
2012-12-27MT32: Add missing initialization codeFilippos Karapetis
This code wasn't added when syncing with the official munt codebase
2012-12-27MT32: Move the ROM file deletion code to the ScummVM MT32 driverFilippos Karapetis
This removes the custom ScummVM file deletion code in the munt code