]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Reset all protocol versions to 1.0.0.
authorJaroslav Kysela <perex@perex.cz>
Thu, 16 Dec 1999 14:14:16 +0000 (14:14 +0000)
committerJaroslav Kysela <perex@perex.cz>
Thu, 16 Dec 1999 14:14:16 +0000 (14:14 +0000)
src/control/control.c
src/error.c
src/mixer/mixer.c
src/pcm/pcm.c
src/pcm/pcm_loopback.c
src/rawmidi/rawmidi.c
src/seq/seq.c
src/timer/timer.c

index 600abc6f800443e31cf3c231a72c27d18f8bd50c..cc8560e9b1c22a1348600224d3abeb9a2d68a48c 100644 (file)
@@ -29,7 +29,7 @@
 #include "asoundlib.h"
 
 #define SND_FILE_CONTROL       "/dev/snd/controlC%i"
-#define SND_CTL_VERSION_MAX    SND_PROTOCOL_VERSION(2, 1, 0)
+#define SND_CTL_VERSION_MAX    SND_PROTOCOL_VERSION(1, 0, 0)
 
 struct snd_ctl {
        int card;
index 6d32609abe2166fc4a174e164a6405d7dd0c8977..b96ed57d1b63533fd8e4cea1b84bb3c25ff58272 100644 (file)
@@ -28,7 +28,7 @@
 
 static const char *snd_error_codes[] =
 {
-       "Sound protocol isn't compatible"
+       "Sound protocol is not compatible"
 };
 
 const char *snd_strerror(int errnum)
index 188993f66f96acd526936b815cda3be9e07acedc..b7a8903bd2a31605971acdb4af0991f73486d852 100644 (file)
@@ -29,7 +29,7 @@
 #include "asoundlib.h"
 
 #define SND_FILE_MIXER         "/dev/snd/mixerC%iD%i"
-#define SND_MIXER_VERSION_MAX  SND_PROTOCOL_VERSION(2, 2, 0)
+#define SND_MIXER_VERSION_MAX  SND_PROTOCOL_VERSION(1, 0, 0)
 
 struct snd_mixer {
        int card;
index 247019a7b08b2cc22905071b51bc6254849dac23..87e6a3d2130f9438835494e2dd45a1a20a6325ad 100644 (file)
@@ -30,7 +30,7 @@
 #include "pcm_local.h"
 
 #define SND_FILE_PCM           "/dev/snd/pcmC%iD%i"
-#define SND_PCM_VERSION_MAX    SND_PROTOCOL_VERSION(2, 0, 0)
+#define SND_PCM_VERSION_MAX    SND_PROTOCOL_VERSION(1, 0, 0)
 
 int snd_pcm_open(snd_pcm_t **handle, int card, int device, int mode)
 {
index 5aaea004065057002106bbbe93f04f851d92590e..74b86ae815e3a5fc7c5c4b20b74b9f771e203f1c 100644 (file)
@@ -29,7 +29,7 @@
 #include "asoundlib.h"
 
 #define SND_FILE_PCM_LB                "/proc/asound/%i/pcmloopD%iS%i%s"
-#define SND_PCM_LB_VERSION_MAX SND_PROTOCOL_VERSION(2, 0, 0)
+#define SND_PCM_LB_VERSION_MAX SND_PROTOCOL_VERSION(1, 0, 0)
 
 struct snd_pcm_loopback {
        int card;
index d737462652b7c8fa27e51496ad06898fe893dc86..3625a4b11acd45ecd1d13441382c895d5e19b856 100644 (file)
@@ -29,7 +29,7 @@
 #include "asoundlib.h"
 
 #define SND_FILE_RAWMIDI       "/dev/snd/midiC%iD%i"
-#define SND_RAWMIDI_VERSION_MAX        SND_PROTOCOL_VERSION(1, 1, 0)
+#define SND_RAWMIDI_VERSION_MAX        SND_PROTOCOL_VERSION(1, 0, 0)
 
 struct snd_rawmidi {
        int card;
index 5b186a12e6462562f3a90a12c127dcb605db2f31..76cb78becaa8431ff3b582adf52e3dab767952cf 100644 (file)
@@ -31,7 +31,7 @@
 
 #define SND_FILE_SEQ           "/dev/snd/seq"
 #define SND_FILE_ALOADSEQ      "/dev/aloadSEQ"
-#define SND_SEQ_VERSION_MAX    SND_PROTOCOL_VERSION( 1, 0, 0 )
+#define SND_SEQ_VERSION_MAX    SND_PROTOCOL_VERSION(1, 0, 0)
 #define SND_SEQ_OBUF_SIZE      (16*1024)       /* should be configurable */
 #define SND_SEQ_IBUF_SIZE      (4*1024)        /* should be configurable */
 
index 21bbfd8fbaf920f0a7e2d5f504a5358fed1e0b24..295eae79b4b69ed21a236ed8310e60f8cbfac908 100644 (file)
@@ -29,7 +29,7 @@
 #include "asoundlib.h"
 
 #define SND_FILE_TIMER         "/dev/snd/timer"
-#define SND_TIMER_VERSION_MAX  SND_PROTOCOL_VERSION(1, 1, 0)
+#define SND_TIMER_VERSION_MAX  SND_PROTOCOL_VERSION(1, 0, 0)
 
 struct snd_timer {
        int fd;