summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/opl_apu.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-13 16:41:14 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-08-13 16:41:14 +0000
commita1145a1d040dd52b2b5d0e7fe965b6507475bbe2 (patch)
tree988f845d688974dd7db1950243ef09cc39ed443c /apps/codecs/libgme/opl_apu.h
parent724a2d2514578297a7fe21dc4c17a7b51a25758d (diff)
downloadrockbox-a1145a1d040dd52b2b5d0e7fe965b6507475bbe2.tar.gz
rockbox-a1145a1d040dd52b2b5d0e7fe965b6507475bbe2.zip
Remove all IRAM attributes from libGME to be able to restart the IRAM optimization on a clean code base. As first step move the sample buffers to IRAM which results in a 1-5% speedup for all codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30284 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libgme/opl_apu.h')
-rw-r--r--apps/codecs/libgme/opl_apu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libgme/opl_apu.h b/apps/codecs/libgme/opl_apu.h
index 53fc912c4c..5ea8185f5f 100644
--- a/apps/codecs/libgme/opl_apu.h
+++ b/apps/codecs/libgme/opl_apu.h
@@ -51,12 +51,12 @@ static inline void Opl_osc_output( struct Opl_Apu* this, int i, struct Blip_Buff
51} 51}
52 52
53static inline void Opl_set_output( struct Opl_Apu* this, struct Blip_Buffer* buf ) { Opl_osc_output( this, 0, buf ); } 53static inline void Opl_set_output( struct Opl_Apu* this, struct Blip_Buffer* buf ) { Opl_osc_output( this, 0, buf ); }
54void Opl_end_frame( struct Opl_Apu* this, blip_time_t ) ICODE_ATTR; 54void Opl_end_frame( struct Opl_Apu* this, blip_time_t );
55 55
56static inline void Opl_write_addr( struct Opl_Apu* this, int data ) { this->addr = data; } 56static inline void Opl_write_addr( struct Opl_Apu* this, int data ) { this->addr = data; }
57void Opl_write_data( struct Opl_Apu* this, blip_time_t, int data ) ICODE_ATTR; 57void Opl_write_data( struct Opl_Apu* this, blip_time_t, int data );
58 58
59int Opl_read( struct Opl_Apu* this, blip_time_t, int port ) ICODE_ATTR; 59int Opl_read( struct Opl_Apu* this, blip_time_t, int port );
60 60
61static inline bool Opl_supported( void ) { return true; } 61static inline bool Opl_supported( void ) { return true; }
62 62