Symbol: play
sys/arm/allwinner/a10_codec.c
169
struct a10codec_chinfo play;
sys/arm/allwinner/a10_codec.c
810
struct a10codec_chinfo *ch = dir == PCMDIR_PLAY ? &sc->play : &sc->rec;
sys/dev/sound/pci/hdsp-pcm.c
1049
int play, rec;
sys/dev/sound/pci/hdsp-pcm.c
1074
play = (hdsp_channel_play_ports(scp->hc)) ? 1 : 0;
sys/dev/sound/pci/hdsp-pcm.c
1078
if (play) {
sys/dev/sound/pci/hdspe-pcm.c
1040
int play, rec;
sys/dev/sound/pci/hdspe-pcm.c
1065
play = (hdspe_channel_play_ports(scp->hc)) ? 1 : 0;
sys/dev/sound/pci/hdspe-pcm.c
1069
if (play) {
sys/dev/sound/pci/solo.c
417
int play = (dir == PCMDIR_PLAY)? 1 : 0;
sys/dev/sound/pci/solo.c
426
sc->simplex_dir = play ? PCMDIR_PLAY : PCMDIR_REC ;
sys/dev/sound/pci/solo.c
436
ess_write(sc, 0xb8, 0x04 | (play? 0x00 : 0x0a));
usr.bin/morse/morse.c
265
static void show(const char *), play(const char *), morse(char);
usr.bin/morse/morse.c
471
play(" ");
usr.bin/morse/morse.c
485
play(m->morse);
usr.sbin/bhyve/hda_codec.c
205
static int hda_codec_init(struct hda_codec_inst *hci, const char *play,
usr.sbin/bhyve/hda_codec.c
391
hda_codec_init(struct hda_codec_inst *hci, const char *play,
usr.sbin/bhyve/hda_codec.c
398
if (!(play || rec))
usr.sbin/bhyve/hda_codec.c
405
if (play && rec)
usr.sbin/bhyve/hda_codec.c
408
if (play)
usr.sbin/bhyve/hda_codec.c
424
if (play) {
usr.sbin/bhyve/hda_codec.c
432
st->aud = audio_init(play, 1);
usr.sbin/bhyve/pci_hda.c
151
struct hda_codec_class *codec, const char *play, const char *rec);
usr.sbin/bhyve/pci_hda.c
319
char *play;
usr.sbin/bhyve/pci_hda.c
341
play = NULL;
usr.sbin/bhyve/pci_hda.c
343
play = strdup(value);
usr.sbin/bhyve/pci_hda.c
349
DPRINTF("play: %s rec: %s", play, rec);
usr.sbin/bhyve/pci_hda.c
350
if (play != NULL || rec != NULL) {
usr.sbin/bhyve/pci_hda.c
351
err = hda_codec_constructor(sc, codec, play, rec);
usr.sbin/bhyve/pci_hda.c
354
free(play);
usr.sbin/bhyve/pci_hda.c
427
const char *play, const char *rec)
usr.sbin/bhyve/pci_hda.c
450
return (codec->init(hci, play, rec));
usr.sbin/bhyve/pci_hda.h
74
int (*init)(struct hda_codec_inst *hci, const char *play,
usr.sbin/cdcontrol/cdcontrol.c
134
static int play(char *arg);
usr.sbin/cdcontrol/cdcontrol.c
403
return play (arg);
usr.sbin/sndctl/sndctl.c
112
} play, rec;
usr.sbin/sndctl/sndctl.c
158
{ "play", F(play), GRP, NULL },
usr.sbin/sndctl/sndctl.c
159
{ "play.format", F(play.format), STR, mod_play_format },
usr.sbin/sndctl/sndctl.c
160
{ "play.rate", F(play.rate), NUM, mod_play_rate },
usr.sbin/sndctl/sndctl.c
162
{ "play.vchans", F(play.vchans), NUM, mod_play_vchans },
usr.sbin/sndctl/sndctl.c
163
{ "play.min_rate", F(play.min_rate), NUM, NULL },
usr.sbin/sndctl/sndctl.c
164
{ "play.max_rate", F(play.max_rate), NUM, NULL },
usr.sbin/sndctl/sndctl.c
165
{ "play.min_chans", F(play.min_chans), NUM, NULL },
usr.sbin/sndctl/sndctl.c
166
{ "play.max_chans", F(play.max_chans), NUM, NULL },
usr.sbin/sndctl/sndctl.c
167
{ "play.formats", F(play.formats), STR, NULL },
usr.sbin/sndctl/sndctl.c
501
dp->play.pchans = NV(number, PCHAN);
usr.sbin/sndctl/sndctl.c
505
if (dp->play.pchans && !nvlist_exists(di[i], SNDST_DSPS_INFO_PLAY))
usr.sbin/sndctl/sndctl.c
513
if (dp->play.pchans) {
usr.sbin/sndctl/sndctl.c
514
dp->play.min_rate = NV(number, PLAY, MIN_RATE);
usr.sbin/sndctl/sndctl.c
515
dp->play.max_rate = NV(number, PLAY, MAX_RATE);
usr.sbin/sndctl/sndctl.c
516
dp->play.min_chans = NV(number, PLAY, MIN_CHN);
usr.sbin/sndctl/sndctl.c
517
dp->play.max_chans = NV(number, PLAY, MAX_CHN);
usr.sbin/sndctl/sndctl.c
518
fmt2str(dp->play.formats, sizeof(dp->play.formats),
usr.sbin/sndctl/sndctl.c
548
dp->play.vchans = NV(bool, PVCHAN);
usr.sbin/sndctl/sndctl.c
549
dp->play.rate = NV(number, PVCHANRATE);
usr.sbin/sndctl/sndctl.c
550
fmt2str(dp->play.format, sizeof(dp->play.format),
usr.sbin/sndctl/sndctl.c
558
dp->autoconv = (dp->play.vchans || dp->rec.vchans) && !dp->bitperfect;
usr.sbin/sndctl/sndctl.c
639
} else if (!dp->play.vchans && ch->direction == OUTPUT) {
usr.sbin/sndctl/sndctl.c
640
strlcpy(dp->play.format, ch->hwbuf.format,
usr.sbin/sndctl/sndctl.c
641
sizeof(dp->play.format));
usr.sbin/sndctl/sndctl.c
642
dp->play.rate = ch->hwbuf.rate;
usr.sbin/sndctl/sndctl.c
759
if (dp->play.pchans)
usr.sbin/sndctl/sndctl.c
761
if (dp->play.pchans && dp->rec.pchans)
usr.sbin/sndctl/sndctl.c
893
if (!dp->play.pchans)
usr.sbin/sndctl/sndctl.c
898
return (sysctl_int(buf, arg, &dp->play.vchans));
usr.sbin/sndctl/sndctl.c
908
if (!dp->play.vchans)
usr.sbin/sndctl/sndctl.c
913
return (sysctl_int(buf, arg, &dp->play.rate));
usr.sbin/sndctl/sndctl.c
923
if (!dp->play.vchans)
usr.sbin/sndctl/sndctl.c
928
return (sysctl_str(buf, arg, dp->play.format, sizeof(dp->play.format)));