Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

potential bug with default subformat and 32-bit float input: #1

Closed
jniemann66 opened this issue Jun 30, 2016 · 1 comment
Closed

potential bug with default subformat and 32-bit float input: #1

jniemann66 opened this issue Jun 30, 2016 · 1 comment

Comments

@jniemann66
Copy link
Owner

1.1.0 32-bit version, SSE2 build ... CPU supports SSE2 (ok)

Input file: C:\webprojects\WebSite1\uploads\f0f661bc7292305bcb54a3ca1d16547b
Output file: C:\webprojects\WebSite1\uploads\f0f661bc7292305bcb54a3ca1d16547b.wav
Output Bit Format not specified
Output file format wav and subformat 32f combination not valid ... defaulting to 16
Changing output file format to wav
source file channels: 1
input sample rate: 88200
output sample rate: 44100
input bit format: 32f (float)

Conversion ratio: 0.5 (1:2)
Scanning input file for peaks ...Done
Peak input sample: 0.000010 (-100.000267 dBFS)
Converting ...Done
Peak output sample: 0.000010 (-100.331604 dBFS)
Time=109 ms

</converter output>

@jniemann66 jniemann66 changed the title potential big with default subformat and 32-bit float input: potential bug with default subformat and 32-bit float input: Jun 30, 2016
@jniemann66
Copy link
Owner Author

jniemann66 commented Jul 4, 2016

Fixed missing break; in determineBestBitFormat():

`if (sf_format_check(&sfinfo)) { // Match: infile's subformat is valid for outfile's format

break;
} else { // infile's subformat is not valid for outfile's format; use outfile's default subformat ... //}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant