alsa: fallback to buffer_size/4 for period_size.
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 22 Jun 2011 19:33:56 +0000 (15:33 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 9 Jul 2011 20:00:56 +0000 (16:00 -0400)
commit8bfd7f6a475225a0595bf657f8b99a8fffb461e4
tree8d61a013d2bddda4a51267b9c029d464f940d008
parent4c98976124f611b1a475bccb1b5177ff536be79c
alsa: fallback to buffer_size/4 for period_size.

buffer_size/4 is the value used by aplay. This fixes output to null
devices, e.g. writing ALSA output to a file.
libavdevice/alsa-audio-common.c