Przeglądaj źródła

Fix syntax error in call to ao_play()

Anton Yabchinskiy 10 lat temu
rodzic
commit
e60c41be9f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      drivers/ao/audio_driver_ao.cpp

+ 1 - 1
drivers/ao/audio_driver_ao.cpp

@@ -88,7 +88,7 @@ void AudioDriverAO::thread_func(void* p_udata) {
 		if (ad->exit_thread)
 			break;
 
-		if (!ao_play(ad->device, reinterpret_cast<char*>(samples_out), n_bytes) {
+		if (!ao_play(ad->device, reinterpret_cast<char*>(samples_out), n_bytes)) {
 			ERR_PRINT("ao_play() failed");
 		}
 	};