#include <filesndfile.h>
Inheritance diagram for FileSndFile:

Public Member Functions | |
| FileSndFile (Asset *asset, File *file) | |
| ~FileSndFile () | |
| int | open_file (int rd, int wr) |
| int | close_file () |
| int | set_audio_position (int64_t sample) |
| int | read_samples (double *buffer, int64_t len) |
| int | write_samples (double **buffer, int64_t len) |
| void | format_to_asset () |
| void | asset_to_format () |
Static Public Member Functions | |
| static int | check_sig (Asset *asset) |
| static void | get_parameters (BC_WindowBase *parent_window, Asset *asset, BC_WindowBase *&format_window, int audio_options, int video_options) |
Public Attributes | |
| SNDFILE * | fd |
| SF_INFO | fd_config |
| double * | temp_double |
| int64_t | temp_allocated |
Definition at line 18 of file filesndfile.h.
|
||||||||||||
|
Definition at line 12 of file filesndfile.C. References fd, fd_config, temp_allocated, and temp_double. |
|
|
Definition at line 21 of file filesndfile.C. References temp_double. |
|
|
Definition at line 41 of file filesndfile.C. References FileBase::asset, Asset::bits, Asset::byte_order, Asset::channels, fd_config, Asset::format, Asset::sample_rate, and Asset::signed_. Referenced by open_file(). |
|
|
Definition at line 26 of file filesndfile.C. References fd, fd_config, and Asset::path. Referenced by File::open_file(). |
|
|
Reimplemented from FileBase. Definition at line 230 of file filesndfile.C. References FileBase::close_file(), fd, and fd_config. |
|
|
Definition at line 112 of file filesndfile.C. References FileBase::asset, Asset::audio_data, Asset::audio_length, Asset::bits, Asset::byte_order, Asset::channels, fd_config, Asset::format, Asset::header, Asset::sample_rate, and Asset::signed_. Referenced by open_file(). |
|
||||||||||||||||||||||||
|
Definition at line 332 of file filesndfile.C. References SndFileConfig::create_objects(). Referenced by File::get_options(). |
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 190 of file filesndfile.C. References FileBase::asset, asset_to_format(), fd, fd_config, Asset::format, format_to_asset(), and Asset::path. |
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 251 of file filesndfile.C. References FileBase::asset, Asset::channels, File::current_channel, fd, FileBase::file, temp_allocated, and temp_double. |
|
|
Reimplemented from FileBase. Definition at line 239 of file filesndfile.C. References fd. |
|
||||||||||||
|
Reimplemented from FileBase. Definition at line 293 of file filesndfile.C. References FileBase::asset, Asset::bits, Asset::channels, CLAMP, fd, temp_allocated, and temp_double. |
|
|
Definition at line 39 of file filesndfile.h. Referenced by check_sig(), close_file(), FileSndFile(), open_file(), read_samples(), set_audio_position(), and write_samples(). |
|
|
Definition at line 40 of file filesndfile.h. Referenced by asset_to_format(), check_sig(), close_file(), FileSndFile(), format_to_asset(), and open_file(). |
|
|
Definition at line 43 of file filesndfile.h. Referenced by FileSndFile(), read_samples(), and write_samples(). |
|
|
Definition at line 42 of file filesndfile.h. Referenced by FileSndFile(), read_samples(), write_samples(), and ~FileSndFile(). |
1.4.4