gstreamermm: Gst::DiscovererAudioInfo Class Reference

gstreamermm 1.10.0

Public Member Functions | Protected Member Functions | Related Functions | List of all members
Gst::DiscovererAudioInfo Class Reference

DiscovererAudioInfo - Gst::DiscovererStreamInfo specific to audio streams. More...

`#include <gstreamermm/discovererinfo.h>`

Inheritance diagram for Gst::DiscovererAudioInfo:
[legend]

## Public Member Functions
void | reference () const
| Increment the reference count for this object. More...
void | unreference () const
| Decrement the reference count for this object. More...
GstDiscovererAudioInfo* | gobj ()
| Provides access to the underlying C instance. More...
const GstDiscovererAudioInfo* | gobj () const
| Provides access to the underlying C instance. More...
GstDiscovererAudioInfo* | gobj_copy () const
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
| DiscovererAudioInfo ()=delete
| DiscovererAudioInfo (const DiscovererAudioInfo&)=delete
DiscovererAudioInfo& | operator= (const DiscovererAudioInfo&)=delete
guint | get_bitrate () const
guint | get_channels () const
guint | get_depth () const
guint | get_max_bitrate () const
guint | get_sample_rate () const
Glib::ustring | get_language () const
Public Member Functions inherited from Gst::DiscovererStreamInfo
void | reference () const
| Increment the reference count for this object. More...
void | unreference () const
| Decrement the reference count for this object. More...
GstDiscovererStreamInfo* | gobj ()
| Provides access to the underlying C instance. More...
const GstDiscovererStreamInfo* | gobj () const
| Provides access to the underlying C instance. More...
GstDiscovererStreamInfo* | gobj_copy () const
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
| DiscovererStreamInfo ()=delete
| DiscovererStreamInfo (const DiscovererStreamInfo&)=delete
DiscovererStreamInfo& | operator= (const DiscovererStreamInfo&)=delete
Glib::RefPtr< Gst::Caps > | get_caps ()
Glib::RefPtr< const Gst::Caps > | get_caps () const
Structure | get_misc () const
| Deprecated: This functions is deprecated since version 1.4, use #gst_discoverer_info_get_missing_elements_installer_details. More...
Glib::RefPtr< Gst::DiscovererStreamInfo > | get_next ()
Glib::RefPtr< const Gst::DiscovererStreamInfo > | get_next () const
Glib::RefPtr< Gst::DiscovererStreamInfo > | get_previous ()
Glib::RefPtr< Gst::DiscovererStreamInfo > | get_previous () const
Gst::TagList | get_tags () const
Glib::ustring | get_stream_type_nick () const
Glib::ustring | get_stream_id () const
Glib::RefPtr< const Gst::Toc > | get_toc () const
Public Member Functions inherited from Gst::MiniObject
void | reference () const
| Increment the reference count for this object. More...
void | unreference () const
| Decrement the reference count for this object. More...
GstMiniObject* | gobj ()
| Provides access to the underlying C instance. More...
const GstMiniObject* | gobj () const
| Provides access to the underlying C instance. More...
GstMiniObject* | gobj_copy () const
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
| MiniObject ()=delete
| MiniObject (const MiniObject&)=delete
MiniObject& | operator= (const MiniObject&)=delete
| ~MiniObject ()
guint | get_flags () const
void | set_flags (const guint& value)
gint | get_refcount () const
gint | get_lockstate () const
bool | lock (LockFlags flags)
| Lock the mini-object with the specified access mode in flags. More...
void | unlock (LockFlags flags)
| Unlock the mini-object with the specified access mode in flags. More...
bool | is_writable () const
| If mini_object has the LOCKABLE flag set, check if the current EXCLUSIVE lock on object is the only one, this means that changes to the object will not be visible to any other object. More...
Glib::RefPtr< MiniObject > | create_writable ()
| Checks if a mini-object is writable. More...
void | set_qdata (GQuark quark, QuarkData* data)
| This sets an opaque, named pointer on a miniobject. More...
QuarkData* | get_qdata (GQuark quark) const
| This function gets back user data pointers stored via set_qdata(). More...
QuarkData* | steal_qdata (GQuark quark)
| This function gets back user data pointers stored via set_qdata() and removes the data from object without invoking its destroy() function (if any was set). More...
void | add_finalize_notifier (const SlotFinalizer& slot)
| Adds notifier when mini object is finalized. More...
void | remove_finalize_notifier ()
| Remove finalize notifier. More...

