#include <SoundReader.h>
Inheritance diagram for Lamp::SoundReader:
Public Member Functions | |
SoundReader () | |
コンストラクタ | |
virtual | ~SoundReader () |
デストラクタ | |
virtual u_int | getSize () const=0 |
サイズの取得 | |
virtual int | getSample () const=0 |
サンプル数の取得 | |
virtual int | getChannel () const=0 |
チャンネル数の取得 | |
virtual int | getBit () const=0 |
ビット数の取得 | |
virtual const String & | getComment ()=0 |
コメントの取得 | |
virtual float | getLength () const |
長さの取得 | |
virtual int | getOneSecondBytes () const |
1秒のバイト数取得 | |
virtual float | byteToTime (u_int byte) const |
バイト数から時間への変換 | |
virtual u_int | timeToByte (float time) const |
時間からバイト数への変換 | |
virtual void | setCursor (u_int cursor)=0 |
位置の設定 | |
virtual u_int | getCursor ()=0 |
位置の取得 | |
virtual bool | readHeader ()=0 |
ヘッダ読み込み | |
virtual int | read (void *buffer, u_int size)=0 |
読み込み |
Definition at line 34 of file SoundReader.h.
|
バイト数から時間への変換
Definition at line 97 of file SoundReader.h. References Assert, getOneSecondBytes(), and getSize(). Referenced by getLength(). |
|
ビット数の取得
Implemented in Lamp::OggVorbisReader, and Lamp::WaveReader. Referenced by getOneSecondBytes(). |
|
チャンネル数の取得
Implemented in Lamp::OggVorbisReader, and Lamp::WaveReader. Referenced by getOneSecondBytes(). |
|
コメントの取得
Implemented in Lamp::OggVorbisReader, and Lamp::WaveReader. |
|
位置の取得
Implemented in Lamp::OggVorbisReader, and Lamp::WaveReader. Referenced by Lamp::StreamPlayer::writeStream(). |
|
長さの取得
Definition at line 82 of file SoundReader.h. References byteToTime(), and getSize(). Referenced by timeToByte(). |
|
1秒のバイト数取得
Definition at line 88 of file SoundReader.h. References getBit(), getChannel(), and getSample(). Referenced by byteToTime(), and timeToByte(). |
|
サンプル数の取得
Implemented in Lamp::OggVorbisReader, and Lamp::WaveReader. Referenced by getOneSecondBytes(). |
|
サイズの取得
Implemented in Lamp::OggVorbisReader, and Lamp::WaveReader. Referenced by byteToTime(), getLength(), Lamp::StreamSound3D::getSize(), and Lamp::StreamSound::getSize(). |
|
読み込み
Implemented in Lamp::OggVorbisReader, and Lamp::WaveReader. Referenced by Lamp::StreamPlayer::writeStream(). |
|
ヘッダ読み込み
Implemented in Lamp::OggVorbisReader, and Lamp::WaveReader. |
|
位置の設定
Implemented in Lamp::OggVorbisReader, and Lamp::WaveReader. Referenced by Lamp::StreamPlayer::setCursor(), and Lamp::StreamPlayer::writeStream(). |
|
時間からバイト数への変換
Definition at line 107 of file SoundReader.h. References Assert, getLength(), getOneSecondBytes(), and u_int. |