toggle menu
RootEncoder
androidJvm
switch theme
search in API
encoder
/
com.pedro.encoder.utils
/
PCMUtil
PCMUtil
open
class
PCMUtil
Created by pedro on 3/07/17.
Members
Constructors
PCMUtil
Link copied to clipboard
constructor
(
)
Functions
mix
PCM
Link copied to clipboard
open
fun
mixPCM
(
pcm1
:
Array
<
Byte
>
,
pcm2
:
Array
<
Byte
>
)
:
Array
<
Byte
>
pcm
To
Stereo
Link copied to clipboard
open
fun
pcmToStereo
(
pcm
:
Array
<
Byte
>
,
channels
:
Int
)
:
Array
<
Byte
>
Experimental method to downgrade pcm with 3 channels or more to stereo.