Skip to contents

Create a new sound object.

Usage

sound(stream, frame_count)

Arguments

stream

An audio_stream. Audio stream.

frame_count

A non-negative integer. Total number of frames (considering channels).

Value

A sound

Note

This class has been auto-generated from the following Raylib struct definition:

typedef struct Sound {
    AudioStream stream;         // Audio stream
    unsigned int frameCount;    // Total number of frames (considering channels)
} Sound;