Browse Source

audio_decoder: assume 16bit for encoded libsndfile files

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0-RC2
falkTX 4 years ago
parent
commit
8684782eb6
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/modules/audio_decoder/ad_soundfile.c

+ 1
- 1
source/modules/audio_decoder/ad_soundfile.c View File

@@ -48,7 +48,7 @@ static int parse_bit_depth(int format) {
case SF_FORMAT_DOUBLE: return 64; /* 64 bit float data */
default: break;
}
return 0;
return 16;
}

static int ad_info_sndfile(void *sf, struct adinfo *nfo) {


Loading…
Cancel
Save