SDK Version 2.0.1
AnsuR Technologies ASMIRA SDK
Loading...
Searching...
No Matches
asdk::audio_frame_t Struct Reference

Decoded room audio, delivered by DecodedAudioFrameFunc. More...

#include <asmirasdk.h>

Public Attributes

uint32_t sampleCount
 PCM samples in data.
uint32_t sampleRate
 PCM sample rate, always AUDIO_SAMPLE_RATE.
uint32_t channels
 PCM channel count, always AUDIO_CHANNELS.
uint32_t timeStamp
 Presentation time in msec, as set by the sending client.
const int16_t * data
 Signed 16 bit PCM samples.

Detailed Description

Decoded room audio, delivered by DecodedAudioFrameFunc.

Valid only for the duration of the callback.

Examples
example_complete.cpp.

Definition at line 575 of file asmirasdk.h.

Member Data Documentation

◆ sampleCount

uint32_t asdk::audio_frame_t::sampleCount

PCM samples in data.

Examples
example_complete.cpp.

Definition at line 576 of file asmirasdk.h.

◆ sampleRate

uint32_t asdk::audio_frame_t::sampleRate

PCM sample rate, always AUDIO_SAMPLE_RATE.

Examples
example_complete.cpp.

Definition at line 577 of file asmirasdk.h.

◆ channels

uint32_t asdk::audio_frame_t::channels

PCM channel count, always AUDIO_CHANNELS.

Definition at line 578 of file asmirasdk.h.

◆ timeStamp

uint32_t asdk::audio_frame_t::timeStamp

Presentation time in msec, as set by the sending client.

Definition at line 579 of file asmirasdk.h.

◆ data

const int16_t* asdk::audio_frame_t::data

Signed 16 bit PCM samples.

Definition at line 580 of file asmirasdk.h.


The documentation for this struct was generated from the following file: