Lines Matching defs:playback
80 "playback=<enable sink?> "
132 "playback",
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));