via_chan_free

Name

via_chan_free --  Release a PCM channel

Synopsis

void via_chan_free (struct via_info * card, struct via_channel * chan);

Arguments

card

Private audio chip info

chan

Channel to be released

Description

Performs all the functions necessary to clean up an initialized channel.

Currently these functions include disabled any active DMA operations, setting the PCM channel back to a known state, and releasing any allocated sound buffers.