| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
 List of time types that can be returned by Sound::getLength and used with Channel::setPosition or Channel::getPosition.
 
Remarks
 FMOD_TIMEUNIT_SENTENCE_MS, FMOD_TIMEUNIT_SENTENCE_PCM, FMOD_TIMEUNIT_SENTENCE_PCMBYTES, FMOD_TIMEUNIT_SENTENCE and FMOD_TIMEUNIT_SENTENCE_SUBSOUND are only supported by Channel functions.
 Do not combine flags except FMOD_TIMEUNIT_BUFFERED.
 
Platforms Supported
 Win32, Win64, Linux, Linux64, Macintosh, Xbox360, PlayStation 2, PlayStation Portable, PlayStation 3, Wii, Solaris, iPhone
 
See Also
 Sound::getLength
 Channel::setPosition
 Channel::getPosition
| Field Summary | |
| static int | FMOD_TIMEUNIT_BUFFEREDTime value as seen by buffered stream. | 
| static int | FMOD_TIMEUNIT_MODORDERMOD/S3M/XM/IT. | 
| static int | FMOD_TIMEUNIT_MODPATTERNMOD/S3M/XM/IT. | 
| static int | FMOD_TIMEUNIT_MODROWMOD/S3M/XM/IT. | 
| static int | FMOD_TIMEUNIT_MSMilliseconds. | 
| static int | FMOD_TIMEUNIT_PCMPCM samples, related to milliseconds * samplerate / 1000. | 
| static int | FMOD_TIMEUNIT_PCMBYTESBytes, related to PCM samples * channels * datawidth (ie 16bit = 2 bytes). | 
| static int | FMOD_TIMEUNIT_PCMFRACTIONFractions of 1 PCM sample. | 
| static int | FMOD_TIMEUNIT_RAWBYTESRaw file bytes of (compressed) sound data (does not include headers). | 
| static int | FMOD_TIMEUNIT_SENTENCECurrently playing sentence index according to the channel. | 
| static int | FMOD_TIMEUNIT_SENTENCE_MSCurrently playing subsound in a sentence time in milliseconds. | 
| static int | FMOD_TIMEUNIT_SENTENCE_PCMCurrently playing subsound in a sentence time in PCM Samples, related to milliseconds * samplerate / 1000. | 
| static int | FMOD_TIMEUNIT_SENTENCE_PCMBYTESCurrently playing subsound in a sentence time in bytes, related to PCM samples * channels * datawidth (ie 16bit = 2 bytes). | 
| static int | FMOD_TIMEUNIT_SENTENCE_SUBSOUNDCurrently playing subsound index in a sentence. | 
| Field Detail | 
public static final int FMOD_TIMEUNIT_MS
public static final int FMOD_TIMEUNIT_PCM
public static final int FMOD_TIMEUNIT_PCMBYTES
public static final int FMOD_TIMEUNIT_RAWBYTES
public static final int FMOD_TIMEUNIT_PCMFRACTION
public static final int FMOD_TIMEUNIT_MODORDER
public static final int FMOD_TIMEUNIT_MODROW
public static final int FMOD_TIMEUNIT_MODPATTERN
public static final int FMOD_TIMEUNIT_SENTENCE_MS
public static final int FMOD_TIMEUNIT_SENTENCE_PCM
public static final int FMOD_TIMEUNIT_SENTENCE_PCMBYTES
public static final int FMOD_TIMEUNIT_SENTENCE
public static final int FMOD_TIMEUNIT_SENTENCE_SUBSOUND
public static final int FMOD_TIMEUNIT_BUFFERED
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||