57 |
|
|
58 |
|
|
59 |
|
// Prototypes |
60 |
– |
#ifdef __GNUC__ |
60 |
|
static __saveds __attribute__((regparm(3))) ULONG audio_callback(struct Hook *hook /*a0*/, struct AHISoundMessage *msg /*a1*/, struct AHIAudioCtrl *ahi_ctrl /*a2*/); |
62 |
– |
#else |
63 |
– |
static __saveds __regargs ULONG audio_callback(struct Hook *hook /*a0*/, struct AHISoundMessage *msg /*a1*/, struct AHIAudioCtrl *ahi_ctrl /*a2*/); |
64 |
– |
#endif |
61 |
|
|
62 |
|
|
63 |
|
/* |
174 |
|
* AHI sound callback, request next buffer |
175 |
|
*/ |
176 |
|
|
181 |
– |
#ifdef __GNUC__ |
177 |
|
static __saveds __attribute__((regparm(3))) ULONG audio_callback(struct Hook *hook /*a0*/, struct AHISoundMessage *msg /*a1*/, struct AHIAudioCtrl *ahi_ctrl /*a2*/) |
183 |
– |
#else |
184 |
– |
static __saveds __regargs ULONG audio_callback(struct Hook *hook /*a0*/, struct AHISoundMessage *msg /*a1*/, struct AHIAudioCtrl *ahi_ctrl /*a2*/) |
185 |
– |
#endif |
178 |
|
{ |
179 |
|
play_buf ^= 1; |
180 |
|
|