Skip to content
  • Timothy B. Terriberry's avatar
    opusdec: Convert to use libopusfile · e9bbfacf
    Timothy B. Terriberry authored and Mark Harris's avatar Mark Harris committed
    
    
    This adds a dependency, but also a number of features, such as the
     ability read from http[s] sources or downmix output to stereo.
    It also allows opusdec to automatically pick a consistent output
     sample rate and channel count for seekable chained files, and
     gives nicer output for METADATA_BLOCK_PICTURE tags (we parse the
     tags and give a summary, instead of dumping a huge BASE64 string).
    
    Unfortunately, we still have to do our own dithering, as this needs
     to be done after resampling, which happens outside of libopusfile,
     but at least we can re-use libopus's soft clipping implementation.
    
    Signed-off-by: default avatarMark Harris <mark.hsj@gmail.com>
    e9bbfacf