summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/feeder.h
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>2002-01-26 22:13:24 +0000
committercg <cg@FreeBSD.org>2002-01-26 22:13:24 +0000
commit7119c584879890efe6e984d27f939052ff2d0d0c (patch)
tree7f5235e1606d17de8b16949b2ddbfff99e3ba640 /sys/dev/sound/pcm/feeder.h
parent94fe6c387a335887a3fa8b9073ac110ac597f6d7 (diff)
downloadFreeBSD-src-7119c584879890efe6e984d27f939052ff2d0d0c.zip
FreeBSD-src-7119c584879890efe6e984d27f939052ff2d0d0c.tar.gz
* improve error handling
* be more specific in verbose boot messages * allow the feeder subsystem to veto pcm* attaching if there is an error initialising the root feeder * don't free/malloc a new tmpbuf when resizing a snd_dbuf to the same size as it currently is * store the feeder description in the feeder structure instead of mallocing space for it
Diffstat (limited to 'sys/dev/sound/pcm/feeder.h')
-rw-r--r--sys/dev/sound/pcm/feeder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/feeder.h b/sys/dev/sound/pcm/feeder.h
index f3374a1..9fb8ff7 100644
--- a/sys/dev/sound/pcm/feeder.h
+++ b/sys/dev/sound/pcm/feeder.h
@@ -43,10 +43,11 @@ struct feeder_class {
struct pcm_feeder {
KOBJ_FIELDS;
int align;
- struct pcm_feederdesc *desc;
+ struct pcm_feederdesc *desc, desc_static;
void *data;
struct feeder_class *class;
struct pcm_feeder *source, *parent;
+
};
void feeder_register(void *p);
OpenPOWER on IntegriCloud