Sha256: e7b820c86b25747c0d22cc797b666a7f3d222d38b9916494f1c80f23de1e6623

Contents?: true

Size: 650 Bytes

Versions: 3

Compression:

Stored size: 650 Bytes

Contents

#pragma once

#include "Gosu_FFI.h"

typedef struct Gosu_Song Gosu_Song;

GOSU_FFI_API Gosu_Song* Gosu_Song_create(const char* filename);
GOSU_FFI_API void Gosu_Song_destroy(Gosu_Song* song);

GOSU_FFI_API void Gosu_Song_pause(Gosu_Song* song);
GOSU_FFI_API bool Gosu_Song_paused(Gosu_Song* song);
GOSU_FFI_API void Gosu_Song_play(Gosu_Song* song, bool looping);
GOSU_FFI_API bool Gosu_Song_playing(Gosu_Song* song);
GOSU_FFI_API void Gosu_Song_stop(Gosu_Song* song);
GOSU_FFI_API double Gosu_Song_volume(Gosu_Song* song);
GOSU_FFI_API void Gosu_Song_set_volume(Gosu_Song* song, double volume);

GOSU_FFI_API Gosu_Song* Gosu_Song_current_song(void);

Version data entries

3 entries across 3 versions & 1 rubygems

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