Definition at line 49 of file OutputDataSource.h.
OutputDataSource |
( |
unsigned int |
channels, |
|
|
unsigned int |
sampleRate, |
|
|
audio_format_type_t |
pcmFormat |
|
) |
| |
Constructs a new object provide with audio configuration.
#include <media/OutputDataSource.h> param[in] channels The channels that the channels of audio param[in] sampleRate The sampleRate that the sample rate of audio param[in] pcmFormat The pcmFormat that the pcm format of audio
- Since
- TizenRT v2.0
Gets the audio type of the stream data.
#include <media/DataSource.h>
- Returns
- The audio type of the stream data.
- Since
- TizenRT v2.0
unsigned int getChannels |
( |
| ) |
|
|
inherited |
Gets the channel count of the stream data.
#include <media/DataSource.h>
- Returns
- The channel count of the stream data.
- Since
- TizenRT v2.0
audio_format_type_t getPcmFormat |
( |
| ) |
|
|
inherited |
Gets the pcm format of the stream data.
#include <media/DataSource.h>
- Returns
- The pcm format of the stream data.
- Since
- TizenRT v2.0
unsigned int getSampleRate |
( |
| ) |
|
|
inherited |
Gets the sample rate of the stream data.
#include <media/DataSource.h>
- Returns
- The sample rate of the stream data.
- Since
- TizenRT v2.0
virtual bool isPrepare |
( |
| ) |
|
|
pure virtualinherited |
Sets the audio type of the stream data.
#include <media/DataSource.h>
- Parameters
-
[in] | audioType | The audioType that the audio type of stream data |
- Since
- TizenRT v2.0
void setChannels |
( |
unsigned int |
channels | ) |
|
|
inherited |
Sets the channel count of the stream data.
#include <media/DataSource.h>
- Parameters
-
[in] | channels | The channels that the channel count of stream data |
- Since
- TizenRT v2.0
void setPcmFormat |
( |
audio_format_type_t |
pcmFormat | ) |
|
|
inherited |
Sets the pcm format of the stream data.
#include <media/DataSource.h>
- Parameters
-
[in] | pcmFormat | The pcmFormat that the pcm format of stream data |
- Since
- TizenRT v2.0
void setRecorder |
( |
std::shared_ptr< MediaRecorderImpl > |
mr | ) |
|
|
inline |
void setSampleRate |
( |
unsigned int |
sampleRate | ) |
|
|
inherited |
Sets the sample rate of the stream data.
#include <media/DataSource.h>
- Parameters
-
[in] | sampleRate | The sampleRate that the sample rate of stream data |
- Since
- TizenRT v2.0
virtual ssize_t write |
( |
unsigned char * |
buf, |
|
|
size_t |
size |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: