vchan.h revision 82180
165865Siwasaki/*
265865Siwasaki * Copyright (c) 2001 Cameron Grant <gandalf@vilnya.demon.co.uk>
365865Siwasaki * All rights reserved.
465865Siwasaki *
565865Siwasaki * Redistribution and use in source and binary forms, with or without
665865Siwasaki * modification, are permitted provided that the following conditions
765865Siwasaki * are met:
865865Siwasaki * 1. Redistributions of source code must retain the above copyright
965865Siwasaki *    notice, this list of conditions and the following disclaimer.
1065865Siwasaki * 2. Redistributions in binary form must reproduce the above copyright
1165865Siwasaki *    notice, this list of conditions and the following disclaimer in the
1265865Siwasaki *    documentation and/or other materials provided with the distribution.
1365865Siwasaki *
1465865Siwasaki * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1565865Siwasaki * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1665865Siwasaki * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1765865Siwasaki * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1865865Siwasaki * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1965865Siwasaki * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2065865Siwasaki * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2165865Siwasaki * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2265865Siwasaki * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2365865Siwasaki * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2465865Siwasaki * SUCH DAMAGE.
2565865Siwasaki *
2665865Siwasaki * $FreeBSD: head/sys/dev/sound/pcm/vchan.h 82180 2001-08-23 11:30:52Z cg $
27115703Sobrien */
28115703Sobrien
29115703Sobrienint vchan_create(struct pcm_channel *parent);
3065865Siwasakiint vchan_destroy(struct pcm_channel *c);
3165865Siwasakiint vchan_initsys(device_t dev);
3265865Siwasaki
3365865Siwasaki
3465865Siwasaki