Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy...
[firefly-linux-kernel-4.4.55.git] / include / sound / asequencer.h
index 59485be05797148be51af9fa94354d166346ae74..3f2f4042a20dddeec4b11aea909e0a2d4df94e69 100644 (file)
@@ -502,8 +502,9 @@ struct snd_seq_running_info {
 
        /* known client numbers */
 #define SNDRV_SEQ_CLIENT_SYSTEM                0
-#define SNDRV_SEQ_CLIENT_DUMMY         62      /* dummy ports */
-#define SNDRV_SEQ_CLIENT_OSS           63      /* oss sequencer emulator */
+       /* internal client numbers */
+#define SNDRV_SEQ_CLIENT_DUMMY         14      /* midi through */
+#define SNDRV_SEQ_CLIENT_OSS           15      /* oss sequencer emulator */
 
 
        /* client types */
@@ -604,6 +605,10 @@ struct snd_seq_remove_events {
 #define SNDRV_SEQ_PORT_TYPE_DIRECT_SAMPLE (1<<11)      /* Sampling device (support sample download) */
 #define SNDRV_SEQ_PORT_TYPE_SAMPLE     (1<<12) /* Sampling device (sample can be downloaded at any time) */
 /*...*/
+#define SNDRV_SEQ_PORT_TYPE_HARDWARE   (1<<16) /* driver for a hardware device */
+#define SNDRV_SEQ_PORT_TYPE_SOFTWARE   (1<<17) /* implemented in software */
+#define SNDRV_SEQ_PORT_TYPE_SYNTHESIZER        (1<<18) /* generates sound */
+#define SNDRV_SEQ_PORT_TYPE_PORT       (1<<19) /* connects to other device(s) */
 #define SNDRV_SEQ_PORT_TYPE_APPLICATION        (1<<20) /* application (sequencer/editor) */
 
 /* misc. conditioning flags */