All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.main.java.io.agora.rtc.AudioPcmFrame Maven / Gradle / Ivy

//
//
// Agora Media SDK
// Copyright (c) 2020 Agora IO. All rights reserved.
// This file is generated by tool, do NOT modify it
//
//
package io.agora.rtc;

public class AudioPcmFrame {
    public AudioPcmFrame() {
    }

    public AudioPcmFrame(int captureTimestamp, int samplesPerChannel, int sampleRateHz, int numChannels,
            int bytesPerSample, short data) {
        this.captureTimestamp = captureTimestamp;
        this.samplesPerChannel = samplesPerChannel;
        this.sampleRateHz = sampleRateHz;
        this.numChannels = numChannels;
        this.bytesPerSample = bytesPerSample;
        this.data = data;
    }

    private int captureTimestamp;

    public int getCaptureTimestamp() {
        return this.captureTimestamp;
    }

    public void setCaptureTimestamp(int captureTimestamp) {
        this.captureTimestamp = captureTimestamp;
    }

    private int samplesPerChannel;

    public int getSamplesPerChannel() {
        return this.samplesPerChannel;
    }

    public void setSamplesPerChannel(int samplesPerChannel) {
        this.samplesPerChannel = samplesPerChannel;
    }

    private int sampleRateHz;

    public int getSampleRateHz() {
        return this.sampleRateHz;
    }

    public void setSampleRateHz(int sampleRateHz) {
        this.sampleRateHz = sampleRateHz;
    }

    private int numChannels;

    public int getNumChannels() {
        return this.numChannels;
    }

    public void setNumChannels(int numChannels) {
        this.numChannels = numChannels;
    }

    private int bytesPerSample;

    public int getBytesPerSample() {
        return this.bytesPerSample;
    }

    public void setBytesPerSample(int bytesPerSample) {
        this.bytesPerSample = bytesPerSample;
    }

    private short data;

    public short getData() {
        return this.data;
    }

    public void setData(short data) {
        this.data = data;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy