From: Jaroslav Kysela Date: Thu, 16 Dec 1999 14:14:16 +0000 (+0000) Subject: Reset all protocol versions to 1.0.0. X-Git-Tag: v1.0.3~1374 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=e4572ec719d959f49b3a41765c3dd543e4cb4d15;p=alsa-lib.git Reset all protocol versions to 1.0.0. --- diff --git a/src/control/control.c b/src/control/control.c index 600abc6f..cc8560e9 100644 --- a/src/control/control.c +++ b/src/control/control.c @@ -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; diff --git a/src/error.c b/src/error.c index 6d32609a..b96ed57d 100644 --- a/src/error.c +++ b/src/error.c @@ -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) diff --git a/src/mixer/mixer.c b/src/mixer/mixer.c index 188993f6..b7a8903b 100644 --- a/src/mixer/mixer.c +++ b/src/mixer/mixer.c @@ -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; diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index 247019a7..87e6a3d2 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -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) { diff --git a/src/pcm/pcm_loopback.c b/src/pcm/pcm_loopback.c index 5aaea004..74b86ae8 100644 --- a/src/pcm/pcm_loopback.c +++ b/src/pcm/pcm_loopback.c @@ -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; diff --git a/src/rawmidi/rawmidi.c b/src/rawmidi/rawmidi.c index d7374626..3625a4b1 100644 --- a/src/rawmidi/rawmidi.c +++ b/src/rawmidi/rawmidi.c @@ -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; diff --git a/src/seq/seq.c b/src/seq/seq.c index 5b186a12..76cb78be 100644 --- a/src/seq/seq.c +++ b/src/seq/seq.c @@ -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 */ diff --git a/src/timer/timer.c b/src/timer/timer.c index 21bbfd8f..295eae79 100644 --- a/src/timer/timer.c +++ b/src/timer/timer.c @@ -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;