Skip to content

Commit

Permalink
Fixed last compatibility issue with yarp master
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Landini <ettore.landini@iit.it>
  • Loading branch information
elandini84 committed Nov 26, 2024
1 parent e746245 commit 30460d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aux_modules/faceExpression/earsThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion aux_modules/faceExpression/earsThread.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class EarsThread : public yarp::os::PeriodicThread
private:
yarp::os::ResourceFinder& m_rf;
yarp::os::BufferedPort<yarp::sig::Sound > m_audioRecPort;
yarp::os::BufferedPort<yarp::dev::AudioRecorderStatus> m_audioStatusPort;
yarp::os::BufferedPort<yarp::sig::AudioRecorderStatus> m_audioStatusPort;
std::mutex& m_drawing_mutex;
std::recursive_mutex m_methods_mutex;
std::string m_imagePath;
Expand Down

0 comments on commit 30460d0

Please sign in to comment.