Home
last modified time | relevance | path

Searched refs:play (Results 1 – 25 of 206) sorted by relevance

123456789

/openbsd/sys/dev/
H A Daudio.c463 sc->play.used = sc->play.start = 0; in audio_clear()
464 sc->play.pos = sc->play.xrun = 0; in audio_clear()
512 sc->play.pos += sc->play.blksz; in audio_pintr()
518 if (sc->play.used < sc->play.blksz) { in audio_pintr()
520 sc->play.xrun += sc->play.blksz; in audio_pintr()
539 if (sc->play.used < sc->play.len) { in audio_pintr()
580 nblk = sc->play.len / sc->play.blksz; in audio_rintr()
645 sc->play.data + sc->play.len, in audio_start_do()
1026 sc->play.len = sc->play.nblks * sc->play.blksz; in audio_setpar()
1156 sc->play.data, sc->play.len); in audio_ioc_setpar()
[all …]
/openbsd/sys/dev/pci/
H A Dmaestro.c712 sc->play.sc = sc; in maestro_attach()
713 sc->play.num = 0; in maestro_attach()
963 play->channels = 2; in maestro_set_params()
978 play->bps = AUDIO_BPS(play->precision); in maestro_set_params()
979 play->msb = 1; in maestro_set_params()
981 maestro_set_speed(&sc->play, &play->sample_rate); in maestro_set_params()
1173 sc->play.intr = intr; in maestro_trigger_output()
1178 sc->play.current = sc->play.start; in maestro_trigger_output()
1182 sc->play.end >>= 1; in maestro_trigger_output()
1187 sc->play.threshold = sc->play.start; in maestro_trigger_output()
[all …]
H A Desa.c211 p = play; in esa_set_params()
212 ch = &vc->play; in esa_set_params()
339 vc->play.active = 0; in esa_halt_output()
511 if (vc->play.active) in esa_trigger_output()
522 vc->play.active = 1; in esa_trigger_output()
523 vc->play.intr = intr; in esa_trigger_output()
524 vc->play.arg = intrarg; in esa_trigger_output()
525 vc->play.pos = 0; in esa_trigger_output()
526 vc->play.count = 0; in esa_trigger_output()
527 vc->play.buf = start; in esa_trigger_output()
[all …]
H A Dauich.c663 play->precision = 16; in auich_set_params()
668 play->precision = 16; in auich_set_params()
669 switch(play->encoding) { in auich_set_params()
671 if (play->channels > 6) in auich_set_params()
672 play->channels = 6; in auich_set_params()
674 play->channels &= ~1; in auich_set_params()
677 play->channels = 2; in auich_set_params()
684 play->channels = 2; in auich_set_params()
690 play->channels = 2; in auich_set_params()
699 play->bps = AUDIO_BPS(play->precision); in auich_set_params()
[all …]
H A Dauglx.c461 play->precision = 16; in auglx_set_params()
462 play->channels = 2; in auglx_set_params()
463 play->encoding = AUDIO_ENCODING_SLINEAR_LE; in auglx_set_params()
464 play->bps = AUDIO_BPS(play->precision); in auglx_set_params()
465 play->msb = 1; in auglx_set_params()
467 orate = play->sample_rate; in auglx_set_params()
469 play->sample_rate = orate; in auglx_set_params()
471 AC97_REG_PCM_LFE_DAC_RATE, &play->sample_rate); in auglx_set_params()
475 play->sample_rate = orate; in auglx_set_params()
477 AC97_REG_PCM_SURR_DAC_RATE, &play->sample_rate); in auglx_set_params()
[all …]
H A Dfms.c429 fms_set_params(void *addr, int setmode, int usemode, struct audio_params *play, in fms_set_params() argument
436 switch(play->encoding) { in fms_set_params()
438 if (play->precision != 16) in fms_set_params()
443 if (play->precision != 8) in fms_set_params()
449 play->bps = AUDIO_BPS(play->precision); in fms_set_params()
450 play->msb = 1; in fms_set_params()
452 for (i = 0; i < 10 && play->sample_rate > fms_rates[i].limit; in fms_set_params()
455 play->sample_rate = fms_rates[i].rate; in fms_set_params()
456 sc->sc_play_reg = (play->channels == 2 ? FM_PLAY_STEREO : 0) | in fms_set_params()
457 (play->precision == 16 ? FM_PLAY_16BIT : 0) | in fms_set_params()
H A Dauixp.c276 play->channels = 2; in auixp_set_params()
277 play->precision = 16; in auixp_set_params()
278 switch(play->encoding) { in auixp_set_params()
284 play->bps = AUDIO_BPS(play->precision); in auixp_set_params()
285 play->msb = 1; in auixp_set_params()
287 temprate = play->sample_rate; in auixp_set_params()
289 AC97_REG_PCM_LFE_DAC_RATE, &play->sample_rate); in auixp_set_params()
293 play->sample_rate = temprate; in auixp_set_params()
295 AC97_REG_PCM_SURR_DAC_RATE, &play->sample_rate); in auixp_set_params()
299 play->sample_rate = temprate; in auixp_set_params()
[all …]
/openbsd/games/monop/
H A Dprint.c66 printsq(play[i].loc, FALSE); in where()
67 printf(" %s (%d)", play[i].name, i+1); in where()
68 if (cur_p == &play[i]) in where()
128 printf("%d", play[(int)sqp->owner].num_util); in printsq()
142 rnt <<= play[(int)sqp->owner].num_rr - 1; in printsq()
143 printf("%d %4d", play[(int)sqp->owner].num_rr, in printsq()
144 25 << (play[(int)sqp->owner].num_rr - 1)); in printsq()
173 pp = &play[pl]; in printhold()
H A Dmonop.c93 if ((cur_p = play = calloc(num_play, sizeof (PLAY))) == NULL) in getplayers()
105 if ((name_list[i] = play[i].name = strdup(buf)) == NULL) in getplayers()
107 play[i].money = 1500; in getplayers()
119 free(play[i].name); in getplayers()
120 free(play); in getplayers()
137 printf("%s (%d) rolls %d\n", play[i].name, i+1, rl=roll(2, 6)); in init_players()
152 cur_p = &play[max_pl]; in init_players()
H A Dexecute.c222 fprintf(outf, "%d %d %d %d\n", play[i].money, play[i].loc, in save()
223 play[i].num_gojf, play[i].in_jail); in save()
259 free(play); in game_restore()
329 if ((play = calloc(num_play, sizeof(PLAY))) == NULL) in rest_f()
331 cur_p = play + player; in rest_f()
339 if ((name_list[i] = play[i].name = strdup(st)) == NULL) in rest_f()
357 play[i].loc = t2; in rest_f()
358 play[i].num_gojf = t3; in rest_f()
359 play[i].in_jail = t4; in rest_f()
403 add_list(t2, &(play[t2].own_list), t1); in rest_f()
[all …]
H A Dprop.c50 add_list(plr, &(play[plr].own_list), cur_p->loc); in buy()
95 play[plr].num_rr--; in del_list()
98 play[plr].num_util--; in del_list()
170 } else if (cur_bid > play[i].money) { in bid()
172 play[i].money); in bid()
182 printf("It goes to %s (%d) for $%d\n",play[i].name,i+1,cur_max); in bid()
184 play[i].money -= cur_max; in bid()
H A Dtrade.c110 pp = &play[pn]; in get_list()
177 printf("Player %s (%d) gives:\n", play[tp->trader].name, in summate()
211 pl_fr = &play[from->trader]; in move_em()
212 pl_to = &play[to->trader]; in move_em()
303 play[i] = play[i+1]; in resign()
315 printf("\nThen %s WINS!!!!!\n", play[0].name); in resign()
318 play[0].money+prop_worth(&play[0])); in resign()
H A Dmisc.c76 cur_p = &play[player]; in next_play()
139 op = play[pl].own_list; in set_ownlist()
154 play[pl].num_util = num; in set_ownlist()
170 play[pl].num_rr = num; in set_ownlist()
/openbsd/games/hack/
H A DREAD_ME52 1. If it didnt exist already, introduce a loginname `play' .
54 for everybody and is suid play:
55 ---s--s--x 1 play 206848 Apr 3 00:17 hack
57 running under nice; in that case you might write a program play.c
58 such that the program play is suid play and executable for everybody
60 play only; all the program play does is asking for the name of a game,
63 -r-sr-sr-x 1 play 13312 May 24 12:52 play
64 ---x------ 1 play 206848 Apr 3 00:17 hack
65 If you are worried about security you might let play do
73 drwx------ 3 play 1024 Aug 9 09:03 hackdir
/openbsd/regress/lib/libsndio/play/
H A DMakefile2 PROG= play
5 SRCS = play.c tools.c
/openbsd/gnu/llvm/lldb/docs/use/
H A Dlinks.rst76 .. _`LLDB: Beyond “po” (2019)`: https://developer.apple.com/videos/play/wwdc2019/429/
77 .. _Advanced Debugging with Xcode and LLDB (2018): https://developer.apple.com/videos/play/wwdc2018…
78 .. _Debugging with LLDB (2012): https://developer.apple.com/videos/play/wwdc2012/415/
79 .. _Migrating from GDB to LLDB (2011): https://developer.apple.com/videos/play/wwdc2011/321/
/openbsd/games/hunt/
H A DREADME.protocol21 P game play TCP port
53 A client requests the game play port P with the C_PLAYER message.
57 S: {uint16: P (TCP port number for the game play port)}
59 The TCP address of the game play port should be formed from the
65 A client can request the game play port P with the C_MONITOR message.
70 S: {uint16: P (TCP port number for the game play port)}
107 P - game play port
109 This port provides the TCP channel for the main game play between
162 Game play protocol
/openbsd/sys/arch/arm64/dev/
H A Daplmca.c426 struct audio_params *play, struct audio_params *rec) in aplmca_set_params() argument
429 play->sample_rate = 48000; in aplmca_set_params()
430 play->encoding = AUDIO_ENCODING_SLINEAR_LE; in aplmca_set_params()
431 play->precision = 24; in aplmca_set_params()
432 play->bps = 4; in aplmca_set_params()
433 play->msb = 0; in aplmca_set_params()
434 play->channels = 2; in aplmca_set_params()
H A Daplaudio.c274 struct audio_params *play, struct audio_params *rec) in aplaudio_set_params() argument
287 setmode, usemode, play, rec); in aplaudio_set_params()
293 rate = play->sample_rate * play->channels * play->bps * 8; in aplaudio_set_params()
/openbsd/games/cribbage/
H A Dcribbage.n72 Nondealer begins the play by laying a card from his hand face up
78 unable to play another card without exceeding 31, he must say "Go," and
86 dealer is bound to peg at least 1 in play.)
89 combinations made in play, as follows:
119 After the play, the hands are shown (counted). Nondealer
151 count in the total of the hand, since it is pegged before the play.)
181 in play, non-dealer's hand, dealer's hand, crib. Thus, if nondealer goes
221 Generally speaking, play on (toward a sequence) when you have close cards
223 consideration. If far behind, play on when there is any chance of building
/openbsd/regress/lib/libsndio/
H A DMakefile3 SUBDIR+= play rec fd cap vol
/openbsd/gnu/usr.bin/perl/dist/Math-Complex/
H A DTODO1 - possible to make Math::Complex and bignum (Math::BigFloat) to play well?
/openbsd/sys/dev/fdt/
H A Dgraphaudio.c253 struct audio_params *play, struct audio_params *rec) in graphaudio_set_params() argument
263 rate = play->sample_rate * sc->sc_mclk_fs; in graphaudio_set_params()
286 setmode, usemode, play, rec); in graphaudio_set_params()
295 setmode, usemode, play, rec); in graphaudio_set_params()
/openbsd/gnu/usr.bin/binutils/gdb/gdbserver/
H A Dgdbreplay.c274 play (FILE *fp) in play() function
319 play (fp); in main()
/openbsd/sys/arch/macppc/dev/
H A Di2s.c218 i2s_set_params(void *h, int setmode, int usemode, struct audio_params *play, in i2s_set_params() argument
225 p = play; /* default to play */ in i2s_set_params()
230 if (play->sample_rate != rec->sample_rate && in i2s_set_params()
233 rec->sample_rate = play->sample_rate; in i2s_set_params()
236 play->sample_rate = rec->sample_rate; in i2s_set_params()
247 p = mode == AUMODE_PLAY ? play : rec; in i2s_set_params()
263 if (i2s_set_rate(sc, play->sample_rate)) in i2s_set_params()

123456789