Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102815243
D46550.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
309 B
Referenced Files
None
Subscribers
None
D46550.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
@@ -1202,7 +1202,8 @@
CHN_FOREACH(c, d, channels.pcm) {
if (c->type != type)
continue;
- unit++;
+ while (c->unit == unit)
+ unit++;
}
PCM_UNLOCK(d);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 1:25 PM (21 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
11417140
Default Alt Text
D46550.diff (309 B)
Attached To
Mode
D46550: sound: Make sure chn_init() produces unique unit numbers
Attached
Detach File
Event Timeline
Log In to Comment