Reset all protocol versions to 1.0.0.

This commit is contained in:
Jaroslav Kysela 1999-12-16 14:14:16 +00:00
parent a6cd55dcfe
commit e4572ec719
8 changed files with 8 additions and 8 deletions

View 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;

View 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)

View 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;

View 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)
{

View 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;

View 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;

View 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 */

View 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;