Interface SAMPLEAllegro

Sample object

Remarks

This is not a function. This is a sample object structure returned by load_sample().

1.2.29

interface SAMPLE {
    buffer: null | AudioBuffer;
    file: string;
    gain: GainNode;
    pan: StereoPannerNode;
    ready: boolean;
    source: AudioBufferSourceNode;
    type: "snd";
}

Properties

buffer: null | AudioBuffer
file: string
gain: GainNode
pan: StereoPannerNode
ready: boolean
source: AudioBufferSourceNode
type: "snd"

Generated using TypeDoc