mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 10:22:52 +01:00
Quick Fix filename -> filePath
When I was working on resampling, pull with paths was merged. It's funny how macro hides the problem. It shouldn't compile.
This commit is contained in:
parent
ac7ab38360
commit
844d1f89b3
@ -237,7 +237,7 @@ void SoundManager::SoundSource::loadFromFile(const rwfs::path& filePath) {
|
||||
swr_config_frame(swr, resampled, frame);
|
||||
|
||||
if (swr_convert_frame(swr, resampled, frame) < 0) {
|
||||
RW_ERROR("Error resampling "<< filename << '\n');
|
||||
RW_ERROR("Error resampling "<< filePath << '\n');
|
||||
}
|
||||
|
||||
for(size_t i = 0; i < static_cast<size_t>(resampled->nb_samples) * channels; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user