## Protected Member Functions
void | operator delete (void*, std::size_t)
Protected Member Functions inherited from Gst::DiscovererStreamInfo
void | operator delete (void*, std::size_t)
Protected Member Functions inherited from Gst::MiniObject
void | operator delete (void*, std::size_t)

## Related Functions
(Note that these are not member functions.)
Glib::RefPtr< Gst::DiscovererAudioInfo > | wrap (GstDiscovererAudioInfo* object, bool take_copy=false)
| A Glib::wrap() method for this object. More...
Related Functions inherited from Gst::DiscovererStreamInfo
Glib::RefPtr< Gst::DiscovererStreamInfo > | wrap (GstDiscovererStreamInfo* object, bool take_copy=false)
| A Glib::wrap() method for this object. More...
Related Functions inherited from Gst::MiniObject
Glib::RefPtr< Gst::MiniObject > | wrap (GstMiniObject* object, bool take_copy=false)
| A Glib::wrap() method for this object. More...

## Additional Inherited Members
Public Types inherited from Gst::MiniObject
typedef sigc::slot< void > | SlotFinalizer

## Detailed Description

DiscovererAudioInfo - Gst::DiscovererStreamInfo specific to audio streams.

## Constructor & Destructor Documentation

## ◆ DiscovererAudioInfo() [1/2]

Gst::DiscovererAudioInfo::DiscovererAudioInfo | ( |  | ) |
| delete

## ◆ DiscovererAudioInfo() [2/2]

Gst::DiscovererAudioInfo::DiscovererAudioInfo | ( | const DiscovererAudioInfo& |  | ) |
| delete

## Member Function Documentation

## ◆ get_bitrate()

guint Gst::DiscovererAudioInfo::get_bitrate | ( |  | ) | const

Returns
  The average or nominal bitrate of the stream in bits/second.

## ◆ get_channels()

guint Gst::DiscovererAudioInfo::get_channels | ( |  | ) | const

Returns
  The number of channels in the stream.

## ◆ get_depth()

guint Gst::DiscovererAudioInfo::get_depth | ( |  | ) | const

Returns
  The number of bits used per sample in each channel.

## ◆ get_language()

Glib::ustring Gst::DiscovererAudioInfo::get_language | ( |  | ) | const

Returns
  The language of the stream, or `nullptr` if unknown.

## ◆ get_max_bitrate()

guint Gst::DiscovererAudioInfo::get_max_bitrate | ( |  | ) | const

Returns
  The maximum bitrate of the stream in bits/second.

## ◆ get_sample_rate()

guint Gst::DiscovererAudioInfo::get_sample_rate | ( |  | ) | const

Returns
  The sample rate of the stream in Hertz.

## ◆ gobj() [1/2]

GstDiscovererAudioInfo* Gst::DiscovererAudioInfo::gobj | ( |  | ) |

Provides access to the underlying C instance.

## ◆ gobj() [2/2]

const GstDiscovererAudioInfo* Gst::DiscovererAudioInfo::gobj | ( |  | ) | const

Provides access to the underlying C instance.

## ◆ gobj_copy()

GstDiscovererAudioInfo* Gst::DiscovererAudioInfo::gobj_copy | ( |  | ) | const

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

## ◆ operator delete()

void Gst::DiscovererAudioInfo::operator delete | ( | void * | ,
|  | std::size_t |
| ) |  |
| protected

## ◆ operator=()

DiscovererAudioInfo& Gst::DiscovererAudioInfo::operator= | ( | const DiscovererAudioInfo& |  | ) |
| delete

## ◆ reference()

void Gst::DiscovererAudioInfo::reference | ( |  | ) | const

Increment the reference count for this object.

You should never need to do this manually - use the object via a RefPtr instead.

## ◆ unreference()

void Gst::DiscovererAudioInfo::unreference | ( |  | ) | const

Decrement the reference count for this object.

You should never need to do this manually - use the object via a RefPtr instead.

## Friends And Related Function Documentation

## ◆ wrap()

Glib::RefPtr< Gst::DiscovererAudioInfo > wrap | ( | GstDiscovererAudioInfo * | object,
|  | bool | take_copy = `false`
| ) |  |
| related

A Glib::wrap() method for this object.

Parameters

  object | The C instance.
  take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref.

Returns
  A C++ instance that wraps this C instance.