aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/sound.h
AgeCommit message (Collapse)Author
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2007-09-03Some updates to preagi's sound system and code cleanupFilippos Karapetis
svn-id: r28844
2007-08-28Fix relative pitch handling (It's signed, was interpreted as unsigned before).Kari Salminen
svn-id: r28759
2007-08-21Added note of clarification on enum AgiSoundType's different values.Kari Salminen
svn-id: r28684
2007-08-19Made Apple IIGS MIDI file parsing work (They aren't completely standard MIDI ↵Kari Salminen
files). Enables playing the MIDI files (No sound! Only stepping through). Speed's probably not correct. svn-id: r28674
2007-08-19Some cleanup / const correctness / OOficationMax Horn
svn-id: r28671
2007-08-18Changed Apple IIGS sample playing frequency multiplier from 1076.0 to C6 ↵Kari Salminen
(i.e. about 1046.5). Commented out a warning that comes too often. svn-id: r28657
2007-08-18Added support for playing Apple IIGS samples. The code's not very pretty at ↵Kari Salminen
the moment (Work in progress). Apple IIGS MIDI sound probably broken somehow at the moment. svn-id: r28656
2007-08-17Added a definition for Apple IIGS sound emulation mode, made sound ↵Kari Salminen
initialization set it when appropriate and instruments loading use it. svn-id: r28647
2007-08-16Fixed some warningMax Horn
svn-id: r28638
2007-08-15Added rudimentary classes for different AGI sound resources (IIgsMidi, ↵Kari Salminen
IIgsSample, PCjrSound). Made existing code to at least work with PCjrSound. svn-id: r28630
2007-08-15Moved AgiSound definition around and also changed it from a struct to a class.Kari Salminen
svn-id: r28629
2007-08-15Removed use of decodeSound(int resnum). Not needed at the moment (Probably ↵Kari Salminen
going to be replaced by other functionality later). svn-id: r28627
2007-08-15Removed use of USE_IIGS_SOUND (#define).Kari Salminen
svn-id: r28626
2007-08-15Made AGI's 4-channel PCjr sound not need structure packing pragmas anymore. ↵Kari Salminen
Also added more use of little endian reading macros. svn-id: r28624
2007-08-14Shuffled around AgiGameID's declaration and an include to get stuff ↵Kari Salminen
hopefully working now with GCC too. svn-id: r28616
2007-08-14Added forward declaration for enum AgiGameID (Was breaking compilation on GCC).Kari Salminen
svn-id: r28615
2007-08-14Moved Apple IIGS related structs' read & finalize functions' implementations ↵Kari Salminen
to sound.cpp and left the declarations in sound.h. svn-id: r28614
2007-08-14Defined some functions in Agi::SoundMgr and moved stuff generally around ↵Kari Salminen
between AGI's sound.h and sound.cpp. Assimilated calcTrueSampleSize into another function. svn-id: r28613
2007-08-13Added a couple of simple AgiSound stop, play, isPlaying-functions.Kari Salminen
svn-id: r28598
2007-08-09Added Apple IIGS instruments and wave file loading.\n(Apple IIGS music ↵Kari Salminen
playing is broken at the moment). svn-id: r28508
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-02-26Fix alignment issues in wince port.Kostas Nakos
This patch/bug is closely related to the behavior shown in agos engine (see https://sourceforge.net/tracker/?func=detail&aid=1657436&group_id=37116&atid=418822). Every time structs are used to extract data from a buffer, these structs have to be packed. It is not OK to assume that the compiler does not pad the struct, or that it doesn't have alignment assumptions voodoo (see cited patch). svn-id: r25881
2007-02-20Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by meMax Horn
svn-id: r25752
2007-01-16Formating names in source codePaweł Kołodziejski
svn-id: r25101
2006-12-06Fixed compile errors (for me at least). Still plenty of warnings, though.Torbjörn Andersson
svn-id: r24809
2006-12-06first phase of objectisation of agi enginePaweł Kołodziejski
svn-id: r24808
2006-05-24From what I understand, the __ prefix is generally reserved for system headers,Torbjörn Andersson
so I've removed most of them. There's still some in list.h, but that should probably be replaced by our own list handler some day. svn-id: r22611
2006-05-24removed defines USE_PCM_SOUND, AGDS_SUPPORT, USE_HIRESPaweł Kołodziejski
svn-id: r22609
2006-05-24Seems like the sound is generated at 22050 Hz regardless of output sample rate.Torbjörn Andersson
Hopefully, that will change in the future. svn-id: r22595
2006-05-23imported AGI enginePaweł Kołodziejski
svn-id: r22588