Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177240466
D55990.1793987021.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
508 B
Referenced Files
None
Subscribers
None
D55990.1793987021.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
@@ -307,11 +307,7 @@
int chn_syncdestroy(struct pcm_channel *c);
#define CHN_SETVOLUME(...) chn_setvolume_matrix(__VA_ARGS__)
-#if defined(SND_DIAGNOSTIC) || defined(INVARIANTS)
#define CHN_GETVOLUME(...) chn_getvolume_matrix(__VA_ARGS__)
-#else
-#define CHN_GETVOLUME(x, y, z) ((x)->volume[y][z])
-#endif
#define CHN_GETMUTE(x, y, z) ((x)->muted[y][z])
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 6, 5:43 PM (2 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41490106
Default Alt Text
D55990.1793987021.diff (508 B)
Attached To
Mode
D55990: sound: Always use chn_getvolume_matrix()
Attached
Detach File
Event Timeline