![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
Ogg Vorbis 形式音声データのデコーダ More...
#include <OggVorbisDecoder.hpp>
Inherits s3d::IAudioDecoder.
Public Member Functions | |
| StringView | name () const override |
デコーダの名前 U"OggVorbis" を返します。 More... | |
| bool | isHeader (const uint8(&bytes)[48]) const override |
| Ogg Vorbis 形式の先頭データであるかを返します。 More... | |
| const Array< String > & | possibleExtensions () const override |
Ogg Vorbis 形式のファイルに想定される拡張子一覧 { U"ogg" } を返します。 More... | |
| AudioFormat | audioFormat () const noexcept override |
| Ogg Vorbis 形式を示す AudioFormat を返します。 More... | |
| Wave | decode (FilePathView path) const override |
| Ogg Vorbis 形式の音声ファイルをデコードして Wave を作成します。 More... | |
| Wave | decode (IReader &reader, FilePathView pathHint={}) const override |
| Ogg Vorbis 形式の音声データをデコードして Wave を作成します。 More... | |
| AudioLoopTiming | getLoopInfo (FilePathView path) const |
| Ogg Vorbis 形式の音声ファイルから LOOPSTART / LOOPLENGTH タグの情報を取得します。 More... | |
| AudioLoopTiming | getLoopInfo (IReader &reader) const |
| Ogg Vorbis 形式の音声データから LOOPSTART / LOOPLENGTH タグの情報を取得します。 More... | |
Public Member Functions inherited from s3d::IAudioDecoder | |
| virtual | ~IAudioDecoder ()=default |
Ogg Vorbis 形式音声データのデコーダ
|
overridevirtualnoexcept |
|
overridevirtual |
Ogg Vorbis 形式の音声ファイルをデコードして Wave を作成します。
| path | 音声ファイルのパス |
Reimplemented from s3d::IAudioDecoder.
|
overridevirtual |
Ogg Vorbis 形式の音声データをデコードして Wave を作成します。
| reader | 音声データの IReader インタフェース |
| pathHint | ファイルパス(オプション) |
Implements s3d::IAudioDecoder.
| AudioLoopTiming s3d::OggVorbisDecoder::getLoopInfo | ( | FilePathView | path | ) | const |
Ogg Vorbis 形式の音声ファイルから LOOPSTART / LOOPLENGTH タグの情報を取得します。
| path | 音声ファイルのパス |
| AudioLoopTiming s3d::OggVorbisDecoder::getLoopInfo | ( | IReader & | reader | ) | const |
Ogg Vorbis 形式の音声データから LOOPSTART / LOOPLENGTH タグの情報を取得します。
| reader | 音声データの IReader インタフェース |
|
overridevirtual |
Ogg Vorbis 形式の先頭データであるかを返します。
| bytes | データの先頭 48 バイト |
Implements s3d::IAudioDecoder.
|
overridevirtual |