Module: FMOD::Core::TimeUnit

Defined in:
lib/fmod/core/time_unit.rb

Overview

Strongly-typed values for indicating various units of time.

Constant Summary collapse

MS =

Milliseconds.

0x00000001
PCM =

PCM samples, related to milliseconds * sample rate / 1000.

0x00000002
PCM_BYTES =

Bytes, related to PCM samples * channels * data width (ie 16bit = 2 bytes).

0x00000004
RAW_BYTES =

Raw file bytes of (compressed) sound data (does not include headers).

0x00000008
PCM_FRACTION =

Fractions of 1 PCM sample. Unsigned integer range 0 to 0xFFFFFFFF.

Used for sub-sample granularity for DSP purposes.

0x00000010
MOD_ORDER =

MOD/S3M/XM/IT. Order in a sequenced module format.

0x00000100
MOD_ROW =

MOD/S3M/XM/IT. Current row in a sequenced module format.

0x00000200
MOD_PATTERN =

MOD/S3M/XM/IT. Current pattern in a sequenced module format.

0x00000400