Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151281576
D47323.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
436 B
Referenced Files
None
Subscribers
None
D47323.diff
View Options
diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c
--- a/sys/dev/sound/pcm/sound.c
+++ b/sys/dev/sound/pcm/sound.c
@@ -293,6 +293,7 @@
vchan_setmaxauto(d, snd_maxautovchans);
strlcpy(d->status, str, SND_STATUSLEN);
+ sndstat_register(dev, d->status);
PCM_LOCK(d);
@@ -509,8 +510,6 @@
if (numplay > 0 || numrec > 0)
d->flags |= SD_F_AUTOVCHAN;
- sndstat_register(dev, d->status);
-
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 7:36 AM (20 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31045070
Default Alt Text
D47323.diff (436 B)
Attached To
Mode
D47323: sound: Move sndstat_register() call to pcm_setstatus()
Attached
Detach File
Event Timeline
Log In to Comment