Protocol version number changed to 2.0.0.

This commit is contained in:
Jaroslav Kysela 2000-04-18 11:25:05 +00:00
parent 03066b8131
commit 1149f06429
3 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@
#define SND_FILE_PCM_PLAYBACK "/dev/snd/pcmC%iD%ip" #define SND_FILE_PCM_PLAYBACK "/dev/snd/pcmC%iD%ip"
#define SND_FILE_PCM_CAPTURE "/dev/snd/pcmC%iD%ic" #define SND_FILE_PCM_CAPTURE "/dev/snd/pcmC%iD%ic"
#define SND_PCM_VERSION_MAX SND_PROTOCOL_VERSION(1, 1, 0) #define SND_PCM_VERSION_MAX SND_PROTOCOL_VERSION(2, 0, 0)
int snd_pcm_open(snd_pcm_t **handle, int card, int device, int mode) int snd_pcm_open(snd_pcm_t **handle, int card, int device, int mode)
{ {

View file

@ -29,7 +29,7 @@
#include "asoundlib.h" #include "asoundlib.h"
#define SND_FILE_RAWMIDI "/dev/snd/midiC%iD%i" #define SND_FILE_RAWMIDI "/dev/snd/midiC%iD%i"
#define SND_RAWMIDI_VERSION_MAX SND_PROTOCOL_VERSION(1, 0, 0) #define SND_RAWMIDI_VERSION_MAX SND_PROTOCOL_VERSION(2, 0, 0)
struct snd_rawmidi { struct snd_rawmidi {
int card; int card;

View file

@ -29,7 +29,7 @@
#include "asoundlib.h" #include "asoundlib.h"
#define SND_FILE_TIMER "/dev/snd/timer" #define SND_FILE_TIMER "/dev/snd/timer"
#define SND_TIMER_VERSION_MAX SND_PROTOCOL_VERSION(1, 0, 0) #define SND_TIMER_VERSION_MAX SND_PROTOCOL_VERSION(2, 0, 0)
struct snd_timer { struct snd_timer {
int fd; int fd;