Type Alias switch_file_handle_t
Source pub type switch_file_handle_t = switch_file_handle;
#[repr(C)]
pub struct switch_file_handle_t {Show 53 fields
pub file_interface: *mut switch_file_interface,
pub flags: u32,
pub fd: *mut fspr_file_t,
pub samples: u32,
pub samplerate: u32,
pub native_rate: u32,
pub channels: u32,
pub real_channels: u32,
pub format: u32,
pub sections: u32,
pub seekable: i32,
pub sample_count: usize,
pub speed: i32,
pub memory_pool: *mut fspr_pool_t,
pub prebuf: u32,
pub interval: u32,
pub private_info: *mut c_void,
pub handler: *mut i8,
pub pos: i64,
pub audio_buffer: *mut switch_buffer,
pub sp_audio_buffer: *mut switch_buffer,
pub thresh: u32,
pub silence_hits: u32,
pub offset_pos: u32,
pub samples_in: usize,
pub samples_out: usize,
pub vol: i32,
pub volgranular: i32,
pub resampler: *mut switch_audio_resampler_t,
pub buffer: *mut switch_buffer,
pub dbuf: *mut u8,
pub dbuflen: usize,
pub pre_buffer: *mut switch_buffer,
pub pre_buffer_data: *mut u8,
pub pre_buffer_datalen: usize,
pub file: *const i8,
pub func: *const i8,
pub line: i32,
pub file_path: *mut i8,
pub spool_path: *mut i8,
pub prefix: *const i8,
pub max_samples: i32,
pub params: *mut switch_event,
pub cur_channels: u32,
pub cur_samplerate: u32,
pub stream_name: *mut i8,
pub modname: *mut i8,
pub mm: switch_mm_s,
pub flag_mutex: *mut fspr_thread_mutex_t,
pub duration: i64,
pub vpos: i64,
pub muxbuf: *mut c_void,
pub muxlen: usize,
}
§handler: *mut i8