| Trees | Indices | Toggle frames |
|---|
??._CData --+
|
_ctypes.Structure --+
|
SDL_AudioSpec
Audio format structure.
The calculated values in this structure are calculated by SDL_OpenAudio.
Inherited from _ctypes.Structure:
__init__,
__new__
Inherited from unreachable._CData:
__ctypes_from_outparam__,
__hash__,
__reduce__,
__setstate__
|
Inherited from unreachable._CData:
_b_base_,
_b_needsfree_
|
| int |
channels = <Field type=c_ubyte, ofs=6, size=1>
Number of channels; 1 for mono or 2 for stereo.
|
| int |
format = <Field type=c_ushort, ofs=4, size=2>
Audio data format.
|
| int |
freq = <Field type=c_long, ofs=0, size=4>
DSP frequency, in samples per second
|
| int |
samples = <Field type=c_ushort, ofs=8, size=2>
Audio buffer size in samples (power of 2)
|
| int |
silence = <Field type=c_ubyte, ofs=7, size=1>
Audio buffer silence value (calculated)
|
| int |
size = <Field type=c_ulong, ofs=12, size=4>
Audio buffer size in bytes (calculated)
|
_fields_ =
|
<Field type=c_ushort, ofs=4, size=2> |
|
| Trees | Indices | Toggle frames |
|---|
| Generated by Epydoc 3.0beta1 on Wed Sep 08 23:50:19 2010 | http://epydoc.sourceforge.net |