Skip to content

Commit 0bf09d4

Browse files
author
Shaun Inman
committed
whoops, this uses SDL apis so can't live in common
1 parent 667fba6 commit 0bf09d4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

workspace/all/common/api.c

-6
Original file line numberDiff line numberDiff line change
@@ -1036,12 +1036,6 @@ void SND_init(double sample_rate, double frame_rate) { // plat_sound_init
10361036

10371037
SDL_InitSubSystem(SDL_INIT_AUDIO);
10381038

1039-
LOG_info("Available audio drivers:\n");
1040-
for (int i=0; i<SDL_GetNumAudioDrivers(); i++) {
1041-
LOG_info("- %s\n", SDL_GetAudioDriver(i));
1042-
}
1043-
LOG_info("Current audio driver: %s\n", SDL_GetCurrentAudioDriver());
1044-
10451039
snd.frame_rate = frame_rate;
10461040

10471041
SDL_AudioSpec spec_in;

workspace/rg35xxplus/platform/platform.c

+6
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,12 @@ SDL_Surface* PLAT_initVideo(void) {
248248
// SDL_GetCurrentDisplayMode(0, &mode);
249249
// LOG_info("Current display mode: %ix%i (%s)\n", mode.w,mode.h, SDL_GetPixelFormatName(mode.format));
250250

251+
// LOG_info("Available audio drivers:\n");
252+
// for (int i=0; i<SDL_GetNumAudioDrivers(); i++) {
253+
// LOG_info("- %s\n", SDL_GetAudioDriver(i));
254+
// }
255+
// LOG_info("Current audio driver: %s\n", SDL_GetCurrentAudioDriver());
256+
251257
// SDL_SetHint(SDL_HINT_RENDER_VSYNC,"0");
252258

253259
int w = FIXED_WIDTH;

0 commit comments

Comments
 (0)