Function sphinxad_sys::ad_open [] [src]

pub unsafe extern fn ad_open() -> *const ad_rec_t

Open the default audio device.

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.