]> git.alsa-project.org Git - alsa-lib.git/commit
Use slave PCM as a timing-source for file ifile
authorTakashi Iwai <tiwai@suse.de>
Fri, 14 Mar 2008 13:03:54 +0000 (14:03 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 14 Mar 2008 13:03:54 +0000 (14:03 +0100)
commit5c5f1358123af69155267463a0b6254ad9cbecc4
treeee200cfa534a6af6aed4de3c037cd217d0fef4b1
parent3d0dae9099866910daed8bdc2e8c5b8a2422a981
Use slave PCM as a timing-source for file ifile

When ifile option is used for the file plugin, it ignores the slave PCM
and just feeds the input data.
This patch changes the behavior a bit - it uses the slave PCM as the
timing source (just read and throw data away) so that the input data
can be read in the right sample rate.
src/pcm/pcm_file.c