Fixed OSS emulation wrt triggers and capture mmap

This commit is contained in:
Abramo Bagnara 2001-01-31 10:42:45 +00:00
parent 8712ffc6a5
commit 8e9a23acb5

View file

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