Differences between current version and previous revision of SDL_AudioSpec(3).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, June 3, 2002 6:53:39 pm | by perry | |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:53:39 pm | by perry | Revert |
@@ -1,6 +1,6 @@
-SDL_AudioSpec
-!!!SDL_AudioSpec
+SDL_!
AudioSpec
+!!!SDL_!
AudioSpec
NAME
STRUCTURE DEFINITION
STRUCTURE DATA
DESCRIPTION
@@ -8,9 +8,9 @@
----
!!NAME
-SDL_AudioSpec- Audio Specification Structure
+SDL_!
AudioSpec- Audio Specification Structure
!!STRUCTURE DEFINITION
typedef struct{
@@ -21,9 +21,9 @@
Uint16 samples;
Uint32 size;
void (*callback)(void *userdata, Uint8 *stream, int len);
void *userdata;
-} SDL_AudioSpec;
+} SDL_!
AudioSpec;
!!STRUCTURE DATA
__freq__ Audio frequency in samples per
@@ -56,12 +56,12 @@
callback function
!!DESCRIPTION
-The __SDL_AudioSpec__ structure is used to describe the
+The __SDL_!
AudioSpec__ structure is used to describe the
format of some audio data. This structure is used by
-__SDL_OpenAudio__ and __SDL_LoadWAV__. While all
-fields are used by __SDL_OpenAudio__ only __freq__,
+__SDL_!
OpenAudio__ and __SDL_LoadWAV__. While all
+fields are used by __SDL_!
OpenAudio__ only __freq__,
__format__, __samples__ and __channels__ are used
by __SDL_LoadWAV__. We will detail these common members
here.
@@ -103,15 +103,15 @@
mono (single channel), 2 is stereo (dual
channel).
-__samples__ When used with __SDL_OpenAudio__ this
+__samples__ When used with __SDL_!
OpenAudio__ this
refers to the size of the audio buffer in samples. A sample
a chunk of audio data of the size specified in __format__
mulitplied by the number of channels. When the
-__SDL_AudioSpec__ is used with __SDL_LoadWAV samples__
+__SDL_!
AudioSpec__ is used with __SDL_LoadWAV samples__
is set to 4096.
!!SEE ALSO
-__SDL_OpenAudio__, __SDL_LoadWAV__
+__SDL_!
OpenAudio__, __SDL_LoadWAV__
----