Deleted Added
full compact
feeder.h (77266) feeder.h (89686)
1/*
2 * Copyright (c) 1999 Cameron Grant <gandalf@vilnya.demon.co.uk>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*
2 * Copyright (c) 1999 Cameron Grant <gandalf@vilnya.demon.co.uk>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/dev/sound/pcm/feeder.h 77266 2001-05-27 14:49:14Z cg $
26 * $FreeBSD: head/sys/dev/sound/pcm/feeder.h 89686 2002-01-23 05:10:56Z cg $
27 */
28
29struct pcm_feederdesc {
30 u_int32_t type;
31 u_int32_t in, out;
32 u_int32_t flags;
33 int idx;
34};

--- 6 unchanged lines hidden (view full) ---

41};
42
43struct pcm_feeder {
44 KOBJ_FIELDS;
45 int align;
46 struct pcm_feederdesc *desc;
47 void *data;
48 struct feeder_class *class;
27 */
28
29struct pcm_feederdesc {
30 u_int32_t type;
31 u_int32_t in, out;
32 u_int32_t flags;
33 int idx;
34};

--- 6 unchanged lines hidden (view full) ---

41};
42
43struct pcm_feeder {
44 KOBJ_FIELDS;
45 int align;
46 struct pcm_feederdesc *desc;
47 void *data;
48 struct feeder_class *class;
49 struct pcm_feeder *source;
49 struct pcm_feeder *source, *parent;
50};
51
52void feeder_register(void *p);
53struct feeder_class *feeder_getclass(struct pcm_feederdesc *desc);
54
55u_int32_t chn_fmtchain(struct pcm_channel *c, u_int32_t *to);
56int chn_addfeeder(struct pcm_channel *c, struct feeder_class *fc, struct pcm_feederdesc *desc);
57int chn_removefeeder(struct pcm_channel *c);

--- 25 unchanged lines hidden ---
50};
51
52void feeder_register(void *p);
53struct feeder_class *feeder_getclass(struct pcm_feederdesc *desc);
54
55u_int32_t chn_fmtchain(struct pcm_channel *c, u_int32_t *to);
56int chn_addfeeder(struct pcm_channel *c, struct feeder_class *fc, struct pcm_feederdesc *desc);
57int chn_removefeeder(struct pcm_channel *c);

--- 25 unchanged lines hidden ---