|
@@ -18,7 +18,6 @@ |
|
|
#ifndef AUDIO_BASE_HPP_INCLUDED |
|
|
#ifndef AUDIO_BASE_HPP_INCLUDED |
|
|
#define AUDIO_BASE_HPP_INCLUDED |
|
|
#define AUDIO_BASE_HPP_INCLUDED |
|
|
|
|
|
|
|
|
#include "CarlaThread.hpp" |
|
|
|
|
|
#include "CarlaMathUtils.hpp" |
|
|
#include "CarlaMathUtils.hpp" |
|
|
|
|
|
|
|
|
extern "C" { |
|
|
extern "C" { |
|
@@ -345,11 +344,6 @@ public: |
|
|
|
|
|
|
|
|
ad_dump_nfo(99, &fFileNfo); |
|
|
ad_dump_nfo(99, &fFileNfo); |
|
|
|
|
|
|
|
|
#ifdef CARLA_OS_WASM |
|
|
|
|
|
// FIXME pool handling with seeking and partial reads is failing |
|
|
|
|
|
fFileNfo.can_seek = 0; |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// Fix for misinformation using libsndfile |
|
|
// Fix for misinformation using libsndfile |
|
|
if (fFileNfo.frames % fFileNfo.channels) |
|
|
if (fFileNfo.frames % fFileNfo.channels) |
|
|
--fFileNfo.frames; |
|
|
--fFileNfo.frames; |
|
|