Page MenuHomeFreeBSD

D47198.id145426.diff
No OneTemporary

D47198.id145426.diff

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

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)

Event Timeline