Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
audio_transport::RosGstPlay Class Reference

List of all members.

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

Detailed Description

Definition at line 11 of file audio_play.cpp.


Constructor & Destructor Documentation

Definition at line 14 of file audio_play.cpp.


Member Function Documentation

static void audio_transport::RosGstPlay::cb_need_data ( GstElement *  appsrc,
guint  unused_size,
gpointer  user_data 
) [inline, static, private]

Definition at line 122 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 88 of file audio_play.cpp.

void audio_transport::RosGstPlay::onAudio ( const audio_common_msgs::AudioDataConstPtr &  msg) [inline, private]

Definition at line 72 of file audio_play.cpp.


Member Data Documentation

GstElement * audio_transport::RosGstPlay::_audio [private]

Definition at line 136 of file audio_play.cpp.

GstElement * audio_transport::RosGstPlay::_convert [private]

Definition at line 136 of file audio_play.cpp.

GstElement * audio_transport::RosGstPlay::_decoder [private]

Definition at line 136 of file audio_play.cpp.

Definition at line 134 of file audio_play.cpp.

GMainLoop* audio_transport::RosGstPlay::_loop [private]

Definition at line 138 of file audio_play.cpp.

Definition at line 132 of file audio_play.cpp.

Definition at line 140 of file audio_play.cpp.

Definition at line 136 of file audio_play.cpp.

Definition at line 137 of file audio_play.cpp.

GstElement * audio_transport::RosGstPlay::_sink [private]

Definition at line 136 of file audio_play.cpp.

GstElement * audio_transport::RosGstPlay::_source [private]

Definition at line 136 of file audio_play.cpp.

Definition at line 133 of file audio_play.cpp.


The documentation for this class was generated from the following file:


audio_play
Author(s): Nate Koenig
autogenerated on Mon Sep 26 2016 03:31:14