Trees | Indices | Toggle frames |
---|
A single packet of audio data.
This class is used internally by pyglet.
__init__(self, data, length, timestamp, duration) | |
consume(self,
bytes,
audio_format)
Remove some data from beginning of packet.
|
|
get_string_data(self)
Return data as a string.
|
str or ctypes array or pointer |
data
Sample data.
|
float |
duration
Total data duration, in seconds.
|
int |
length
Size of sample data, in bytes.
|
float |
timestamp
Time of the first sample, in seconds.
|
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Thu Dec 31 17:58:19 2009 | http://epydoc.sourceforge.net |