From 308f52e65aa4df84bbb8fe51a00932f55be95b08 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 12 May 2006 12:09:33 +0200 Subject: [PATCH] Fix a typo in pcm_file.c Fix a typo in snd_pcm_file_readn(). --- src/pcm/pcm_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcm/pcm_file.c b/src/pcm/pcm_file.c index 9e419613..359d84da 100644 --- a/src/pcm/pcm_file.c +++ b/src/pcm/pcm_file.c @@ -234,7 +234,7 @@ static snd_pcm_sframes_t snd_pcm_file_readn(snd_pcm_t *pcm, void **bufs, snd_pcm { snd_pcm_file_t *file = pcm->private_data; snd_pcm_channel_area_t areas[pcm->channels]; - snd_pcm_sframes_t n = snd_pcm_writen(file->gen.slave, bufs, size); + snd_pcm_sframes_t n = snd_pcm_readn(file->gen.slave, bufs, size); if (n > 0) { snd_pcm_areas_from_bufs(pcm, areas, bufs); snd_pcm_file_add_frames(pcm, areas, 0, n); -- 2.47.3