Index
C
C/C++. See also exception handling
BASS supporting, 16
FMOD supporting, 17
ModPlug supporting, 17
Cakewalk Pro Audio, 101
callback functionin CNetConnectWizard, 275-276
in DirectPlay, 272-273
in DirectPlay Voice, 277-278
callouts, 78
CAudioManager, 128
building, 55-59
class declaration for, 55
Init method for, 56-57
LoadSound function for, 58-59
for MikMod support, 161-162
for 3D sound, 227-228
two-phase creation, 56
UnInit function, 58
CAudioScript class, 196
AssembleErrorInfoString, 200-201
creating, 198-199
DMUS_SCRIPT_ERRORINFO object, 200-201
Init function with, 198-199
m_Script, 198-199
pointer, developing, 196-197
CC (Control Curve) track, 168
CCDDeviceInfo class, 141
CCDPlayer class, 140-141
GetAvailableDevice method, 143-145
CD audio, 13-14, 140-141
CCDPlayer::GetAvailableDevice method, 143-145
change detection, 151-152
current play position, determining, 149-150
drive letters for peripherals, 143-145
ejecting CDs, 150-151
MCI_NOTIFY flag, 153
number of tracks, determining, 152
pausing play, 148-149
Play method for, 142-143
147
resuming play, 148-149
status commands, 151-152
stopping, 147-148
synchronous vs. asynchronous command execution, 153-154
volume, controlling, 153
Windows MCI for, 141-143
CD IDs, 145
CD playerinitializing, 154
sample program, 153-155
CD-R/CD-RW, 14, 143
CDDB service, 155
CDirectMusicSegment class, 103
CDirectShowMusic class, 127
CDiscreteFourierTransform class, 291-292
CDs. See also CD audio
links to, 298
sampled at 44100 Hertz, 4
74 minutes on, 5
universal product code (UPC) for, 145
CDynamicMusic class, 180-183
CEchoEffect class, 211
CEffect class, 211
CError object, 52-53
channelsMIDI channels, 101
number of, 34
in WAV files, 69
chords. See DirectMusic Ch2p1_ToneGenerator workspace, 28
chunksdata chunk, 70
main chunk, 68
in RIFF files, 66-68
class IDs, 57
cleaning up code, 40
CLSID, 57
CMIDIMusic class, 103
pointer, 105-106
for tempo, 106-107
CMixer class, 97-98
CMP3AudioTag class, 127
CNetConnectWizard, 274-277
creating, 275
default values, setting, 276-277
displaying, 276-277
DoConnectWizard, 276-277
initializing, 275
receive callback function, 275-276
shutting down, 277
CNetVoice, 280-281
CNotificationHandler class, 113-114
CoCreateInstance function, 57
codecs, 7
Vorbis codec, 131
columns in tracked music, 177
compiler for DirectX Audio, 26-29
compressed, sampled music, 15
compressed files, DirectShow and, 124-128
concurrent soundsaudio engines playing, 83-85
playing, 82-83
configuration sets in DevStudio, 26
Cooley and Turkey, 295
cooperative level, setting, 31
COpenALBuffer instance, 245
COpenALManager, 242-243
COpenALSource class, 246-247
cosine waves, 39
resonance and, 287-289
CPlayer object for DirectPlay Voice, 281
CreateSecondaryBuffer function, 34
CreateSoundBufferfor primary buffer, 32
for secondary buffer, 33
Creative Labs, 236
Web site, 261
CSound object, 60
adjustments to, 85-86
CAudioManager and, 59
Play method, 60
adjustments, 86
PlaySegmentEx with, 83
SetVolume method, 92
virtual methods, 103
CSoundEffect class, 103
83-85
AddEffect method, 212
creating, 84-85
effect parameters, applying, 215
enhancements to, 212-214
Init method for, 84-85
RemoveAllEffects method, 213-214
sound effects, adding, 209-210
UnInit method for, 84-85
CSoundPtr class, 196
C3DSoundEffect class, 228-229
C3DSoundListener class, 225-229
CTrackedMusic, 160-161
CTrackMinSecFrame, 141
CTrackMinSecFrame class, 146
CWAVFile, 70-73
loadingsounds from file, 75
WAV files into file, 72-73
overloaded assignment operator, 71
saving, 73
cycle time, 189