#include <switch_module_interfaces.h>
Collaboration diagram for switch_file_handle:

Data Fields | |
| const switch_file_interface_t * | file_interface |
| uint32_t | flags |
| switch_file_t * | fd |
| unsigned int | samples |
| uint32_t | samplerate |
| uint32_t | native_rate |
| uint8_t | channels |
| unsigned int | format |
| unsigned int | sections |
| int | seekable |
| switch_size_t | sample_count |
| int | speed |
| switch_memory_pool_t * | memory_pool |
| uint32_t | prebuf |
| uint32_t | interval |
| void * | private_info |
| char * | handler |
| int64_t | pos |
| switch_buffer_t * | audio_buffer |
| switch_buffer_t * | sp_audio_buffer |
| uint32_t | thresh |
| uint32_t | silence_hits |
| uint32_t | offset_pos |
| uint32_t | last_pos |
| int32_t | vol |
| switch_audio_resampler_t * | resampler |
| switch_buffer_t * | buffer |
| switch_byte_t * | dbuf |
| switch_size_t | dbuflen |
| const char * | file |
| const char * | func |
| int | line |
|
|
|
|
|
|
|
|
the number of channels |
|
|
|
|
|
|
|
|
a file descriptor if neceessary |
|
|
|
|
|
the interface of the module that implemented the current file type |
|
|
flags to control behaviour |
|
|
integer representation of the format |
|
|
|
|
|
|
|
|
private data for the format module to store handle specific info |
|
|
|
|
|
|
|
|
the handle's memory pool |
|
|
the current native samplerate |
|
|
|
|
|
|
|
|
pre-buffer x bytes for streams |
|
|
|
|
|
|
|
|
the sample count of the file |
|
|
the current samplerate |
|
|
samples position of the handle |
|
|
integer representation of the sections |
|
|
is the file seekable |
|
|
|
|
|
|
|
|
the speed of the file playback |
|
|
|
|
|
|
1.3.9.1