Skip to content
Snippets Groups Projects
Commit ad2a5f44 authored by Ralph Giles's avatar Ralph Giles
Browse files

initialize byte queuing counts. they're just used for debugging

output, so this is a cleanup, not a bugfix.


git-svn-id: http://svn.xiph.org/trunk/ao@2257 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent 90d0ca1a
No related branches found
No related tags found
No related merge requests found
......@@ -234,6 +234,10 @@ int ao_plugin_open(ao_device *device, ao_sample_format *format)
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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment