![]() #FMOD_UNIQUE = $00020000 /* Unique sound, can only be played one at a time */ use sound::getOpenState To poll the state of the sound As it Opens in the background. #FMOD_NONBLOCKING = $00010000 /* For opening sounds asyncronously. this will search all the way through the file Until it hits a valid MPEG Header. #FMOD_MPEGSEARCH = $00008000 /* For corrupted / bad MP3 Files. Scans file first, so takes longer To Open. #FMOD_ACCURATETIME = $00004000 /* For system::createSound - For accurate sound::getLength/channel::setPosition on VBR MP3, AAC And MOD/S3M/XM/it/midi Files. Good For fast Opens For info, Or when sound::readData is To be used. #FMOD_OPENONLY = $00002000 /* Just Open the file, dont prebuffer Or Read. Requires at least defaultfrequency, numchannels And format To be specified before it will Open. use FMOD_CREATESOUNDEXINFO To specify format. #FMOD_OPENRAW = $00001000 /* will ignore file format And treat As raw PCM. use FMOD_CREATESOUNDEXINFO To specify length. #FMOD_OPENMEMORY = $00000800 /* "name_or_data" will be interpreted As a pointer To memory instead of filename For creating sounds. use sound::lock And sound::unlock To place sound Data into the sound If this is the Case. If a user created 'sample' is created With no Read callback, the sample will be empty. use FMOD_CREATESOUNDEXINFO To specify format And/or Read callbacks. ![]() #FMOD_OPENUSER = $00000400 /* Opens a user created Static sample Or stream. If the sound Data is Not ADPCM, MPEG Or XMA it will behave As If it was created With FMOD_CREATESAMPLE And decode the sound into PCM. can only be used in combination With FMOD_SOFTWARE. During playback the FMOD software mixer will decode it in realtime As a 'compressed sample'. #FMOD_CREATECOMPRESSEDSAMPLE = $00000200 /* Load MP2, MP3, IMAADPCM Or XMA into memory And leave it compressed. #FMOD_CREATESAMPLE = $00000100 /* Decompress at loadtime, decompressing Or decoding whole file into memory As the target sample format (ie PCM). Open multiple streams To have them play concurrently. Note a stream can only be played once at a time due To a stream only having 1 stream Buffer And file Handle. Overrides FMOD_CREATESAMPLE And FMOD_CREATECOMPRESSEDSAMPLE. #FMOD_CREATESTREAM = $00000080 /* Decompress at runtime, streaming from the source provided (ie from disk). use this For FFT, DSP, compressed sample support, 2D multi-speaker support And other software related features. #FMOD_SOFTWARE = $00000040 /* Makes the sound be mixed by the FMOD CPU based software mixer. #FMOD_HARDWARE = $00000020 /* Attempts To make sounds use hardware acceleration. ![]() #FMOD_3D = $00000010 /* Makes the sound positionable in 3D. (only works on software mixed Static sounds). #FMOD_LOOP_BIDI = $00000004 /* For bidirectional looping sounds. #FMOD_LOOP_NORMAL = $00000002 /* For forward looping sounds. Overrides FMOD_LOOP_NORMAL / FMOD_LOOP_BIDI. #FMOD_LOOP_OFF = $00000001 /* For non looping sounds. Equivalent To all the defaults listed below. #FMOD_DEFAULT = $00000000 /* FMOD_DEFAULT is a Default sound type. Code: Select all #FMOD_INIT_NORMAL = $00000000 ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |