mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-09-22 22:48:08 +03:00
Remove 'not tested' messages
This commit is contained in:
@@ -203,7 +203,6 @@ int mus_pcm_mix(int noL, int noR, int loop) {
|
||||
*/
|
||||
int mus_pcm_stop(int msec) {
|
||||
if (!prv.pcm_valid) return NG;
|
||||
printf("%s not tested\n", __func__);
|
||||
|
||||
muspcm_fadeout(0, msec);
|
||||
return OK;
|
||||
@@ -227,7 +226,6 @@ int mus_pcm_load(int no) {
|
||||
*/
|
||||
int mus_pcm_get_playposition(int *pos) {
|
||||
if (!prv.pcm_valid) return NG;
|
||||
printf("%s not tested\n", __func__);
|
||||
|
||||
*pos = muspcm_getpos(0);
|
||||
return OK;
|
||||
|
||||
+2
-2
@@ -24,8 +24,8 @@
|
||||
#ifndef __MUSIC_PCM_H__
|
||||
#define __MUSIC_PCM_H__
|
||||
|
||||
extern int muspcm_init();
|
||||
extern int muspcm_exit();
|
||||
extern int muspcm_init(void);
|
||||
extern int muspcm_exit(void);
|
||||
extern int muspcm_load_no(int slot, int no);
|
||||
extern int muspcm_load_mixlr(int slot, int noL, int noR);
|
||||
extern int muspcm_start(int slot, int loop);
|
||||
|
||||
+2
-2
@@ -134,7 +134,7 @@ static Mix_Chunk *pcm_mixlr(int noL, int noR) {
|
||||
}
|
||||
}
|
||||
|
||||
int muspcm_init() {
|
||||
int muspcm_init(void) {
|
||||
Mix_Init(MIX_INIT_MP3 | MIX_INIT_OGG);
|
||||
if (Mix_OpenAudio(44100, AUDIO_S16LSB, 2, 4096) < 0)
|
||||
return NG;
|
||||
@@ -142,7 +142,7 @@ int muspcm_init() {
|
||||
return OK;
|
||||
}
|
||||
|
||||
int muspcm_exit() {
|
||||
int muspcm_exit(void) {
|
||||
Mix_CloseAudio();
|
||||
Mix_Quit();
|
||||
return OK;
|
||||
|
||||
Reference in New Issue
Block a user