Sha256: 6df433a5543f5d38482908cdee993dbfc9787de51593cc54e1dbe9278e63407c

Contents?: true

Size: 561 Bytes

Versions: 4

Compression:

Stored size: 561 Bytes

Contents

#pragma once

#ifdef __cplusplus
extern "C" {
#endif

typedef struct Gosu_Song Gosu_Song;

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

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

Gosu_Song* Gosu_Song_current_song();

#ifdef __cplusplus
}
#endif

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gosu-1.0.0 include/Gosu/Song.h
gosu-1.0.0.pre2 include/Gosu/Song.h
gosu-1.0.0.pre1 include/Gosu/Song.h
gosu-0.15.2 Gosu/Song.h