added a function to retrieve the current spu interface

This commit is contained in:
gecko_reverse 2008-09-21 07:36:57 +00:00
parent 4ab3e9e927
commit a7bce83651
2 changed files with 7 additions and 0 deletions

View File

@ -129,6 +129,11 @@ int SPU_ChangeSoundCore(int coreid, int buffersize)
return 0;
}
SoundInterface_struct *SPU_SoundCore()
{
return SNDCore;
}
//////////////////////////////////////////////////////////////////////////////
int SPU_Init(int coreid, int buffersize)

View File

@ -79,6 +79,8 @@ typedef struct
extern SPU_struct *SPU;
int SPU_ChangeSoundCore(int coreid, int buffersize);
SoundInterface_struct *SPU_SoundCore();
int SPU_Init(int coreid, int buffersize);
void SPU_Pause(int pause);
void SPU_SetVolume(int volume);