]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fixed OSS emulation wrt triggers and capture mmap
authorAbramo Bagnara <abramo@alsa-project.org>
Wed, 31 Jan 2001 10:42:45 +0000 (10:42 +0000)
committerAbramo Bagnara <abramo@alsa-project.org>
Wed, 31 Jan 2001 10:42:45 +0000 (10:42 +0000)
src/pcm/pcm_local.h

index d59c2b06b361c0cf5a78fc11add477457d0859b2..b0b624111ed5c231ca9e01dd32624033b79f1040 100644 (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;