X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=osx_write.c;fp=osx_write.c;h=4d0bfbdf4f4f9aa300364aa3d53dcee40bb8ba14;hb=d7fd31be838a33e3a55717f80be850b7db55746d;hp=b3049c5aadf375abd365e49dafc8a26ff123bd91;hpb=6550ebb606e55e3a53dfc6c04a7eff638a45eb8b;p=paraslash.git diff --git a/osx_write.c b/osx_write.c index b3049c5a..4d0bfbdf 100644 --- a/osx_write.c +++ b/osx_write.c @@ -37,11 +37,18 @@ #include #include #include + +/** describes one input buffer for the osx writer */ struct osx_buffer { + /** pointer to the beginning of the buffer */ float *buffer; + /** the size of this buffer */ long size; - float *ptr; /* Where in the buffer are we? */ + /* current position in the buffer */ + float *ptr; + /** number of floats not yet consuned */ long remaining; + /** pointer to the next audio buffer */ struct osx_buffer *next; };