package Ġcom . squ ins . gdx . backends . byte coder . audio Ċ Ċ import Ġcom . badlogic . gdx . Audio Ċ import Ġcom . badlogic . gdx . audio . Audio Device Ċ import Ġcom . badlogic . gdx . audio . Audio Recorder Ċ import Ġcom . badlogic . gdx . audio . Music Ċ import Ġcom . badlogic . gdx . audio . Sound Ċ import Ġcom . badlogic . gdx . files . File Handle Ċ import Ġcom . squ ins . gdx . backends . byte coder . api . web . Lib gdx App Canvas Ċ import Ġcom . squ ins . gdx . backends . byte coder . make And Log IllegalArgumentException Ċ Ċ class ĠByte coder Audio ( val Ġli bg dx App Canvas : ĠLib gdx App Canvas ) Ġ: ĠAudio Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġnew Audio Device ( sampling Rate : ĠInt , Ġis Mono : ĠBoolean ): ĠAudio Device Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow Ġmake And Log IllegalArgumentException (" Byte coder Audio ", Ġ" Audio Device Ġnot Ġsupported Ġby ĠByte coder Ġbackend ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġnew Audio Recorder ( sampling Rate : ĠInt , Ġis Mono : ĠBoolean ): ĠAudio Recorder Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow Ġmake And Log IllegalArgumentException (" Byte coder Audio ", Ġ" Audio Recorder Ġnot Ġsupported Ġby ĠByte coder Ġbackend ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġnew Music ( file : ĠFile Handle ): ĠMusic Ġ{ ĊĠĠĠĠĠĠĠ Ġ// ĠDISABLE D : Ġperformance Ġprintln (" new Ġmusic ĠByte coder audio , Ġfile : Ġ${ file . name () }") ĊĠĠĠĠĠĠĠ Ġreturn ĠByte coder Music ( lib gdx App Canvas . audio (" assets /${ file . name ()} ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġnew Sound ( file Handle : ĠFile Handle ): ĠSound Ġ{ ĊĠĠĠĠĠĠĠ Ġ// ĠDISABLE D : Ġperformance Ġprintln (" (" new Ġmusic ĠByte coder Sound , Ġfile : Ġ${ file Handle . name () }") ĊĠĠĠĠĠĠĠ Ġreturn ĠByte coder Sound ( lib gdx App Canvas . sound ( file Handle . name ())) ĊĠĠĠ Ġ} Ċ }