• Arun Raghavan's avatar
    pulse: Expose the correct max rate that we support · a24ef929
    Arun Raghavan authored
    PulseAudio defines PA_RATE_MAX as the maximum sampling rate that it
    supports. We were previously exposing a maximum rate of INT_MAX, which
    is incorrect, but worked because nothing was really using a rate greater
    than 384000 kHz.
    
    While playing DSD data, we hit a case where there might be very high
    sample rates (>1MHz), and pulsesink fails during stream creation with
    such streams because it erroneously advertises that it supports such
    rates.
    
    Since PA_RATE_MAX is #define'd to (8*48000U), we can't just use it in
    the caps string. Instead, we fix up the rate to what we actually support
    whenever we use our macro caps.
    a24ef929
Name
Last commit
Last update
common @ ed78bee4 Loading commit data...
docs Loading commit data...
ext Loading commit data...
gst Loading commit data...
gst-libs/gst Loading commit data...
hooks Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
po Loading commit data...
sys Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.static-linking Loading commit data...
RELEASE Loading commit data...
REQUIREMENTS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-plugins-good.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...