Definition at line 44 of file InputDataSource.h.
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 |
virtual ssize_t read |
( |
unsigned char * |
buf, |
|
|
size_t |
size |
|
) |
| |
|
pure virtual |
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 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
The documentation for this class was generated from the following file: