#include <SoundList.h>
Static Public Member Functions | |
bool | load (SoundCache *soundCache, const String &filePath) |
ロード | |
bool | load (SoundCache *soundCache, TextReader *textReader) |
ロード | |
bool | loadSound (SoundCache *soundCache, const String &line) |
サウンドのロード |
テキストファイルからサウンドリストをサウンドキャッシュに読み込む。 具体的にはサウンドファイルが置いてあるディレクトリに以下に示すフォーマットの テキストファイルを配置する。その後、サウンドキャッシュのloadSoundList() を使用してサウンドリストをロードします。 このファイルはエクセル等のツールで編集すると楽でしょう。
Definition at line 75 of file SoundList.h.
|
ロード
Definition at line 46 of file SoundList.cpp. References Lamp::Reader::isEnd(), loadSound(), and Lamp::TextReader::readLine(). |
|
ロード
Definition at line 36 of file SoundList.cpp. References Lamp::FilePath::existFile(). |
|
サウンドのロード
Definition at line 56 of file SoundList.cpp. References ErrorOut, Lamp::StringTokenizer::getNextToken(), Lamp::StringTokenizer::hasMoreTokens(), Lamp::SoundCache::loadStaticSound(), Lamp::SoundCache::loadStaticSound3D(), and Lamp::String::startsWith(). Referenced by load(). |