summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/ym2413_emu.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libgme/ym2413_emu.h')
-rw-r--r--apps/codecs/libgme/ym2413_emu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libgme/ym2413_emu.h b/apps/codecs/libgme/ym2413_emu.h
index 7efb8e2fab..68d8fe3d8f 100644
--- a/apps/codecs/libgme/ym2413_emu.h
+++ b/apps/codecs/libgme/ym2413_emu.h
@@ -34,10 +34,10 @@ void Ym2413_reset( struct Ym2413_Emu* this );
34void Ym2413_mute_voices( struct Ym2413_Emu* this, int mask ); 34void Ym2413_mute_voices( struct Ym2413_Emu* this, int mask );
35 35
36// Writes data to addr 36// Writes data to addr
37void Ym2413_write( struct Ym2413_Emu* this, int addr, int data ) ICODE_ATTR; 37void Ym2413_write( struct Ym2413_Emu* this, int addr, int data );
38 38
39// Runs and writes pair_count*2 samples to output 39// Runs and writes pair_count*2 samples to output
40void Ym2413_run( struct Ym2413_Emu* this, int pair_count, short* out ) ICODE_ATTR; 40void Ym2413_run( struct Ym2413_Emu* this, int pair_count, short* out );
41 41
42static inline void Ym2413_enable( struct Ym2413_Emu* this, bool b ) { this->last_time = b ? 0 : disabled_time; } 42static inline void Ym2413_enable( struct Ym2413_Emu* this, bool b ) { this->last_time = b ? 0 : disabled_time; }
43static inline bool Ym2413_enabled( struct Ym2413_Emu* this ) { return this->last_time != disabled_time; } 43static inline bool Ym2413_enabled( struct Ym2413_Emu* this ) { return this->last_time != disabled_time; }