diff --git a/alsa.c b/alsa.c index 091e301..18668c8 100644 --- a/alsa.c +++ b/alsa.c @@ -16,7 +16,7 @@ typedef struct { void (*info)(pcm_t *); int (*rate)(pcm_t *); int (*channels)(pcm_t *); - int (*rw)(struct pcm *, short *, int); + int (*rw)(pcm_t *, short *, int); snd_pcm_t *pcm; int index; int frames; diff --git a/wav.c b/wav.c index 6392bbb..f46153d 100644 --- a/wav.c +++ b/wav.c @@ -34,7 +34,7 @@ typedef struct { void (*info)(pcm_t *); int (*rate)(pcm_t *); int (*channels)(pcm_t *); - int (*rw)(struct pcm *, short *, int); + int (*rw)(pcm_t *, short *, int); void *p; short *b; size_t size;