aboutsummaryrefslogtreecommitdiff
path: root/audio
AgeCommit message (Collapse)Author
2015-06-07AUDIO: makeAIFFStream seek to start of dataStreamMartin Kiewitz
fixes non working audio when playing a File(Stream)
2015-06-06AUDIO: Make makeAIFFStream return a RewindableAudioStreamMatthew Hoops
All callers requiring SeekableAudioStream have been adapted by using dynamic_cast
2015-06-06AUDIO: Fix another syntax errorMatthew Hoops
2015-06-06AUDIO: Fix syntaxMatthew Hoops
2015-06-06SHERLOCK: rework 3DO audio, add AIFC file supportMartin Kiewitz
- rework 3DO audio decoders to decode into buffer only - 3DO audio decoders also use streams without separate size arg now - add support for ADP4 + SDX2 inside AIFC files - add debug command "3do_playaudio" to play AIFC files - remove audio flags and replace with stereo bool
2015-06-04AUDIO: Rewrite the AIFF decoder to support AIFCMatthew Hoops
2015-06-04AUDIO: Do not read the entire AIFF buffer into memoryMatthew Hoops
2015-06-04AUDIO: Mark AIFF as being used by BBVSMatthew Hoops
2015-06-04AUDIO: Only expose makeAIFFStream to clientsMatthew Hoops
2015-06-05AUDIO: Add more engines that use wave.h that I missed before.Torbjörn Andersson
2015-06-05AUDIO: Update list of engines that use wave.hTorbjörn Andersson
2015-06-04SHERLOCK: improve 3DO movie player, add SDX2 codecMartin Kiewitz
- queue up to 0.5 seconds of audio to avoid buffer underruns - support for SDX2 codec - put both audio codecs into audio/decoders/3do.cpp - made movie player capable of playing EA logo movie
2015-05-30FMOPL: Fix confusing "opl_driver" behaviorTorbjörn Andersson
The way I've configured ScummVM, the default is to use FluidSynth for MIDI, and any game where I want AdLib overrides that setting. I have set the DOSBox OPL emulator as the default. However, this causes the game's "opl_driver" setting to be "auto", which overrides the default setting, and usually picks the MAME OPL emulator. To counter this, if it sees that "opl_driver" is "auto", it will check the default setting. In other words, only use "auto" if "opl_driver" isn't set on any level. I think this is the behaviour that should cause the least amount of astonishment.
2015-05-22AUDIO: Add patch from madmoose to fix arpeggio effect in ProTracker modules.Kirben
2015-04-05AUDIO: Skip ID3 tag at start of mp3 filesThierry Crozat
This fixes bug #6834 MP3: ScummVM doesn't skip ID3 tag at beginning of file.
2015-01-26AUDIO: Fix skipping samples when the skip length is greater than the first chunkMatthew Hoops
2014-12-21MT32: Update to munt 1.5.0Filippos Karapetis
This syncs with munt commit 4041a16a5d
2014-12-20AUDIO: Wrap around in the Timestamp constructorBastien Bouclet
The "making of" video in the Xbox version of Myst III is unusually long. VideoDecoder::FixedRateVideoTrack::getFrameTime would trigger an overflow.
2014-08-29AUDIO: Fix some Doxygen comments that seem wrong.Einar Johan Trøan Sømåen
2014-08-14AUDIO: Really fix seeking with audio editsMatthew Hoops
I really have no idea what I was thinking in acb127c2
2014-08-09Merge pull request #487 from clone2727/audio_fixesEugene Sandulenko
AUDIO: Miscellaneous AudioStream fixes
2014-08-01AUDIO: Better handle endOfStream() vs endOfData() in SubSeekableAudioStreamMatthew Hoops
2014-08-01AUDIO: Better handle endOfStream() vs endOfData() in SubLoopingAudioStreamMatthew Hoops
2014-08-01AUDIO: Rename MP3Stream's _totalTime to _curTime to better reflect the ↵Joni Vähämäki
variable's purpose.
2014-07-27AUDIO: Better handle endOfStream() vs endOfData() in LoopingAudioStreamMatthew Hoops
2014-07-27AUDIO: Fix endOfStream() for LimitingAudioStreamMatthew Hoops
2014-07-27AUDIO: Better handle endOfStream() vs endOfData() in QueuingAudioStreamImplMatthew Hoops
2014-07-27AUDIO: Fix QueuingAudioStreamImpl lockingMatthew Hoops
2014-07-27AUDIO: Finish off AAC/QDM2 queues when done decoding a packetMatthew Hoops
2014-07-26AUDIO: Increment total play time when decoding MP3 data.Joni Vähämäki
2014-07-13MT32: Sync with the latest changes in muntFilippos Karapetis
This syncs the code with munt commit fa8b4f899d, avoiding usage of a global constructor
2014-07-11MT32: Comment out default showLCDMessage/printDebug implementations.Johannes Schickel
This keeps the original MUNT code in showLCDMessage/printDebug and simply comments it out. This *silences* a warning about debug use in our former default replacement code. Since we already implement a ReportHandler there is no need to adapt the default implementation. This is not the cleanest way but the solution which requires the least changes to MUNT code.
2014-07-11Revert "MT32: Avoid runtime abort due to non-POD object pass in MT32 Emulator."Johannes Schickel
This reverts commit 6731eb21e3e4c1fa2470ed03a3547d45b3dff6e3.
2014-07-10MT32: Avoid runtime abort due to non-POD object pass in MT32 Emulator.D G Turner
2014-07-08MT32: Update to munt 1.4.0Filippos Karapetis
This syncs with munt commit 175446af43
2014-07-08MT32: Copyright year bumpFilippos Karapetis
2014-06-01AUDIO: Support 96kHz audio rates in ARM assembler rate conversion.D G Turner
This should be the same changes as fuzzie's previous commit to the C++ version.
2014-03-30ALL: Resolve multiple clang warningsMax Horn
2014-03-18COMMON: Move some QuickTime Track variables into SampleDesc where they belongMatthew Hoops
2014-03-06AUDIO: Manually specify function alignment in ARM assembly.Johannes Schickel
2014-02-18AUDIO: Make GPL headers consistent in themselves.Johannes Schickel
2014-01-27Revert "AUDIO: Simplify MidiTracker::processEvent return value"Alyssa Milburn
MI2 deletes the parser object(!) so we can't access any member variables here. Thanks to athrxx for finding this. This reverts commit 86c2fe47e04449602e4c005fa0a9c183bc8bba39 and adds a comment explaining why.
2014-01-27Revert "AUDIO: fix invalid mem access in midiparser.cpp"Alyssa Milburn
This broke SCI, since it doesn't call processEvent any more. This reverts commit afa54072a9622d7a370846bf280016843dc61009.
2014-01-26AUDIO: fix invalid mem access in midiparser.cppathrxx
(this caused a crash in MI2)
2014-01-17Merge pull request #417 from digitall/STACK_fixesJohannes Schickel
ALL: Fix optimization unstable code on checking for null after new.
2014-01-16AUDIO: Cleanup MT-32 code a bit.Johannes Schickel
This removes overwrites in ReportHandlerScummVM which are simply the default implementation anyway. A side effect is that this silences/fixes a warning about the former onProgramChanged to hide an virtual method due to parameter differences.
2014-01-16AUDIO: Register EAS sound driver as plain sound type.Johannes Schickel
MIDI code will control volume via MIDI events thus the generated audio should not be affected by mixer sound volumes. The initial commit 0e6cdfd67580f75e912c5e92abb26821d032f74b added it as music sound type. Might be copied from the (also) incorrect FluidSynth code.
2014-01-16AUDIO: Register FluidSynth driver as plain sound type.Johannes Schickel
MIDI code will control volume via MIDI events thus the generated audio should not be affected by mixer sound volumes. The initial commit(s) in d4d045b1174b4a48659f39f026ade42684b679bf / 13dc149ded691e718905049990dd0220230c500e added it as music sound type. So, this seems to be a long standing issue.
2014-01-16AUDIO: Register MT-32 emulator as plain sound type.Johannes Schickel
Formerly the audio stream was registered as sfx. This is incorrect behavior since the client code will control music volume with MIDI events on its own. It seems 67b311713d8f4cfcd460a9649e0075f24278a048 introduced this very long ago. This should fix unintended coupling of sfx volume and music volume in BASS.
2014-01-15ALL: Remove optimization unstable code on checking for null after new.D G Turner
These issues were identified by the STACK tool. By default, the C++ new operator will throw an exception on allocation failure, rather than returning a null pointer. The result is that testing the returned pointer for null is redundant and _may_ be removed by the compiler. This is thus optimization unstable and may result in incorrect behaviour at runtime. However, we do not use exceptions as they are not supported by all compilers and may be disabled. To make this stable without removing the null check, you could qualify the new operator call with std::nothrow to indicate that this should return a null, rather than throwing an exception. However, using (std::nothrow) was not desirable due to the Symbian toolchain lacking a <new> header. A global solution to this was also not easy by redefining "new" as "new (std::nothrow)" due to custom constructors in NDS toolchain and various common classes. Also, this would then need explicit checks for OOM adding to all new usages as per C malloc which is untidy. For now to remove this optimisation unstable code is best as it is likely to not be present anyway, and OOM will cause a system library exception instead, even without exceptions enabled in the application code.