aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/sound.cpp
AgeCommit message (Collapse)Author
2011-08-14Checked V1 instructions till 0x42Eugene Sandulenko
2011-08-14AGI: Make the sound code use AgiBase instead of AgiEngineMatthew Hoops
In preparation of using the sound code with Winnie
2011-08-13AGI: Fix detection of IIgs sample resourcesJussi Pitkanen
2011-08-13AGI: Implement note fetch routine for AGI v2.001 sound resourcesJussi Pitkanen
I suspect this is the format for AGI V1 sound resources as well. It is currently implemented by splitting getNextNote() to getNextNote_v2() and getNextNote_v1(). Since the V1 format consists of simple register values to the sound chip in PCjr, this could probably be made more cleanly by refactoring the code to resemble the chip more closely, so that its state is updated by writing to the registers.
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-25Merge pull request #9 from tiqpit/a2gsEugene Sandulenko
AGI: Fix //gs output
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-09AGI: Let games start playing a new sound even if another one is still playing.Jussi Pitkanen
2010-09-21AGI: Changed meaning of pcjr sound device. Now it is Sarien emuEugene Sandulenko
Music drivers: default: proper Tandy/PCJr adlib: proper Tandy/PCJr pcjr: old Sarien emu amiga: old Sarien emu in Amiga mode pcspk: Sarien emu in PCSpk mode (quite wrong) midi: 4 channel MIDI svn-id: r52836
2010-09-20AGI: Fix bug #3061578: AGI: PCjr Mode Not Default for DOS GamesEugene Sandulenko
svn-id: r52831
2010-06-15AGI: Made proper Tandy emulator default for PC games.Eugene Sandulenko
svn-id: r49760
2010-06-15AGI: rearranged class methods a bit and cleanup.Eugene Sandulenko
svn-id: r49758
2010-06-15AGI: Split all sound generators into separate modules.Eugene Sandulenko
Now the sound subsystem of the engine finally is possible to grasp. Also now it is obvious why CoCo3 sounds are not functioning. svn-id: r49757
2010-06-15AGI: Implement FR #2813133.Eugene Sandulenko
FR #2813133: "AGI: Proper Tandy 3-Voice/IBM PCjr Sound Support". Add proper Tandy music. Heavily based on NAGI source, thus attached its X11 license. To run it now use -e pcjr. Old one is still default for adlib but most likely will be changed in the future. Also lied ground for further separation of different sound generators. svn-id: r49755
2010-06-15AGI: Make sure that sound variable is reset once music is stopped.Eugene Sandulenko
svn-id: r49754
2010-06-15AGI: properly setup Sound var.Eugene Sandulenko
svn-id: r49752
2010-06-15AGI: Implement FR #1913900.Eugene Sandulenko
FR #1913900: "AGI: MIDI support". Currently it gets selected when Adlib is chosen. Finding a better way to do it is a todo. Also default instrument mapping is plain. Based on original code by Jens. Christian Restemeier. svn-id: r49751
2010-06-15AGI: Split out IIgs sound emulator into separate files.Eugene Sandulenko
svn-id: r49749
2010-06-15AGI: Fix bug #2960584.Eugene Sandulenko
Bug #2960584: "AGI: (Fan) SQ0: Music lost on saving (and loading)". Actually music did not loop at all. Our looping code was broken. svn-id: r49735
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-01-21Silenced some cppcheck warnings.Torbjörn Andersson
svn-id: r47427
2010-01-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2010-01-08Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵Max Horn
header common/types.h svn-id: r47180
2010-01-03Reduce header dependencies for AGI engine.Eugene Sandulenko
svn-id: r46942
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-20AGI: Change g_useChorus to SoundMgr::_useChorus, and add FIXME comment about ↵Max Horn
it always being true (so maybe it can be removed?) svn-id: r45266
2009-10-18Introduced new type Common::DisposeAfterUse::FlagMax Horn
svn-id: r45233
2009-07-14Remove ioFailed() usage from AGI engine.Kari Salminen
svn-id: r42495
2009-06-19Fixed a warning about an uninitialized variableFilippos Karapetis
svn-id: r41660
2009-06-17Preliminary support for CoCo3 music.Eugene Sandulenko
svn-id: r41618
2009-06-13Added sanity checking to stopSound() and a bit more debug outputEugene Sandulenko
svn-id: r41501
2009-06-06Whitespace fixes and C++ commentsEugene Sandulenko
svn-id: r41239
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-18Fix bug with AGI ignoring music volume.Eugene Sandulenko
svn-id: r40703
2009-05-10clean up AGI fillAudioWillem Jan Palenstijn
svn-id: r40435
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-03FormattingEugene Sandulenko
svn-id: r35701
2008-11-20AGI: fsnodeNameEqualsIgnoreCase and FSNode usage should be replaced by SearchManMax Horn
svn-id: r35130
2008-10-13Patch #2131406: AGI: Fix Crash with Apple][ Instruments.Kari Salminen
Applied the patch as it is, thanks clone2727. Now Apple IIGS AGI games don't crash anymore if the instruments (They're in *.SYS16) or the instrument samples (They're in SIERRASTANDARD) aren't found. svn-id: r34798
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-30AGI: Another case where it is better to use FSNodes directly, instead of ↵Max Horn
converting them to path strings svn-id: r34708
2008-09-13Big patch changing the signature of various Stream methods (some ports may ↵Max Horn
need to be slightly tweaked to fix overloading errors/warnings) svn-id: r34514
2008-09-03Moved FilesystemNode / FSList to namespace Common; also got rid of some ↵Max Horn
'typedef Common::String String;' name aliases svn-id: r34302
2008-08-13Fixed initialization of some SoundMgr-class's member variables. Moved ↵Kari Salminen
_sndBuffer's allocation to SoundMgr's constructor and its deallocation to the destructor. Made fillAudio SoundMgr's method and removed a superfluous global static variable 'int16 *buffer'. Should help with the occasional crashes when starting the first sound in an AGI game. svn-id: r33822