comparison src/audio/nto/SDL_nto_audio.c @ 3831:7df0d3efe682 SDL-ryan-multiple-audio-device

Forgot to add NTO_Init()...
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 07 Oct 2006 19:59:57 +0000
parents d3171647e661
children 66fb40445587
comparison
equal deleted inserted replaced
3830:29e83f221c62 3831:7df0d3efe682
446 446
447 /* We're really ready to rock and roll. :-) */ 447 /* We're really ready to rock and roll. :-) */
448 return 1; 448 return 1;
449 } 449 }
450 450
451
452 static int
453 NTO_Init(SDL_AudioDriverImpl *impl)
454 {
455 /* Set the function pointers */
456 impl->OpenDevice = NTO_OpenDevice;
457 impl->ThreadInit = NTO_ThreadInit;
458 impl->WaitDevice = NTO_WaitDevice;
459 impl->PlayDevice = NTO_PlayDevice;
460 impl->GetDeviceBuf = NTO_GetDeviceBuf;
461 impl->CloseDevice = NTO_CloseDevice;
462 impl->OnlyHasDefaultOutputDevice = 1; /* !!! FIXME: add device enum! */
463
464 return 1;
465 }
466
451 AudioBootStrap QNXNTOAUDIO_bootstrap = { 467 AudioBootStrap QNXNTOAUDIO_bootstrap = {
452 DRIVER_NAME, "QNX6 QSA-NTO Audio", 468 DRIVER_NAME, "QNX6 QSA-NTO Audio",
453 NTO_AudioAvailable, NTO_Init, 0 469 NTO_AudioAvailable, NTO_Init, 0
454 }; 470 };
455 471