toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.audio.format
/
MP3Base
/
Parser
/
Companion
Companion
object
Companion
Members
Types
Channel
Mode
Link copied to clipboard
enum
ChannelMode
:
Enum
<
MP3Base.Parser.Companion.ChannelMode
>
Mp3Info
Link copied to clipboard
data
class
Mp3Info
(
val
version
:
String
,
val
layer
:
Int
,
val
bitrate
:
Int
,
val
samplingRate
:
Int
,
val
channelMode
:
MP3Base.Parser.Companion.ChannelMode
,
val
frameSize
:
Int
,
val
samples
:
Int
)
Properties
bitrates
Link copied to clipboard
val
bitrates
:
Map
<
Int
,
IntArray
>
layers
Link copied to clipboard
val
layers
:
IntArray
sample
Rates
Link copied to clipboard
val
sampleRates
:
Map
<
String
,
IntArray
>
samples
Link copied to clipboard
val
samples
:
Map
<
Int
,
Map
<
Int
,
Int
>
>
versions
Link copied to clipboard
val
versions
:
Array
<
String
>
Functions
get
Bitrate
Key
Link copied to clipboard
fun
getBitrateKey
(
version
:
Int
,
layer
:
Int
)
:
Int
invoke
Link copied to clipboard
suspend operator
fun
invoke
(
data
:
AsyncStream
)
:
MP3Base.Parser
parse
Frame
Header
Link copied to clipboard
fun
parseFrameHeader
(
f4
:
UByteArrayInt
)
:
MP3Base.Parser.Companion.Mp3Info