Skip to content

Commit

Permalink
Yarp 3.10+ compatibility fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Landini <[email protected]>
  • Loading branch information
elandini84 committed Dec 23, 2024
1 parent 3fb22b1 commit 886fe48
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#define VAD_MODULE_H

#include <yarp/os/RFModule.h>
#include <yarp/dev/AudioRecorderStatus.h>
#include <yarp/sig/AudioRecorderStatus.h>
#include "Detector.h"

#include "SileroVADServer.h"
Expand All @@ -20,7 +20,7 @@ class VoiceActivationDetectionModule : public yarp::os::RFModule
static constexpr int VAD_GAP_ALLOWANCE_DEFAULT = 18; // In packets of 32 ms
static constexpr int VAD_SAVE_PRIOR_TO_DETECTION = 15; // In packets of 32 ms
const std::string MODEL_PATH = "/usr/local/src/robot/silero-vad/src/silero_vad/data/silero_vad.onnx";

std::unique_ptr<SileroVADServer> m_rpcServer;
yarp::os::RpcServer m_rpcPort;

Expand Down

0 comments on commit 886fe48

Please sign in to comment.