ClanSoft logo
ClanSoft logo

    CL_Streamed_RawSample::create

Syntax

static CL_SoundBuffer *create(
         const char *filename,
        SoundFormat format,
        int frequency,
        CL_InputSourceProvider *inputprovider = NULL,
        bool looped = false);

Parameters

filename-Filename of the raw PCM stream.
frequency-Default playback frequency.
inputprovider-Input source (datafile, regular file). If NULL
looped-True if the streamed should be looped (stream never ends).

Return value

The soundbuffer created.

Description

Creates a soundbuffer using this provider.


Back to index



This page was built using the Perceps documentation system.