Minor code formatting fixes in ao driver

This commit is contained in:
Anton Yabchinskiy 2014-11-22 03:00:21 +03:00
parent 2f92e2a67a
commit 3c2e35ada9

View File

@ -66,7 +66,6 @@ Error AudioDriverAO::init() {
}; };
void AudioDriverAO::thread_func(void* p_udata) { void AudioDriverAO::thread_func(void* p_udata) {
AudioDriverAO* ad = (AudioDriverAO*)p_udata; AudioDriverAO* ad = (AudioDriverAO*)p_udata;
uint64_t usdelay = (ad->buffer_size / float(ad->mix_rate)) * 1000000; uint64_t usdelay = (ad->buffer_size / float(ad->mix_rate)) * 1000000;
@ -78,7 +77,6 @@ void AudioDriverAO::thread_func(void* p_udata) {
ad->lock(); ad->lock();
ad->audio_server_process(ad->buffer_size, ad->samples_in); ad->audio_server_process(ad->buffer_size, ad->samples_in);
ad->unlock(); ad->unlock();
}; };
OS::get_singleton()->delay_usec(usdelay); OS::get_singleton()->delay_usec(usdelay);