Hi,
the routine void AUDIO_ResetStreamSampleCnt(void); is documented but is missing in libogc for wii.
$ grep -r AUDIO_ResetStreamSampleCnt /c/devkitPro/
/c/devkitPro/libogc/include/ogc/audio.h: * \fn void AUDIO_ResetStreamSampleCnt(void)
/c/devkitPro/libogc/include/ogc/audio.h:void AUDIO_ResetStreamSampleCnt(void);
$ nm -a /c/devkitPro/libogc/lib/cube/libogc.a | grep AUDIO_ResetStreamSampleCnt
00000000 t .text.AUDIO_ResetStreamSampleCnt
00000000 T AUDIO_ResetStreamSampleCnt
$ nm -a /c/devkitPro/libogc/lib/wii/libogc.a | grep AUDIO_ResetStreamSampleCnt
It is correct?
Thankyou
void AUDIO_ResetStreamSampleCnt(void) missing
Re: void AUDIO_ResetStreamSampleCnt(void) missing
Hi (again )
Seem to be that many subroutines in libogc/audio.c are enabled only when defined HW_DOL
void AUDIO_SetStreamVolLeft(u8 vol)
u8 AUDIO_GetStreamVolLeft(void)
void AUDIO_SetStreamVolRight(u8 vol)
u8 AUDIO_GetStreamVolRight(void)
void AUDIO_SetStreamSampleRate(u32 rate)
u32 AUDIO_GetStreamSampleRate(void)
void AUDIO_SetStreamTrigger(u32 cnt)
void AUDIO_ResetStreamSampleCnt(void)
void AUDIO_SetStreamPlayState(u32 state)
u32 AUDIO_GetStreamPlayState(void)
So these subroutines are available only for GCUBE?
Seem to be that many subroutines in libogc/audio.c are enabled only when defined HW_DOL
void AUDIO_SetStreamVolLeft(u8 vol)
u8 AUDIO_GetStreamVolLeft(void)
void AUDIO_SetStreamVolRight(u8 vol)
u8 AUDIO_GetStreamVolRight(void)
void AUDIO_SetStreamSampleRate(u32 rate)
u32 AUDIO_GetStreamSampleRate(void)
void AUDIO_SetStreamTrigger(u32 cnt)
void AUDIO_ResetStreamSampleCnt(void)
void AUDIO_SetStreamPlayState(u32 state)
u32 AUDIO_GetStreamPlayState(void)
So these subroutines are available only for GCUBE?
Who is online
Users browsing this forum: Bing [Bot] and 2 guests