![]() |
nomlib
|
Public Types | |
| typedef Sound | super |
Public Member Functions | |
| OggSound (const std::string &filename) | |
| OggSound (nom::int16 *samples, nom::uint32 format, int channels) | |
| virtual bool | open (const std::string &filename) |
| virtual nom::real64 | stream (nom::uint32 buffer, nom::real64 pos) |
| virtual bool | stream__ (nom::uint32 buffer, nom::real64 pos) |
| Public Member Functions inherited from nom::audio::Sound | |
| Sound (const std::string &name) | |
| nom::uint & | buffer () |
| Identifier number for the implementation-defined buffer system. | |
| nom::int16 * | data () |
| nom::uint64 | bitrate () const |
| nom::real32 | frequency () const |
| Obtain the audio frequency in Hertz of this sound instance. | |
| int | channels () const |
| Obtain the number of audio channels of this sound instance. | |
| int | total_bytes () const |
| Obtain the total number of bytes for this sound instance. | |
| int | format () const |
| Obtain the audio channel format as expressed in AL_FORMAT_XXX. | |
| nom::real64 | duration () const |
| Obtain the total length of this sound instance. | |
| nom::int64 | sample_count () const |
| Obtain the total sample count of this sound instance. | |
| bool | streaming () const |
Static Public Member Functions | |
| static std::string | vorbis_version_string () |
Protected Attributes | |
| file_handle * | file_handle_ |
| OggFile | sfp_ |
| Protected Attributes inherited from nom::audio::Sound | |
| nom::audio::ISoundFileReader * | fp_ |
| nom::int16 * | samples_ |
| nom::int64 | sample_count_ |
| nom::uint | buffer_id_ |
| nom::uint64 | bitrate_ |
| nom::real32 | frequency_ |
| nom::real64 | duration_ |
| int | total_bytes_ |
| int | num_channels_ |
| nom::uint32 | format_ |
| bool | streaming_ |
Additional Inherited Members | |
| Protected Member Functions inherited from nom::audio::Sound | |
| void | init (const std::string &filename) |
| void | init (nom::int16 *samples, nom::uint32 format, int num_channels) |
Definition at line 22 of file OggSound.hpp.
| typedef Sound nom::audio::OggSound::super |
Definition at line 38 of file OggSound.hpp.
|
virtual |
Reimplemented from nom::audio::Sound.
|
virtual |
Reimplemented from nom::audio::Sound.
|
virtual |
Reimplemented from nom::audio::Sound.
|
protected |
Definition at line 25 of file OggSound.hpp.
|
protected |
Definition at line 26 of file OggSound.hpp.