EMIPLIB
1.2.1
|
Changes the sample encoding of raw audio messages. More...
#include <mipsampleencoder.h>
Public Member Functions | |
bool | init (int destType) |
Initializes the sample encoder. More... | |
Public Member Functions inherited from MIPComponent | |
virtual void | lock () |
Locks the current component. More... | |
virtual void | unlock () |
Unlocks the current component. More... | |
virtual bool | processFeedback (const MIPComponentChain &chain, int64_t feedbackChainID, MIPFeedback *feedback) |
Add feedback information about this component. More... | |
std::string | getComponentName () const |
Returns the name of the component. More... | |
Public Member Functions inherited from MIPErrorBase | |
std::string | getErrorString () const |
Returns the last known error description. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from MIPComponent | |
MIPComponent (const std::string &componentName) | |
Create a component with the specified name. More... | |
Protected Member Functions inherited from MIPErrorBase | |
void | setErrorString (const std::string &str) const |
Stores an error description. More... | |
This component can be used to change the sample encoding of raw audio messages. It accepts all raw audio messages and produces similar raw audio messages, using a predefined encoding type.
bool MIPSampleEncoder::init | ( | int | destType | ) |
Using this function, the sample encoder is initialized. Messages produced by this component will be raw audio messages of subtype destType
. See miprawaudiomessage.h for an overview of the subtypes.