Sha256: 8f49283912ced6080856ba157ba93a9daa17683b5e342229dcdcd7065bb346b7

Contents?: true

Size: 559 Bytes

Versions: 3

Compression:

Stored size: 559 Bytes

Contents

#pragma once

#include "Gosu_Channel.h"
#include "Gosu_FFI.h"

typedef struct Gosu_Sample Gosu_Sample;

GOSU_FFI_API Gosu_Sample* Gosu_Sample_create(const char* filename);
GOSU_FFI_API void Gosu_Sample_destroy(Gosu_Sample* sample);

GOSU_FFI_API Gosu_Channel* Gosu_Sample_play(Gosu_Sample* sample, double volume, double speed,
                                            bool looping);
GOSU_FFI_API Gosu_Channel* Gosu_Sample_play_pan(Gosu_Sample* sample, double pan, double volume,
                                                double speed, bool looping);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gosu-2.0.0.pre8 ffi/Gosu_Sample.h
gosu-2.0.0.pre7 ffi/Gosu_Sample.h
gosu-2.0.0.pre6 ffi/Gosu_Sample.h