Browse Source

Fixed bug #6537 - AIX: use PAUDIO_WaitDevice

Sylvain 2 years ago
parent
commit
89572af6a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/audio/paudio/SDL_paudio.c

+ 1 - 1
src/audio/paudio/SDL_paudio.c

@@ -477,7 +477,7 @@ PAUDIO_Init(SDL_AudioDriverImpl * impl)
     /* Set the function pointers */
     impl->OpenDevice = PAUDIO_OpenDevice;
     impl->PlayDevice = PAUDIO_PlayDevice;
-    impl->PlayDevice = PAUDIO_WaitDevice;
+    impl->WaitDevice = PAUDIO_WaitDevice;
     impl->GetDeviceBuf = PAUDIO_GetDeviceBuf;
     impl->CloseDevice = PAUDIO_CloseDevice;
     impl->OnlyHasDefaultOutputDevice = SDL_TRUE;       /* !!! FIXME: add device enum! */