Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F165027512
D55941.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
812 B
Referenced Files
None
Subscribers
None
D55941.diff
View Options
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -1144,7 +1144,6 @@
int dir, void *devinfo)
{
struct pcm_channel *c;
- struct feeder_class *fc;
struct snd_dbuf *b, *bs;
char buf[CHN_NAMELEN];
int err, i, direction, *vchanrate, *vchanformat;
@@ -1217,17 +1216,6 @@
chn_vpc_reset(c, SND_VOL_C_PCM, 1);
CHN_UNLOCK(c);
- fc = feeder_getclass(FEEDER_ROOT);
- if (fc == NULL) {
- device_printf(d->dev, "%s(): failed to get feeder class\n",
- __func__);
- goto fail;
- }
- if (feeder_add(c, fc, NULL)) {
- device_printf(d->dev, "%s(): failed to add feeder\n", __func__);
- goto fail;
- }
-
b = sndbuf_create(c, "primary");
bs = sndbuf_create(c, "secondary");
if (b == NULL || bs == NULL) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 6, 9:24 AM (14 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36110858
Default Alt Text
D55941.diff (812 B)
Attached To
Mode
D55941: sound: Do not create root feeder in chn_init()
Attached
Detach File
Event Timeline
Log In to Comment