alsasink: fix high sample rates being rejected
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 16 Jan 2012 11:43:25 +0000 (11:43 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 16 Jan 2012 11:46:05 +0000 (11:46 +0000)
commit8d29fe88345621032b277c0a21afdf94bb8e09fd
tree2dda410755341ff3d0a630c879ddc60132aac34b
parent361f2b169cacc92699c8a4acb55e27ef29afc113
alsasink: fix high sample rates being rejected

An ALSA sink may select a different rate (as we use the _set_rate_near
API, which is not guaranteed to set the exact target rate).
The rest of the code seems to already handle this well, as output
from a 88200 Hz file seems to have the correct pitch when selecting
a 96 kHz rate.
ext/alsa/gstalsasink.c