Browse Source

Reenable audiofile seeking on wasm, which works now

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.5.0
falkTX 2 years ago
parent
commit
c4846a56c0
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      source/native-plugins/audio-base.hpp

+ 0
- 6
source/native-plugins/audio-base.hpp View File

@@ -18,7 +18,6 @@
#ifndef AUDIO_BASE_HPP_INCLUDED
#define AUDIO_BASE_HPP_INCLUDED

#include "CarlaThread.hpp"
#include "CarlaMathUtils.hpp"

extern "C" {
@@ -345,11 +344,6 @@ public:

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
if (fFileNfo.frames % fFileNfo.channels)
--fFileNfo.frames;


Loading…
Cancel
Save