[vorbis] Adding ao_get_latency() ?
rik at kde.org
rik at kde.org
Fri Jan 19 03:46:50 PST 2001
I've added ao_get_latency to my copy of ao.
This function allows you to discover the number of bytes that are
buffered between yourself and the speakers.
Status for the various devices:
* null - implemented (just returns 0.)
* wav - implemented (just returns 0.)
* esd - implemented but untested.
* oss - implemented.
* alsa - implemented.
* arts - implemented.
* solaris - stub.
* irix - stub.
The number returned should be fairly reliable. It is useful for anyone
who wants to do something like synchronise a level meter with actual
sound output time.
Rik
<HR NOSHADE>
<UL>
<LI>text/plain attachment: ao.diff
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ao.diff
Type: application/octet-stream
Size: 7618 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis/attachments/20010119/b1911915/ao.obj
More information about the Vorbis
mailing list