OSDN Git Service

pulse: set time_base as multiple of sample_rate
authorFederico Simoncelli <federico.simoncelli@gmail.com>
Sun, 5 Jan 2014 12:03:14 +0000 (13:03 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 5 Jan 2014 17:44:06 +0000 (18:44 +0100)
commitb13d6c837fd70e494279a50f6bf7c40f43842f6a
tree528901a087e95f82883959ce2e4465f1953edc9c
parentd04aceb7d03233ccdfb572802593961830e695a6
pulse: set time_base as multiple of sample_rate

The stream time_base has been changed to be a multiple of the
device sample_rate. Now the frame_duration computation is simpler
and a message will warn about problematic frame_size values.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/pulse_audio_dec.c