Function sphinxad_sys::ad_open_sps
[−]
[src]
pub unsafe extern "C" fn ad_open_sps(samples_per_sec: u32) -> *const ad_rec_t
Open the default audio device with a given sampling rate.
The device is opened in non-blocking mode and placed in idle state. The return value to be used as the first argument to other recording functions. # Safety
Return pointer to read-only ad_rec_t structure if successful, NULL otherwise.