add documentation for struct osx_buffer
authorAndre Noll <maan@congo.fml.local>
Tue, 19 Sep 2006 11:42:32 +0000 (13:42 +0200)
committerAndre Noll <maan@congo.fml.local>
Tue, 19 Sep 2006 11:42:32 +0000 (13:42 +0200)
osx_write.c

index b3049c5aadf375abd365e49dafc8a26ff123bd91..4d0bfbdf4f4f9aa300364aa3d53dcee40bb8ba14 100644 (file)
 #include <CoreAudio/CoreAudio.h>
 #include <AudioUnit/AudioUnit.h>
 #include <AudioToolbox/DefaultAudioOutput.h>
+
+/** 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;
 };