Lines Matching +full:capture +full:- +full:channels
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
42 int channels; member
52 * audio_init - initialize an instance of audio player
53 * @dev_name - the backend sound device used to play / capture
54 * @dir - dir = 1 for write mode, dir = 0 for read mode
60 * audio_set_params - reset the sound device and set the audio params
61 * @aud - the audio player to be configured
62 * @params - the audio parameters to be set
63 * Returns -1 on error and 0 on success
68 * audio_playback - plays samples to the sound device using blocking operations
69 * @aud - the audio player used to play the samples
70 * @buf - the buffer containing the samples
71 * @count - the number of bytes in buffer
72 * Returns -1 on error and 0 on success
77 * audio_record - records samples from the sound device using blocking
79 * @aud - the audio player used to capture the samples
80 * @buf - the buffer to receive the samples
81 * @count - the number of bytes to capture in buffer
82 * Returns -1 on error and 0 on success