mirror of
https://github.com/joel16/CMFileManager-PSP.git
synced 2024-11-27 05:30:26 +00:00
21 lines
380 B
C
21 lines
380 B
C
#include <pspsdk.h>
|
|
#include <pspaudio_kernel.h>
|
|
|
|
PSP_MODULE_INFO("audio_driver", PSP_MODULE_KERNEL, 1, 3);
|
|
PSP_NO_CREATE_MAIN_THREAD();
|
|
|
|
int pspAudioSetFrequency(int frequency) {
|
|
u32 k1 = pspSdkSetK1(0);
|
|
int ret = sceAudioSetFrequency(frequency);
|
|
pspSdkSetK1(k1);
|
|
return ret;
|
|
}
|
|
|
|
int module_start(SceSize args, void *argp) {
|
|
return 0;
|
|
}
|
|
|
|
int module_stop(void) {
|
|
return 0;
|
|
}
|