Public Member Functions | |
RosGstPlay () | |
Private Member Functions | |
void | onAudio (const audio_common_msgs::AudioDataConstPtr &msg) |
Static Private Member Functions | |
static void | cb_need_data (GstElement *appsrc, guint unused_size, gpointer user_data) |
static void | cb_newpad (GstElement *decodebin, GstPad *pad, gboolean last, gpointer data) |
Private Attributes | |
GstElement * | _audio |
GstElement * | _convert |
GstElement * | _decoder |
boost::thread | _gst_thread |
GMainLoop * | _loop |
ros::NodeHandle | _nh |
bool | _paused |
GstElement * | _pipeline |
GstElement * | _playbin |
GstElement * | _sink |
GstElement * | _source |
ros::Subscriber | _sub |
Definition at line 11 of file audio_play.cpp.
audio_transport::RosGstPlay::RosGstPlay | ( | ) | [inline] |
Definition at line 14 of file audio_play.cpp.
static void audio_transport::RosGstPlay::cb_need_data | ( | GstElement * | appsrc, |
guint | unused_size, | ||
gpointer | user_data | ||
) | [inline, static, private] |
Definition at line 126 of file audio_play.cpp.
static void audio_transport::RosGstPlay::cb_newpad | ( | GstElement * | decodebin, |
GstPad * | pad, | ||
gboolean | last, | ||
gpointer | data | ||
) | [inline, static, private] |
Definition at line 92 of file audio_play.cpp.
void audio_transport::RosGstPlay::onAudio | ( | const audio_common_msgs::AudioDataConstPtr & | msg | ) | [inline, private] |
Definition at line 76 of file audio_play.cpp.
GstElement * audio_transport::RosGstPlay::_audio [private] |
Definition at line 140 of file audio_play.cpp.
GstElement * audio_transport::RosGstPlay::_convert [private] |
Definition at line 140 of file audio_play.cpp.
GstElement * audio_transport::RosGstPlay::_decoder [private] |
Definition at line 140 of file audio_play.cpp.
boost::thread audio_transport::RosGstPlay::_gst_thread [private] |
Definition at line 138 of file audio_play.cpp.
GMainLoop* audio_transport::RosGstPlay::_loop [private] |
Definition at line 142 of file audio_play.cpp.
Definition at line 136 of file audio_play.cpp.
bool audio_transport::RosGstPlay::_paused [private] |
Definition at line 144 of file audio_play.cpp.
GstElement* audio_transport::RosGstPlay::_pipeline [private] |
Definition at line 140 of file audio_play.cpp.
GstElement* audio_transport::RosGstPlay::_playbin [private] |
Definition at line 141 of file audio_play.cpp.
GstElement * audio_transport::RosGstPlay::_sink [private] |
Definition at line 140 of file audio_play.cpp.
GstElement * audio_transport::RosGstPlay::_source [private] |
Definition at line 140 of file audio_play.cpp.
Definition at line 137 of file audio_play.cpp.