On-premise Recording SDK v3.0.6 API Reference for Linux (Java)
Public Member Functions | Public Attributes | List of all members
io.agora.recording.common.Common.AudioPcmFrame Class Reference

Public Member Functions

 AudioPcmFrame (long frame_ms, long sample_rates, long samples)
 

Public Attributes

long frame_ms
 
long channels
 
long sample_bits
 
long sample_rates
 
long samples
 
byte[] pcmBuf
 
long pcmBufSize
 

Detailed Description

The parameters of raw audio data in PCM format.

Member Data Documentation

◆ frame_ms

long io.agora.recording.common.Common.AudioPcmFrame.frame_ms

Timestamp of the frame.

◆ channels

long io.agora.recording.common.Common.AudioPcmFrame.channels

Number of audio channels.

◆ sample_bits

long io.agora.recording.common.Common.AudioPcmFrame.sample_bits

Bitrate of the sampling data.

◆ sample_rates

long io.agora.recording.common.Common.AudioPcmFrame.sample_rates

Sampling rate.

◆ samples

long io.agora.recording.common.Common.AudioPcmFrame.samples

Number of samples of the frame.

◆ pcmBuf

byte [] io.agora.recording.common.Common.AudioPcmFrame.pcmBuf

Audio frame buffer.

◆ pcmBufSize

long io.agora.recording.common.Common.AudioPcmFrame.pcmBufSize

Size of the audio frame buffer.