commit | 8bea869c5e56234990e6bad92a543437115bfc18 | [log] [tgz] |
---|---|---|
author | Jaroslav Kysela <perex@perex.cz> | Mon Apr 27 09:44:40 2009 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Fri May 29 11:47:33 2009 +0200 |
tree | 7d0a5c4eeeeb69623066eccb363f35e0f2e3fda6 | |
parent | e93721a70263afefbac781f575bfe851c6f95d84 [diff] |
ALSA: PCM midlevel: improve fifo_size handling Move the fifo_size assignment to hw->ioctl callback to allow lowlevel drivers overwrite the default behaviour. fifo_size is in frames not bytes as specified in asound.h and alsa-lib's documentation, but most hardware have fixed byte based FIFOs. Introduce internal SNDRV_PCM_INFO_FIFO_IN_FRAMES. Signed-off-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>