PCMAudio.h
Go to the documentation of this file.
42 DB_EDGEVIS_SDK PCMAudio(byte_array data, int32_t sample_rate, int64_t timestamp, int8_t channels, int8_t input);
49 DB_EDGEVIS_SDK void Assign(byte_array data, int32_t sample_rate, int64_t timestamp, int8_t channels, int8_t input);
DB_EDGEVIS_SDK int8_t GetInput() const
Get the video index input number for the audio data.
An object containing the audio data to be encoded.
Definition: PCMAudio.h:28
DB_EDGEVIS_SDK PCMAudio(byte_array data, int32_t sample_rate, int64_t timestamp, int8_t channels, int8_t input)
Creates a new PCMAudio object.
DB_EDGEVIS_SDK int32_t GetSampleRate() const
Get the sample rate of the audio data.
DB_EDGEVIS_SDK void Assign(byte_array data, int32_t sample_rate, int64_t timestamp, int8_t channels, int8_t input)
Assign new audio data to this PCMAudio object.
DB_EDGEVIS_SDK int64_t GetTimestamp() const
Get the timestamp of the audio data.
The EdgeVis Encoder SDK namespace.
DB_EDGEVIS_SDK int8_t GetChannels() const
Get the number of audio channels.
