aboutsummaryrefslogtreecommitdiff
path: root/audio
AgeCommit message (Collapse)Author
2019-12-20AUDIO: (FLUIDSYNTH) - limit config.h include to builds that need itathrxx
makes life a bit more convenient for some MSVC users (or at least for me)
2019-12-18AUDIO: fix AmigaOS buildathrxx
2019-12-18AUDIO: (FM-TOWNS/PC-98) - fix regression from 0e734722athrxx
My commit 0e734722 causes lockups in SCUMM (sometimes) and SCI (very often). I didn't like the way I had fixed this before, but in the end I now had to do it in a similar way.
2019-12-18AUDIO: (FM-TOWNS/PC-98) - set enum members to fixed valuesathrxx
2019-12-18AUDIO: (FM-TOWNS/PC-98) - improve timer flags handlingathrxx
Timers should be reset only the first time the enable flag is sent. This also requires some updates to drivers which didn't send these flags accurately.
2019-12-18AUDIO: (FM-TOWNS/PC-98) - improve sound qualityathrxx
- Increase internal sample rate to dividers of the actual chip clocks and fix other related things. This seems to improve certain sfx/noise generator like sounds. The performance still seems to be okay. - Fix feedback glitch that caused some noise with certain instrument patches when playing short notes. - Fix squarewave sound glitch (mute channels when volume is zero; this could also cause unnecessary noise). - Some cleanup.
2019-12-17AUDIO: Really Fix Compilation Against Fluidsynth v2.1+D G Turner
The previous fix did not work as the forbidden exception had no effect since scummsys.h and thus forbidden.h had already been included prior to the fluidsynth header being included. This also meant that undefining the exception define after the header would have had no effect anyway. This new solution was suggest by eriktorbjorn on bug #11278 and should avoid the need to add an exception which would persist over the entire source file.
2019-12-15AUDIO: Fix Compilation Against Fluidsynth v2.1+D G Turner
This is as reported by eriktorbjorn.
2019-11-30AUDIO: Remove unused parameter from the MixerImpl constructorCameron Cawley
2019-11-28AUDIO: Fix Remaining Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-17BACKENDS: Remove the Windows CE portCameron Cawley
2019-11-17AUDIO: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-04MT32: Add Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-08-25AUDIO: (FM-Towns/PC-98) - deconstructor/race condition fixathrxx
(move mixer calls before mutex lock, since the mixer has a mutex of its own)
2019-08-23AUDIO: (opl2lpt) add OPL3LPT supportJames Ye
The OPL3LPT is like the OPL2LPT with an OPL3 chip. Add OPL3 support to the existing OPL2LPT driver. There is no auto-detection of OPL3 capability. The user is required to explicitly select OPL3LPT as their OPL device. Tested with Sam & Max Hit the Road.
2019-08-07AUDIO: (FM-Towns/PC98) - cleanup mutex handlingathrxx
2019-08-03AUDIO: (FM-TOWNS) Fix GCC Compiler Warning with Copy AssignmentD G Turner
2019-07-14SCUMM: imuse driver directory cleanupathrxx
- move mac, pc speaker and fm-towns ims sound drivers into separate directory (AdLib and MT32/GM drivers are still too entangled with common code to be moved so easily, especially MT32/GM. It would require lots of changes to the common code and possibly to all engines using the MidiDriver class. So I leave that for now.)
2019-07-14SCUMM: add Amiga iMuse sound driverathrxx
(applies to MI2 and INDY4)
2019-06-20AUDIO: Implement low-pass filtering for PaulaSven Hesse
Paula low-pass filtering, as implemented by UAE. The Amiga has two filtering circuits: a static RC filter (only) on the A500, and an LED filter that can be enabled or disabled dynamically. By default, the Paula now doesn't apply the static RC filter, but allows for enabling the LED filter (with setAudioFilter()). NOTE: At the moment, this code still uses floating point arithmetics! It also calls tan() three times per instantiation.
2019-05-09AUDIO: Fix MSVC warningsSupSuper
Fixes warning C4245: signed/unsigned mismatch (seems in line with other decoders)
2019-05-09AUDIO: Fix MSVC warningsSupSuper
Fixes warning C4530: C++ exception handler used, but unwind semantics are not enabled by disabling exceptions in the STL since ScummVM doesn't support them
2019-05-07AUDIO: Fix GCC Compiler Warning in FM-TOWNS PC-98 Soft SynthD G Turner
This is another warning of the use of memset to clear a non-trivial structure / class. This can be removed since the structure is cleared by the constructor which will be called by the "new" so clearing this again is redundant.
2019-05-07MT32: Fix GCC Compiler Warning regarding memset usageD G Turner
2019-03-22AUDIO: (FM-TOWNS/PC-98) - silence some compiler warningsathrxx
2019-03-22AUDIO: (FM-TOWNS) - turn warning into debug messageathrxx
(no need to bother users with something that is actually intended behavior)
2019-03-08AUDIO: (FM-TOWNS/PC-98) - really fix NDS port buildathrxx
2019-03-08AUDIO: (FM-TOWNS/PC-98) - hopefully fix NDS portathrxx
2019-03-07AUDIO: (FM-TOWNS) - cleanupathrxx
2019-03-07AUDIO: (FM-TOWNS/PC-98) - initialize some uninitialized varsathrxx
(just to remove some analysis warnings)
2019-03-07AUDIO: (FM-TOWNS/PC-98) - allow individual operator frequenciesathrxx
(also add some sanity checks and make some more adjustments for SCI audio driver)
2019-03-07AUDIO: (FM-TOWNS/PC-98) - fix valgrind warningathrxx
(This didn't come up with the targets supported until now, but it does come up with SCI PC-98 music)
2019-03-07AUDIO: (FM-TOWNS/PC-98) - more cleanupathrxx
sort and rename some methods and vars and move as much as possible from public to private section
2019-03-07AUDIO: (FM-TOWNS/PC-98) - cleanupathrxx
Apart from some basic cleanup this commit reverts a somewhat unfortunate design decision I made. The Kyra/Hof/Lol PC-98 sound drivers shouldn't inherit from the emulator. This commit separates the driver from the emulator putting some common interface in between. This should allow easier implementation of other PC-98 sound drivers.
2019-02-14AUDIO: Fix compilation with ClangTorbjörn Andersson
Reported by angstsmurf.
2019-02-10AUDIO: Simplify _audioGain calculationTorbjörn Andersson
No need to explicitly set it to 1.0. (There may have been in an earlier version, to avoid any possible rounding error. But if so, that reason is long gone.)
2019-02-10ZVISION: Boost volume for MPEG cutscenesTorbjörn Andersson
The high-resolution videos play back at much lower volume than the original ones. This adds hard-coded values for how much to amplify each cutscene. It's all done by ear, and it does introduce some clipping, but I think it should be acceptable. Of course, it could also be a problem with the audio decoder, so this may be the wrong approach entirely.
2019-01-27AUDIO: (Paula) - fix typoathrxx
2018-12-08GLK: Add support for secondary Blorb files separate from the gamefilePaul Gilbert
It also hads further support for playing AIFF files. However, the Blorb files for Lurking Horror & Sherlock on the if-archive website don't seem to be valid AIFF files, so sound doesn't play using them
2018-12-08GLK: FROTZ: Further sound handlingPaul Gilbert
2018-11-14AUDIO: (FM-TOWNS) - remove wave memory limitathrxx
(This is basically an unnecessary emulation of a hardware limitation. EOB II will try to load approximately 70 KByte of samples for the outro sequence, which would lead to some missing sounds with the 64 Kbyte limit).
2018-11-14AUDIO: (FM-TOWNS) - add error codesathrxx
2018-11-04BACKENDS: Remove references to the GP32 backendCameron Cawley
2018-11-04AUDIO: Add a separate AC-3 decoderTorbjörn Andersson
This code comes from clone2727's now defunct (?) ac3 branch.
2018-08-27AUDIO: Free strings with delete[] instead of free()Torbjörn Andersson
Because scumm_strdup(), unlike strdup(), allocates strings with new, not malloc(). (CID 1395228, 1395233, 1395235, 1395236)
2018-08-20AUDIO: Fix Compilation with Fluidsynth v1.1.6 or earlier.D G Turner
The function signature for these functions was changed from (char *) to (const char *) in the v1.1.7 release, so compiling against Fluidsynth v1.1.6 or earlier requires the copying of the strings to prevent compilation errors such as "error: invalid conversion from 'const char*' to 'char*'". Normally, we would break compatibility with older versions as platforms should be using the latest Fluidsynth v1.X release of v1.1.11. However, since this is trivial to fix and prevents breakage for legacy platforms, am restoring the string duplication with scumm_strdup(). Apart from this, we should look at the Fluidsynth v2.X releases currently in RC testing as the API is now changed for this.
2018-08-18AUDIO: Remove unnecessary string duplications in FluidSynth driverColin Snover
2018-08-17JANITORIAL: Removing trailing spaces after int castsPaul Gilbert
2018-07-30AUDIO: Fix Compiler Shadowing Warnings.D G Turner
2018-07-22GUI: Use consistent capitalization for optionsThierry Crozat
As discussed on the mailing list we should use title capitalization only for push buttons and tabs and use sentence capitalization for everything else.