Back to project page kickflip-android-sdk.
The source code is released under:
Apache License
If you think the Android project kickflip-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.kickflip.sdk.av; // w w w . ja va2 s .c o m /** * @hide */ public class AudioEncoderConfig { protected final int mNumChannels; protected final int mSampleRate; protected final int mBitrate; public AudioEncoderConfig(int channels, int sampleRate, int bitRate) { mNumChannels = channels; mBitrate = bitRate; mSampleRate = sampleRate; } public int getNumChannels() { return mNumChannels; } public int getSampleRate() { return mSampleRate; } public int getBitrate() { return mBitrate; } @Override public String toString() { return "AudioEncoderConfig: " + mNumChannels + " channels totaling " + mBitrate + " bps @" + mSampleRate + " Hz"; } }