X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/e99a9fd614f9bd1d205e00b47e3e669b7735b91f..70d2939adaa6ee884690256fccba884f6cc606b0:/lib/uaudio.h?ds=sidebyside diff --git a/lib/uaudio.h b/lib/uaudio.h index 37e0ae4..709979e 100644 --- a/lib/uaudio.h +++ b/lib/uaudio.h @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2009 Richard Kettlewell + * Copyright (C) 2009, 2013 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ extern int uaudio_bits; extern int uaudio_channels; extern int uaudio_signed; extern size_t uaudio_sample_size; +extern int uaudio_buffer; /** @brief Callback to get audio data * @param buffer Where to put audio data @@ -165,7 +166,7 @@ void uaudio_thread_stop(void); void uaudio_thread_activate(void); void uaudio_thread_deactivate(void); uint32_t uaudio_schedule_sync(void); -void uaudio_schedule_sent(size_t nsamples); +void uaudio_schedule_sent(size_t nsamples_sent); void uaudio_schedule_init(void); const struct uaudio *uaudio_find(const char *name);