Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITABase
Commits
30e7e815
Commit
30e7e815
authored
Jul 28, 2017
by
Dipl.-Ing. Jonas Stienen
Browse files
Fixing problem when reading wav files with correct sample rate over LoadWithSampleRateConversion
parent
a613f10c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ITAAudioSample.cpp
View file @
30e7e815
...
...
@@ -48,8 +48,7 @@ void CITAAudioSample::LoadWithSampleRateConversion( const std::string& sFilePath
ITASampleFrame
sfRaw
;
sfRaw
.
Load
(
sFilePath
,
dSampleRate
);
if
(
double
(
GetSampleRate
()
)
!=
dSampleRate
)
Load
(
sfRaw
,
dSampleRate
);
Load
(
sfRaw
,
GetSampleRate
()
);
}
void
CITAAudioSample
::
Load
(
const
CITAAudioSample
&
oSource
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment