.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "VIA_DSP_DRAIN_PLAYBACK" "" "06 October 2005" "" ""
.SH NAME
via_dsp_drain_playback \- sleep until all playback samples are flushed
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int via_dsp_drain_playback (struct via_info * \fIcard\fB, struct via_channel * \fIchan\fB, int \fInonblock\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcard\fB\fR
Private info for specified board
.TP
\fB\fIchan\fB\fR
Channel to drain
.TP
\fB\fInonblock\fB\fR
boolean, non-zero if O_NONBLOCK is set
.SH "DESCRIPTION"
.PP
Sleeps until all playback has been flushed to the audio
hardware.
.SH "LOCKING"
.PP
inside card->syscall_sem