#include <filevorbis.h>
Inheritance diagram for FileVorbis:

Public Member Functions | |
| FileVorbis (Asset *asset, File *file) | |
| ~FileVorbis () | |
| int | reset_parameters_derived () |
| int | open_file (int rd, int wr) |
| int | close_file () |
| int | write_samples (double **buffer, int64_t len) |
| int | read_samples (double *buffer, int64_t len) |
| int | read_samples_float (float *buffer, int64_t len) |
| int | prefer_samples_float () |
Static Public Member Functions | |
| static void | get_parameters (BC_WindowBase *parent_window, Asset *asset, BC_WindowBase *&format_window, int audio_options, int video_options) |
| static int | check_sig (Asset *asset) |
Public Attributes | |
| OggVorbis_File | vf |
| FILE * | fd |
| double ** | pcm_history |
| float ** | pcm_history_float |
| int | history_size |
| int | history_start |
| vorbis_info | vi |
| vorbis_comment | vc |
| vorbis_dsp_state | vd |
| vorbis_block | vb |
| ogg_stream_state | os |
| ogg_page | og |
| ogg_packet | op |
Definition at line 15 of file filevorbis.h.
|
||||||||||||
|
Definition at line 15 of file filevorbis.C. References Asset::byte_order, Asset::format, and FileBase::reset_parameters(). |
|
|
Definition at line 23 of file filevorbis.C. References close_file(). |
|
|
Definition at line 44 of file filevorbis.C. References FileList::data, fclose(), fd, fopen(), fread(), fseek(), Asset::path, and vf. Referenced by File::open_file(). |
|
|
Reimplemented from FileBase. Definition at line 221 of file filevorbis.C. References FileBase::asset, Asset::channels, FileBase::close_file(), fclose(), fd, FLUSH_VORBIS, os, pcm_history, pcm_history_float, FileBase::rd, FileBase::reset_parameters(), vb, vc, vd, vf, vi, and FileBase::wr. Referenced by ~FileVorbis(). |
|
||||||||||||||||||||||||
|
Definition at line 28 of file filevorbis.C. References VorbisConfigAudio::create_objects(). |
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 91 of file filevorbis.C. References _, FileBase::asset, Asset::audio_data, Asset::audio_length, Asset::channels, fd, fopen(), fwrite(), og, os, Asset::path, Asset::sample_rate, vb, vc, vd, vf, vi, Asset::vorbis_bitrate, Asset::vorbis_max_bitrate, Asset::vorbis_min_bitrate, and Asset::vorbis_vbr. |
|
|
Reimplemented from FileBase. Definition at line 399 of file filevorbis.C. |
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 287 of file filevorbis.C. References FileBase::asset, Asset::channels, File::current_channel, File::current_sample, fd, FileBase::file, HISTORY_MAX, history_size, history_start, pcm_history, FileList::temp, and vf. |
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 404 of file filevorbis.C. References FileBase::asset, Asset::channels, File::current_channel, File::current_sample, fd, FileBase::file, HISTORY_MAX, history_size, history_start, pcm_history_float, FileList::temp, and vf. |
|
|
Reimplemented from FileBase. Definition at line 80 of file filevorbis.C. References fd, pcm_history, pcm_history_float, and vf. |
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 265 of file filevorbis.C. References FileBase::asset, Asset::channels, fd, FLUSH_VORBIS, and vd. |
|
|
Definition at line 40 of file filevorbis.h. Referenced by check_sig(), close_file(), open_file(), read_samples(), read_samples_float(), reset_parameters_derived(), and write_samples(). |
|
|
Definition at line 44 of file filevorbis.h. Referenced by read_samples(), and read_samples_float(). |
|
|
Definition at line 45 of file filevorbis.h. Referenced by read_samples(), and read_samples_float(). |
|
|
Definition at line 53 of file filevorbis.h. Referenced by open_file(). |
|
|
Definition at line 54 of file filevorbis.h. |
|
|
Definition at line 52 of file filevorbis.h. Referenced by close_file(), and open_file(). |
|
|
Definition at line 41 of file filevorbis.h. Referenced by close_file(), read_samples(), and reset_parameters_derived(). |
|
|
Definition at line 42 of file filevorbis.h. Referenced by close_file(), read_samples_float(), and reset_parameters_derived(). |
|
|
Definition at line 51 of file filevorbis.h. Referenced by close_file(), and open_file(). |
|
|
Definition at line 49 of file filevorbis.h. Referenced by close_file(), and open_file(). |
|
|
Definition at line 50 of file filevorbis.h. Referenced by close_file(), open_file(), and write_samples(). |
|
|
Definition at line 39 of file filevorbis.h. Referenced by check_sig(), close_file(), open_file(), read_samples(), read_samples_float(), and reset_parameters_derived(). |
|
|
Definition at line 48 of file filevorbis.h. Referenced by close_file(), and open_file(). |
1.4.4