Age | Commit message (Collapse) | Author |
|
This mostly enforces tabs for indentation and spaces for formatting. But also
fixes spaces on empty lines, some extra/missing spaces.
astyle + manual fixup
|
|
|
|
We really left sound gen leaked with preagi games.
|
|
|
|
In preparation of using the sound code with Winnie
|
|
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.
|
|
|
|
svn-id: r55850
|
|
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
|
|
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
|
|
svn-id: r49752
|
|
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
|
|
svn-id: r49749
|
|
svn-id: r46942
|
|
it always being true (so maybe it can be removed?)
svn-id: r45266
|
|
svn-id: r44810
|
|
svn-id: r41618
|
|
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
|
|
svn-id: r34716
|
|
converting them to path strings
svn-id: r34708
|
|
_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
|
|
svn-id: r33819
|
|
Also added initialization of _playing to false in SoundMgr's constructor. Hopefully helps with the occasional crashes in the sound code when starting the first sound in an AGI game.
svn-id: r33815
|
|
the correct times without the previously observed time jitter effect.
svn-id: r31636
|
|
IIgsChannelInfo::noteOn-function's declaration and definition introduced in r31550.
svn-id: r31553
|
|
(NOTE: As you can hear this is a work in progress ;-))
- Added IIgsSoundMgr class for handling Apple IIGS sounds and moved functionality inside it
- Added IIgsMidiChannel class for handling Apple IIGS MIDI channels
- Made sound effects playing use the IIgsSoundMgr class too
- Modified software mixing routine to mix multiple sounds
svn-id: r31544
|
|
svn-id: r31510
|
|
svn-id: r31509
|
|
changes).
svn-id: r31508
|
|
mapping. Switch to using 8-bit signed sample data with Apple IIGS (In preparation for mixing multiple channels). Make Apple IIGS wavefile handling use SharedPtr and Array.
svn-id: r31451
|
|
the older instrument set used by SQ1 only and for the newer instrument set used by all the other tested Apple IIGS games).
svn-id: r31371
|
|
svn-id: r30664
|
|
svn-id: r28844
|
|
svn-id: r28759
|
|
svn-id: r28684
|
|
files). Enables playing the MIDI files (No sound! Only stepping through). Speed's probably not correct.
svn-id: r28674
|
|
svn-id: r28671
|
|
(i.e. about 1046.5). Commented out a warning that comes too often.
svn-id: r28657
|
|
the moment (Work in progress). Apple IIGS MIDI sound probably broken somehow at the moment.
svn-id: r28656
|
|
initialization set it when appropriate and instruments loading use it.
svn-id: r28647
|
|
svn-id: r28638
|
|
IIgsSample, PCjrSound). Made existing code to at least work with PCjrSound.
svn-id: r28630
|
|
svn-id: r28629
|
|
going to be replaced by other functionality later).
svn-id: r28627
|
|
svn-id: r28626
|
|
Also added more use of little endian reading macros.
svn-id: r28624
|
|
hopefully working now with GCC too.
svn-id: r28616
|
|
svn-id: r28615
|
|
to sound.cpp and left the declarations in sound.h.
svn-id: r28614
|
|
between AGI's sound.h and sound.cpp. Assimilated calcTrueSampleSize into another function.
svn-id: r28613
|