[xiph-cvs] cvs commit: ao/src/plugins/macosx ao_macosx.c
Ralph Giles
giles at xiph.org
Thu Oct 25 02:44:02 PDT 2001
giles 01/10/25 02:44:02
Modified: src/plugins/macosx ao_macosx.c
Log:
initialize byte queuing counts. they're just used for debugging
output, so this is a cleanup, not a bugfix.
Revision Changes Path
1.4 +4 -0 ao/src/plugins/macosx/ao_macosx.c
Index: ao_macosx.c
===================================================================
RCS file: /usr/local/cvsroot/ao/src/plugins/macosx/ao_macosx.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ao_macosx.c 2001/09/27 00:32:22 1.3
+++ ao_macosx.c 2001/10/25 09:44:01 1.4
@@ -234,6 +234,10 @@
fprintf(stderr, "ao_macosx_open: Unable to allocate queue buffer.\n");
return 0;
}
+
+ /* initialize debugging state */
+ internal->bytesQueued = 0;
+ internal->bytesDequeued = 0;
device->driver_byte_format = AO_FMT_NATIVE;
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list