File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change @@ -355,4 +355,55 @@ const char *native_midi_error(void)
355
355
return "" ; /* !!! FIXME */
356
356
}
357
357
358
+ #else
359
+
360
+ #include "native_midi.h"
361
+
362
+ bool native_midi_detect (void )
363
+ {
364
+ return false;
365
+ }
366
+
367
+ NativeMidiSong * native_midi_loadsong_IO (SDL_IOStream * src , bool closeio )
368
+ {
369
+ if (closeio ) {
370
+ SDL_CloseIO (src );
371
+ }
372
+ SDL_Unsupported ();
373
+ return NULL ;
374
+ }
375
+
376
+ void native_midi_freesong (NativeMidiSong * song )
377
+ {
378
+ }
379
+
380
+ void native_midi_start (NativeMidiSong * song , int loops )
381
+ {
382
+ }
383
+
384
+ void native_midi_pause (void )
385
+ {
386
+ }
387
+
388
+ void native_midi_resume (void )
389
+ {
390
+ }
391
+
392
+ void native_midi_stop (void )
393
+ {
394
+ }
395
+
396
+ bool native_midi_active (void )
397
+ {
398
+ }
399
+
400
+ void native_midi_setvolume (int volume )
401
+ {
402
+ }
403
+
404
+ const char * native_midi_error (void )
405
+ {
406
+ return "" ;
407
+ }
408
+
358
409
#endif /* Mac OS X native MIDI support */
You can’t perform that action at this time.
0 commit comments