Lines Matching refs:record
79 "record=<enable source?> "
131 "record",
212 if (u->prev_record_samples > info.record.samples)
214 u->prev_record_samples = info.record.samples;
215 result = (((uint64_t)u->record_samples_msw << 32) + info.record.samples) * u->frame_size;
256 info.record.buffer_size = buffer_size;
304 info.record.sample_rate = ss->rate;
305 info.record.channels = ss->channels;
308 info.record.precision = 8;
309 info.record.encoding = AUDIO_ENCODING_LINEAR;
312 info.record.precision = 8;
313 info.record.encoding = AUDIO_ENCODING_ALAW;
316 info.record.precision = 8;
317 info.record.encoding = AUDIO_ENCODING_ULAW;
320 info.record.precision = 16;
321 info.record.encoding = AUDIO_ENCODING_LINEAR;
788 if (info.record.error) {
792 info.record.error = 0;
889 bool record = true, playback = true;
908 if (pa_modargs_get_value_boolean(ma, "record", &record) < 0 || pa_modargs_get_value_boolean(ma, "playback", &playback) < 0) {
909 pa_log("record= and playback= expect a boolean argument.");
913 if (!playback && !record) {
914 pa_log("neither playback nor record enabled for device.");
927 * record and playback at the same time, the device's mixer must be enabled.
928 * See mixerctl(1). It may be turned off for playback only or record only.
930 u->mode = (playback && record) ? O_RDWR : (playback ? O_WRONLY : (record ? O_RDONLY : 0));