Commit Graph

19 Commits

Author SHA1 Message Date
Matthew Hoops
de6390dddb AGI: Make the sound code use AgiBase instead of AgiEngine
In preparation of using the sound code with Winnie
2011-08-14 13:10:43 -04:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
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-06-20 00:59:48 +02:00
Max Horn
5faa7e3a53 AGI: Fix type mismatch (see bug #3311198) 2011-06-03 23:17:26 +02:00
Willem Jan Palenstijn
218d82c62b AGI: Fix compilation on 64 bit platforms
I'm unable to test this change, but it avoids using a pointer to store
an int temporarily.
2011-05-25 22:45:21 +02:00
Eugene Sandulenko
ed9768fde3 Merge pull request #9 from tiqpit/a2gs
AGI: Fix //gs output
2011-05-25 10:00:26 -07:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Jussi Pitkanen
40b0d468e3 AGI: More formatting changes... 2011-04-12 18:40:43 +03:00
Jussi Pitkanen
40394431dc AGI: Use delete[] instead of delete for arrays 2011-04-12 18:22:24 +03:00
Jussi Pitkanen
506f3bdc10 AGI: Formatting 2011-04-12 18:07:35 +03:00
Jussi Pitkanen
d099ad3a48 AGI: Detect swap mode correctly for Apple IIGS instruments.
Also add comments describing which instruments use swap mode or vibrato,
plus print debug messages when those instruments are actually being played.
2011-04-10 17:27:07 +03:00
Jussi Pitkanen
4b3f081ee0 AGI: Cleanup sound_2gs.* 2011-04-09 19:11:25 +03:00
Jussi Pitkanen
d660b7f78d AGI: Refactor and fix Apple IIGS sound generator
Make the player be centered on a fixed number of "generators" instead of
MIDI channels that arbitrarily allocate generators for notes.

Make the audio stream to be stereo and for sample rate use _sampleRate.
Rewrite the synthesis core:
  * Make generators use both oscillators
  * Implement swap mode for oscillators
  * Fix envelope update frequency
2011-04-09 00:48:26 +03:00
Max Horn
b188e60f44 AGI: Avoid global constructors (due to global refs) 2011-04-04 09:53:26 +02:00
Max Horn
2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
4d3a07b494 COMMON: Rename and tweak MD5 functions
* names now comply to our naming conventions
* the function computeStreamMD5AsString which computes the MD5
  as a hex string now returns it as a Common::String
* add doxygen comments

svn-id: r54121
2010-11-07 17:16:59 +00:00
Eugene Sandulenko
db6673c408 AGI: rearranged class methods a bit and cleanup.
svn-id: r49758
2010-06-15 10:38:39 +00:00
Eugene Sandulenko
ceb2909e0a AGI: Split all sound generators into separate modules.
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-15 10:36:54 +00:00
Eugene Sandulenko
38ef876d5b AGI: Split out IIgs sound emulator into separate files.
svn-id: r49749
2010-06-15 10:33:57 +00:00