#include <mmf/server/devsoundstandardcustominterfaces.h>
class MIlbcEncoderIntfc |
Public Member Enumerations | |
---|---|
enum | TEncodeMode { E20msFrame, E30msFrame } |
Public Member Functions | |
---|---|
pure virtual TInt | GetEncoderMode(TEncodeMode &) |
pure virtual TInt | GetVadMode(TBool &) |
pure virtual TInt | SetEncoderMode(TEncodeMode) |
pure virtual TInt | SetVadMode(TBool) |
This class provides an interface to the Ilbc encoder CMMFHwDevice in order to provide additional configuration information.
TInt | GetEncoderMode | ( | TEncodeMode & | aEncodeMode | ) | [pure virtual] |
Gets the encoder's current encoding format.
This method is allowable when encoding is not active - anytime before started or after stopped.
Returns: KErrNone if successful. KErrInUse if this method is used when encoding is active. KErrNotSupported if this method is not implemented.
Gets the current state of the voice activity detection (VAD) mode.
This method is allowable at all times - while actively encoding or not.
Parameter | Description |
---|---|
aVadModeOn | On output ETrue=On, EFalse=Off |
Returns: KErrNone if successful. KErrNotSupported if this method is not implemented or VAD is not supported by the encoder.
TInt | SetEncoderMode | ( | TEncodeMode | aEncodeMode | ) | [pure virtual] |
Configures the encoder's encoding format.
This method is allowable when encoding is not active - anytime before started or after stopped.
Parameter | Description |
---|---|
aEncodeMode | the encode mode. |
Returns: KErrNone if successful. KErrInUse if this method is used when encoding is active. KErrNotSupported if this method is not implemented.
Controls voice activity detection (VAD) mode.
This method is allowable at all times - while actively encoding or not.
Parameter | Description |
---|---|
aVadModeOn | ETrue=On, EFalse=Off |
Returns: KErrNone if successful. KErrNotSupported if this method is not implemented or not supported by the encoder.