Skip to content

Commit

Permalink
fix StreamBase prepareAudio
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroSG94 committed Feb 14, 2024
1 parent b68fc57 commit 1fe3df7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
val libraryGroup by rootProject.extra { "1.3.61" }
val vCode by rootProject.extra { 234 }
val vName by rootProject.extra { "2.3.4" }
val vCode by rootProject.extra { 235 }
val vName by rootProject.extra { "2.3.5" }
val coroutinesVersion by rootProject.extra { "1.7.3" }
val junitVersion by rootProject.extra { "4.13.2" }
val mockitoVersion by rootProject.extra { "5.2.1" }
Expand Down
1 change: 1 addition & 0 deletions library/src/main/java/com/pedro/library/base/StreamBase.kt
Expand Up @@ -124,6 +124,7 @@ abstract class StreamBase(
}
val audioResult = audioSource.create(sampleRate, isStereo, echoCanceler, noiseSuppressor)
if (audioResult) {
audioInfo(sampleRate, isStereo)
return audioEncoder.prepareAudioEncoder(bitrate, sampleRate, isStereo, audioSource.getMaxInputSize())
}
return false
Expand Down

0 comments on commit 1fe3df7

Please sign in to comment.