Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148312736
D46549.id142989.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
419 B
Referenced Files
None
Subscribers
None
D46549.id142989.diff
View Options
diff --git a/sys/dev/sound/pcm/channel.h b/sys/dev/sound/pcm/channel.h
--- a/sys/dev/sound/pcm/channel.h
+++ b/sys/dev/sound/pcm/channel.h
@@ -225,7 +225,7 @@
#define CHN_INSERT_SORT(w, x, y, z) do { \
struct pcm_channel *t, *a = NULL; \
CHN_FOREACH(t, x, z) { \
- if ((y)->type w t->type) \
+ if ((y)->type w t->type && (y)->unit w t->unit) \
a = t; \
else \
break; \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 3:09 AM (4 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29873230
Default Alt Text
D46549.id142989.diff (419 B)
Attached To
Mode
D46549: sound: Sort channels by unit number as well
Attached
Detach File
Event Timeline
Log In to Comment