remove float normalization (breaks floating point WAV)

This commit is contained in:
milek7
2018-04-01 13:05:55 +02:00
parent f4b714f72c
commit 8441fa5d85
3 changed files with 1 additions and 5 deletions

View File

@@ -3,8 +3,6 @@ image: Visual Studio 2017
clone_depth: 1
build_script:
- ps: >-
Write-Output "#define VERSION_INFO `"$(git log -1 --date="format:%F %R" --format="%cd, %h")`"" > version.h
mkdir builds
cd builds

View File

@@ -34,8 +34,6 @@ openal_buffer::openal_buffer( std::string const &Filename ) :
if (sf == nullptr)
throw std::runtime_error("sound: sf_open failed");
sf_command(sf, SFC_SET_SCALE_FLOAT_INT_READ, NULL, SF_TRUE);
int16_t *fbuf = new int16_t[si.frames * si.channels];
if (sf_readf_short(sf, fbuf, si.frames) != si.frames)
throw std::runtime_error("sound: incomplete file");

View File

@@ -1 +1 @@
#define VERSION_INFO "M7 31.03.2018, based on tmj 07f1438"
#define VERSION_INFO "M7 1.04.2018, based on tmj 07f1438"