Updated from the SDL Documentation Project
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40182
This commit is contained in:
parent
627578c0d5
commit
8dd601989f
355 changed files with 2317 additions and 1398 deletions
|
@ -1,4 +1,4 @@
|
|||
.TH "SDL_OpenAudio" "3" "Sun 10 Jun 2001, 19:40" "SDL" "SDL API Reference"
|
||||
.TH "SDL_OpenAudio" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference"
|
||||
.SH "NAME"
|
||||
SDL_OpenAudio\- Opens the audio device with the desired parameters\&.
|
||||
.SH "SYNOPSIS"
|
||||
|
@ -61,6 +61,9 @@ desired->freq=22050;
|
|||
/* 16-bit signed audio */
|
||||
desired->format=AUDIO_S16LSB;
|
||||
|
||||
/* Mono */
|
||||
desired->channels=0;
|
||||
|
||||
/* Large audio buffer reduces risk of dropouts but increases response time */
|
||||
desired->samples=8192;
|
||||
|
||||
|
@ -91,4 +94,4 @@ SDL_PauseAudio(0);\fR
|
|||
.SH "SEE ALSO"
|
||||
.PP
|
||||
\fI\fBSDL_AudioSpec\fP\fR, \fI\fBSDL_LockAudio\fP\fR, \fI\fBSDL_UnlockAudio\fP\fR, \fI\fBSDL_PauseAudio\fP\fR
|
||||
...\" created by instant / docbook-to-man, Sun 10 Jun 2001, 19:40
|
||||
...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue