From 30460d04a73293fe86af50d033d567e489afce0a Mon Sep 17 00:00:00 2001 From: Ettore Landini Date: Tue, 26 Nov 2024 17:31:53 +0100 Subject: [PATCH] Fixed last compatibility issue with yarp master Signed-off-by: Ettore Landini --- aux_modules/faceExpression/earsThread.cpp | 2 +- aux_modules/faceExpression/earsThread.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aux_modules/faceExpression/earsThread.cpp b/aux_modules/faceExpression/earsThread.cpp index 6527404..35a05d0 100644 --- a/aux_modules/faceExpression/earsThread.cpp +++ b/aux_modules/faceExpression/earsThread.cpp @@ -91,7 +91,7 @@ void EarsThread::run() float percentage = 0.5; - yarp::dev::AudioRecorderStatus *rec_status = m_audioStatusPort.read(false); + yarp::sig::AudioRecorderStatus *rec_status = m_audioStatusPort.read(false); if (rec_status) { m_micIsEnabled = rec_status->enabled; //&& rec_status->current_buffer_size > 0; diff --git a/aux_modules/faceExpression/earsThread.hpp b/aux_modules/faceExpression/earsThread.hpp index 891f7f6..a3412c5 100644 --- a/aux_modules/faceExpression/earsThread.hpp +++ b/aux_modules/faceExpression/earsThread.hpp @@ -27,7 +27,7 @@ class EarsThread : public yarp::os::PeriodicThread private: yarp::os::ResourceFinder& m_rf; yarp::os::BufferedPort m_audioRecPort; - yarp::os::BufferedPort m_audioStatusPort; + yarp::os::BufferedPort m_audioStatusPort; std::mutex& m_drawing_mutex; std::recursive_mutex m_methods_mutex; std::string m_imagePath;