Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109496167
D47198.id145426.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
484 B
Referenced Files
None
Subscribers
None
D47198.id145426.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
@@ -335,10 +335,12 @@
extern int report_soft_formats;
extern int report_soft_matrix;
-#define PCMDIR_PLAY 1
-#define PCMDIR_PLAY_VIRTUAL 2
-#define PCMDIR_REC -1
-#define PCMDIR_REC_VIRTUAL -2
+enum {
+ PCMDIR_PLAY = 1,
+ PCMDIR_PLAY_VIRTUAL,
+ PCMDIR_REC,
+ PCMDIR_REC_VIRTUAL,
+};
#define PCMTRIG_START 1
#define PCMTRIG_EMLDMAWR 2
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 6, 7:58 PM (20 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16500638
Default Alt Text
D47198.id145426.diff (484 B)
Attached To
Mode
D47198: sound: Change PCMDIR_* numbering
Attached
Detach File
Event Timeline
Log In to Comment