23#ifndef AUDIO_COMMON__AUDIO_CAPTURER_NODE
24#define AUDIO_COMMON__AUDIO_CAPTURER_NODE
28#include <rclcpp/rclcpp.hpp>
30#include "audio_common_msgs/msg/audio_stamped.hpp"
49 rclcpp::Publisher<audio_common_msgs::msg::AudioStamped>::SharedPtr
audio_pub_;
52 template <
typename T> std::vector<T>
read_data();
~AudioCapturerNode() override
Definition audio_capturer_node.cpp:90
rclcpp::Publisher< audio_common_msgs::msg::AudioStamped >::SharedPtr audio_pub_
Definition audio_capturer_node.hpp:49
int channels_
Definition audio_capturer_node.hpp:44
int rate_
Definition audio_capturer_node.hpp:45
std::string frame_id_
Definition audio_capturer_node.hpp:47
std::vector< T > read_data()
Definition audio_capturer_node.cpp:138
void work()
Definition audio_capturer_node.cpp:96
int chunk_
Definition audio_capturer_node.hpp:46
PaStream * stream_
Definition audio_capturer_node.hpp:42
int format_
Definition audio_capturer_node.hpp:43
AudioCapturerNode()
Definition audio_capturer_node.cpp:32
Definition audio_capturer_node.hpp:32