#include <WavPCMSampleValue.h>
Inheritance diagram for WavPCMSampleValue:
Public Member Functions | |
WavPCMSampleValue (int v) | |
SampleValue * | getNearestTargetSampleValue (EmbValue t) const |
UWORD32 | calcDistance (const SampleValue *s) const |
std::string | getName (void) const |
int | getValue (void) const |
Private Member Functions | |
EmbValue | calcEValue (int v) const |
Private Attributes | |
int | Value |
int | MaxValue |
int | MinValue |
|
|
|
calculate the distance between the sample value s and this sample value
Implements SampleValue. |
|
|
|
return a short name uniquely identifying this sample value Implements SampleValue. |
|
get the nearest (with the least distance to this sample value) sample value whose embedded value equals the specified target
The returned SampleValue object should be deleted by the callser. Implements SampleValue. |
|
|
|
|
|
|
|
|