#include <audio_player_node.hpp>
|
void | audio_callback (const audio_common_msgs::msg::AudioStamped::SharedPtr msg) |
|
template<typename T> |
void | write_data (const std::vector< T > &data, int channels, int chunk, const std::string &stream_key) |
|
◆ AudioPlayerNode()
AudioPlayerNode::AudioPlayerNode |
( |
| ) |
|
◆ ~AudioPlayerNode()
AudioPlayerNode::~AudioPlayerNode |
( |
| ) |
|
|
override |
◆ audio_callback()
void AudioPlayerNode::audio_callback |
( |
const audio_common_msgs::msg::AudioStamped::SharedPtr | msg | ) |
|
|
private |
◆ write_data()
template<typename T>
void AudioPlayerNode::write_data |
( |
const std::vector< T > & | data, |
|
|
int | channels, |
|
|
int | chunk, |
|
|
const std::string & | stream_key ) |
|
private |
◆ audio_sub_
rclcpp::Subscription<audio_common_msgs::msg::AudioStamped>::SharedPtr audio_common::AudioPlayerNode::audio_sub_ |
|
private |
◆ channels_
int audio_common::AudioPlayerNode::channels_ |
|
private |
◆ device_
int audio_common::AudioPlayerNode::device_ |
|
private |
◆ stream_dict_
std::unordered_map<std::string, PaStream *> audio_common::AudioPlayerNode::stream_dict_ |
|
private |
The documentation for this class was generated from the following files: