Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port audio engine to kotlin #112

Merged

Conversation

DivineThreepwood
Copy link
Member

📜 Description

  • reimplement the audio engine in kotlin
  • fix interruption handling

🔨 Breaking Changes

  • field typo dataLenght is fixed to dataLength

@DivineThreepwood DivineThreepwood self-assigned this Feb 3, 2024
@DivineThreepwood DivineThreepwood linked an issue Feb 3, 2024 that may be closed by this pull request
private val executorService: ExecutorService = Executors.newFixedThreadPool(soundChannels)

@JvmOverloads
fun playAudio(source: AudioSource, wait: Boolean = false): Boolean {

Check warning

Code scanning / detekt

Restrict the number of return statements in methods. Warning

Function playAudio has 5 return statements which exceeds the limit of 2.
@DivineThreepwood DivineThreepwood merged commit d75ec74 into dev Feb 3, 2024
4 checks passed
@DivineThreepwood DivineThreepwood deleted the feature/111-port-audio-engine-from-java-to-kotlin branch February 3, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port audio engine from java to kotlin
1 participant