From: Abramo Bagnara Date: Wed, 31 Jan 2001 10:42:45 +0000 (+0000) Subject: Fixed OSS emulation wrt triggers and capture mmap X-Git-Tag: v1.0.3~999 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=8e9a23acb5a2600a0e4d200d307d2fd9a348bb78;p=alsa-lib.git Fixed OSS emulation wrt triggers and capture mmap --- diff --git a/src/pcm/pcm_local.h b/src/pcm/pcm_local.h index d59c2b06..b0b62411 100644 --- a/src/pcm/pcm_local.h +++ b/src/pcm/pcm_local.h @@ -85,13 +85,13 @@ typedef struct { struct _snd_pcm { char *name; snd_pcm_type_t type; - int stream; + snd_pcm_stream_t stream; int mode; int poll_fd; int setup; - unsigned int access; /* access mode */ - unsigned int format; /* SND_PCM_FORMAT_* */ - unsigned int subformat; /* subformat */ + snd_pcm_access_t access; /* access mode */ + snd_pcm_format_t format; /* SND_PCM_FORMAT_* */ + snd_pcm_subformat_t subformat; /* subformat */ unsigned int channels; /* channels */ unsigned int rate; /* rate in Hz */ snd_pcm_uframes_t period_size;