Audio

Retrive audio data from a gather session.

gather_session_audio_stream_count_get

uint gather_session_audio_stream_count_get(GatherSession *session);

Description: Returns the number of audio streams contained in the file.

gather_session_audio_stream_active

void gather_session_audio_stream_active(GatherSession *session, uint stream_id, boolean active);

Description: activate or disable the stream so that its readable.

gather_session_audio_stream_high_dynamic_range

boolean gather_session_audio_stream_high_dynamic_range(GatherSession *session, uint stream_id);

Description: Returns TRUE if the audio stream stores floats, and FALSE if the audio stream stores int16.

gather_session_audio_stream_channel_count_get

uint gather_session_audio_stream_channel_count_get(GatherSession *session, uint stream_id);

Description: Returns the number of channels contained in a audio stream.

gather_session_audio_stream_channel_float_get

void *gather_session_audio_stream_channel_float_get(GatherSession *session, uint *length, uint stream_id, uint channel);

Description: Get the data form one of the channels in the stream.

gather_session_audio_stream_channel_int16_get

void *gather_session_audio_stream_channel_int16_get(GatherSession *session, uint *length, uint stream_id, uint channel);

Description: Get the data form one of the channels in the stream.

gather_session_audio_stream_sample_rate_get

uint gather_session_audio_stream_sample_rate_get(GatherSession *session, uint stream_id);

Description: Returns the sample rate per second of the audio data.

gather_session_audio_stream_frame_advance

void gather_session_audio_stream_frame_advance(GatherSession *session, uint stream_id);

Description: Reading the current frame has been completed, and requesting a new frame.

gather_session_audio_stream_frame_start

double gather_session_audio_stream_frame_start(GatherSession *session, uint stream_id);

Description: Time when the frame should first be displayed