Skip to content

Commit

Permalink
less gain, actually
Browse files Browse the repository at this point in the history
  • Loading branch information
crc-32 committed Dec 3, 2024
1 parent 22b779b commit 8d19ed8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.example.speex_codec
import android.media.MediaCodec
import java.nio.ByteBuffer

class SpeexCodec(private val sampleRate: Long, private val bitRate: Int, private val frameSize: Int, private val preprocessors: Set<Preprocessor> = emptySet(), private val gain: Float = 4.0f): AutoCloseable {
class SpeexCodec(private val sampleRate: Long, private val bitRate: Int, private val frameSize: Int, private val preprocessors: Set<Preprocessor> = emptySet(), private val gain: Float = 1.5f): AutoCloseable {
enum class Preprocessor(val flagValue: Int) {
DENOISE(1),
AGC(2),
Expand Down

0 comments on commit 8d19ed8

Please sign in to comment.