Index of values

C
close [Alsa.Pcm]
D
drain [Alsa.Pcm]

Stop a PCM preserving pending frames.

drop [Alsa.Pcm]

Stop a PCM dropping pending frames.

G
get_buffer_size_max [Alsa.Pcm]
get_buffer_size_min [Alsa.Pcm]
get_delay [Alsa.Pcm]

Get the delay (in frames).

get_frame_size [Alsa.Pcm]

Get the size of a frame in bytes.

get_params [Alsa.Pcm]
get_periods_max [Alsa.Pcm]
get_periods_min [Alsa.Pcm]

Get the number of periods.

get_state [Alsa.Pcm]

Get the current state.

get_version [Alsa]

Get the ALSA sound library version in ASCII format.

N
no_stderr_report [Alsa]

Do not report errors on stderr.

O
open_pcm [Alsa.Pcm]
P
pause [Alsa.Pcm]

pause hnd pause pauses (when pause is true) or resume (when pause is false) a PCM.

prepare [Alsa.Pcm]

Prepare PCM for use.

R
readi [Alsa.Pcm]

readi handle buf ofs len reads len interleaved frames in buf starting at offset ofs (in bytes).

readn [Alsa.Pcm]
readn_float [Alsa.Pcm]
readn_float64 [Alsa.Pcm]
recover [Alsa.Pcm]

Recover the stream state from an error or suspend.

reset [Alsa.Pcm]
resume [Alsa.Pcm]

Resume from suspend, no samples are lost.

S
set_access [Alsa.Pcm]

Set the access mode.

set_buffer_size [Alsa.Pcm]

Set the buffer size in frames.

set_buffer_size_near [Alsa.Pcm]

Set the buffer size near a value in frames.

set_channels [Alsa.Pcm]

Set the number of channels.

set_format [Alsa.Pcm]

Set the format of audio data.

set_nonblock [Alsa.Pcm]

Set blocking mode (true means non-blocking).

set_params [Alsa.Pcm]
set_periods [Alsa.Pcm]

Set the number of periods.

set_rate_near [Alsa.Pcm]

set_rate_near handle params rate dir sets the sampling rate (in Hz).

start [Alsa.Pcm]
string_of_error [Alsa]

Get an error message corresponding to an error.

W
wait [Alsa.Pcm]

Wait for a PCM to become ready.

writei [Alsa.Pcm]

writei handle buf ofs len writes len interleaved frames of buf starting at offset ofs (in bytes).

writen [Alsa.Pcm]
writen_float [Alsa.Pcm]
writen_float64 [Alsa.Pcm]