Explorar o código

Fix syntax error in call to ao_play()

Anton Yabchinskiy %!s(int64=10) %!d(string=hai) anos
pai
achega
e60c41be9f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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");
 		}
 	};