via_dsp_drain_playback
Name
via_dsp_drain_playback -- sleep until all playback samples are flushed
Synopsis
int via_dsp_drain_playback
(struct via_info * card, struct via_channel * chan, int nonblock);
Arguments
- card
Private info for specified board
- chan
Channel to drain
- nonblock
boolean, non-zero if O_NONBLOCK is set
Description
Sleeps until all playback has been flushed to the audio
hardware.
Locking
inside card->syscall_sem