QtGStreamer 1.2.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
QGst::StreamVolume Class Reference

#include <QGst/StreamVolume>

Inheritance diagram for QGst::StreamVolume:
Inheritance graph
[legend]
Collaboration diagram for QGst::StreamVolume:
Collaboration graph
[legend]

Public Member Functions

double volume (StreamVolumeFormat format=StreamVolumeFormatLinear) const
 
void setVolume (double value, StreamVolumeFormat format=StreamVolumeFormatLinear)
 
bool isMuted () const
 
void setMuted (bool muted)
 
- Public Member Functions inherited from QGlib::ObjectBase
ParamSpecPtr findProperty (const char *name) const
 
QList< ParamSpecPtrlistProperties () const
 
Value property (const char *name) const
 
template<class T >
void setProperty (const char *name, const T &value)
 
void setProperty (const char *name, const Value &value)
 
void * data (const char *key) const
 
void * stealData (const char *key) const
 
void setData (const char *key, void *data, void(*destroyCallback)(void *)=NULL)
 
void * quarkData (const Quark &quark) const
 
void * stealQuarkData (const Quark &quark) const
 
void setQuarkData (const Quark &quark, void *data, void(*destroyCallback)(void *)=NULL)
 

Static Public Member Functions

static double convert (StreamVolumeFormat from, StreamVolumeFormat to, double value)
 

Additional Inherited Members

- Protected Member Functions inherited from QGlib::ObjectBase
virtual void ref (bool increaseRef)
 
virtual void unref ()
 
- Protected Member Functions inherited from QGlib::RefCountedObject
template<class T >
T * object () const
 
- Protected Attributes inherited from QGlib::RefCountedObject
void * m_object
 

Detailed Description

Wrapper class for GstStreamVolume.

Examples
examples/player/main.cpp.

Definition at line 28 of file streamvolume.h.

Member Function Documentation

◆ volume()

double QGst::StreamVolume::volume ( StreamVolumeFormat  format = StreamVolumeFormatLinear) const

Definition at line 22 of file streamvolume.cpp.

◆ setVolume()

void QGst::StreamVolume::setVolume ( double  value,
StreamVolumeFormat  format = StreamVolumeFormatLinear 
)

Definition at line 28 of file streamvolume.cpp.

◆ isMuted()

bool QGst::StreamVolume::isMuted ( ) const

Definition at line 34 of file streamvolume.cpp.

◆ setMuted()

void QGst::StreamVolume::setMuted ( bool  muted)

Definition at line 39 of file streamvolume.cpp.

◆ convert()

double QGst::StreamVolume::convert ( StreamVolumeFormat  from,
StreamVolumeFormat  to,
double  value 
)
static

Definition at line 44 of file streamvolume.cpp.


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