WavResources

data class WavResources<START_TYPE>(val startSoundTypeToFile: Map<START_TYPE, String>, val startSoundResourceLoader: suspend (String) -> ByteArray)

NarratorEngine が読み込む開始音のリソース群。開始音タイプ→ファイルパスのマップと、 それを読み込む startSoundResourceLoader をまとめたもの。

Constructors

Link copied to clipboard
constructor(startSoundTypeToFile: Map<START_TYPE, String>, startSoundResourceLoader: suspend (String) -> ByteArray)

Properties

Link copied to clipboard
Link copied to clipboard