added a function to retrieve the current spu interface
This commit is contained in:
parent
4ab3e9e927
commit
a7bce83651
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue