• Eric Wong's avatar
    audiofile_plugin: use afSetVirtualSampleFormat, too · 64a4c635
    Eric Wong authored
    This finally fixes a bug from over two years ago playing a wave file
    (oprah.wav) with the following characteristics (from sfinfo):
    
    File Format    Microsoft RIFF WAVE Format (wave)
    Data Format    8-bit integer (unsigned, little endian)
    Audio Data     986827 bytes begins at offset 58 (3a hex)
    1 channel, 986827 frames
    Sampling Rate  22050.00 Hz
    Duration       44.754 seconds
    
    Of course, this has been regression tested with all the files
    that the previous commit got working.  Thanks to Michael Pruett
    (audiofile author) for the hint and shame on me for forgetting
    about it for over two years :x
    
    git-svn-id: https://svn.musicpd.org/mpd/trunk@4682 09075e82-0dd4-0310-85a5-a0d7c8717e4f
    64a4c635
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...