Created
June 14, 2018 13:45
-
-
Save julioz/a5cb6586846ec92d9e19f4659616f2b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val audioManager = context.getSystemService(Context.AUDIO_SERVICE) as AudioManager | |
val framesPerBuffer = audioManager.getProperty(AudioManager.PROPERTY_OUTPUT_FRAMES_PER_BUFFER).toLong() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment