Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F172925101
D55990.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
508 B
Referenced Files
None
Subscribers
None
D55990.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
Wed, Sep 23, 3:32 AM (12 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39452826
Default Alt Text
D55990.diff (508 B)
Attached To
Mode
D55990: sound: Always use chn_getvolume_matrix()
Attached
Detach File
Event Timeline
Log In to Comment