Public Member Functions | |
void | publish (const audio_common_msgs::AudioData &msg) |
RosGstCapture () | |
Static Public Member Functions | |
static GstFlowReturn | onNewBuffer (GstAppSink *appsink, gpointer userData) |
Private Attributes | |
int | _bitrate |
GstElement * | _convert |
GstElement * | _encode |
boost::thread | _gst_thread |
GMainLoop * | _loop |
ros::NodeHandle | _nh |
GstElement * | _pipeline |
ros::Publisher | _pub |
GstElement * | _sink |
GstElement * | _source |
Definition at line 12 of file audio_capture.cpp.
audio_transport::RosGstCapture::RosGstCapture | ( | ) | [inline] |
Definition at line 15 of file audio_capture.cpp.
static GstFlowReturn audio_transport::RosGstCapture::onNewBuffer | ( | GstAppSink * | appsink, |
gpointer | userData | ||
) | [inline, static] |
Definition at line 82 of file audio_capture.cpp.
void audio_transport::RosGstCapture::publish | ( | const audio_common_msgs::AudioData & | msg | ) | [inline] |
Definition at line 77 of file audio_capture.cpp.
int audio_transport::RosGstCapture::_bitrate [private] |
Definition at line 106 of file audio_capture.cpp.
GstElement * audio_transport::RosGstCapture::_convert [private] |
Definition at line 104 of file audio_capture.cpp.
GstElement * audio_transport::RosGstCapture::_encode [private] |
Definition at line 104 of file audio_capture.cpp.
boost::thread audio_transport::RosGstCapture::_gst_thread [private] |
Definition at line 102 of file audio_capture.cpp.
GMainLoop* audio_transport::RosGstCapture::_loop [private] |
Definition at line 105 of file audio_capture.cpp.
Definition at line 99 of file audio_capture.cpp.
GstElement* audio_transport::RosGstCapture::_pipeline [private] |
Definition at line 104 of file audio_capture.cpp.
Definition at line 100 of file audio_capture.cpp.
GstElement * audio_transport::RosGstCapture::_sink [private] |
Definition at line 104 of file audio_capture.cpp.
GstElement * audio_transport::RosGstCapture::_source [private] |
Definition at line 104 of file audio_capture.cpp.