类的使用
io.agentscope.core.model.tts.AudioPlayer.Builder
使用AudioPlayer.Builder的程序包
-
io.agentscope.core.model.tts中AudioPlayer.Builder的使用
修饰符和类型方法说明AudioPlayer.Builder.bigEndian(boolean bigEndian) Sets the byte order of the audio data.static AudioPlayer.BuilderAudioPlayer.builder()Creates a new builder for AudioPlayer.AudioPlayer.Builder.channels(int channels) Sets the number of audio channels.AudioPlayer.Builder.sampleRate(int sampleRate) Sets the sample rate in Hz.AudioPlayer.Builder.sampleSizeInBits(int sampleSizeInBits) Sets the sample size in bits.AudioPlayer.Builder.signed(boolean signed) Sets whether the audio data is signed.