EMIPLIB
1.2.1
|
An u-law encoder. More...
#include <mipulawencoder.h>
Public Member Functions | |
bool | init () |
Initialize the component. More... | |
bool | destroy () |
Clean up the component. 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 accepts raw audio messages using 16 bit signed native endian encoding. The samples are converted to u-law encoded samples and a message with type MIPMESSAGE_TYPE_AUDIO_ENCODED and subtype MIPENCODEDAUDIOMESSAGE_TYPE_ULAW is produced.
bool MIPULawEncoder::destroy | ( | ) |
bool MIPULawEncoder::init | ( | ) |