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

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

The newest version!
//
//
// 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 AudioSubscriptionOptions {
    public AudioSubscriptionOptions() {
    }

    public AudioSubscriptionOptions(int packetOnly, int pcmDataOnly, int bytesPerSample, int numberOfChannels,
            int sampleRateHz) {
        this.packetOnly = packetOnly;
        this.pcmDataOnly = pcmDataOnly;
        this.bytesPerSample = bytesPerSample;
        this.numberOfChannels = numberOfChannels;
        this.sampleRateHz = sampleRateHz;
    }

    private int packetOnly;

    public int getPacketOnly() {
        return this.packetOnly;
    }

    public void setPacketOnly(int packetOnly) {
        this.packetOnly = packetOnly;
    }

    private int pcmDataOnly;

    public int getPcmDataOnly() {
        return this.pcmDataOnly;
    }

    public void setPcmDataOnly(int pcmDataOnly) {
        this.pcmDataOnly = pcmDataOnly;
    }

    private int bytesPerSample;

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

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

    private int numberOfChannels;

    public int getNumberOfChannels() {
        return this.numberOfChannels;
    }

    public void setNumberOfChannels(int numberOfChannels) {
        this.numberOfChannels = numberOfChannels;
    }

    private int sampleRateHz;

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy