1 /* Automatically generated header! Do not edit! */ 2 3 #ifndef _PPCINLINE_ASOUND_H 4 #define _PPCINLINE_ASOUND_H 5 6 #ifndef __PPCINLINE_MACROS_H 7 #include <ppcinline/macros.h> 8 #endif /* !__PPCINLINE_MACROS_H */ 9 10 #ifndef ASOUND_BASE_NAME 11 #define ASOUND_BASE_NAME ASoundBase 12 #endif /* !ASOUND_BASE_NAME */ 13 14 #define ASound_Abort(__p0) \ 15 (((void (*)(APTR ))*(void**)((long)(ASOUND_BASE_NAME) - 58))(__p0)) 16 17 #define ASound_GetAttr(__p0, __p1) \ 18 (((APTR (*)(APTR , ULONG ))*(void**)((long)(ASOUND_BASE_NAME) - 64))(__p0, __p1)) 19 20 #define ASound_PlaySync(__p0, __p1, __p2) \ 21 (((ULONG (*)(APTR , APTR , ULONG ))*(void**)((long)(ASOUND_BASE_NAME) - 40))(__p0, __p1, __p2)) 22 23 #define ASound_Delete(__p0) \ 24 (((void (*)(APTR ))*(void**)((long)(ASOUND_BASE_NAME) - 34))(__p0)) 25 26 #define ASound_PlayAsync(__p0, __p1, __p2) \ 27 (((ULONG (*)(APTR , APTR , ULONG ))*(void**)((long)(ASOUND_BASE_NAME) - 46))(__p0, __p1, __p2)) 28 29 #define ASound_Create(__p0, __p1) \ 30 (((APTR (*)(ULONG , struct TagItem *))*(void**)((long)(ASOUND_BASE_NAME) - 28))(__p0, __p1)) 31 32 #define ASound_Wait(__p0) \ 33 (((ULONG (*)(APTR ))*(void**)((long)(ASOUND_BASE_NAME) - 52))(__p0)) 34 35 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__) 36 37 #include <stdarg.h> 38 39 #define ASound_CreateTags(__p0, ...) \ 40 ({ULONG _tags[] = { __VA_ARGS__ }; \ 41 ASound_Create(__p0, (struct TagItem *)_tags);}) 42 43 #endif 44 45 #endif /* !_PPCINLINE_ASOUND_H */