/src/games/warp/ |
play.h | 1 /* Header: play.h,v 7.0 86/10/08 15:13:12 lwall Exp */ 3 /* Log: play.h,v 13 void play(void);
|
/src/usr.bin/audio/ |
Makefile | 3 SUBDIR= common .WAIT ctl play record
|
/src/usr.bin/audio/play/ |
Makefile | 4 SRCS= play.c
|
play.c | 1 /* $NetBSD: play.c,v 1.64 2024/03/04 06:29:35 mrg Exp $ */ 31 __RCSID("$NetBSD: play.c,v 1.64 2024/03/04 06:29:35 mrg Exp $"); 56 static void play(char *); 192 bufsize = info.play.buffer_size; 203 play(*argv++); 311 play(char *file) function in typeref:typename:void 406 * play the file on the file descriptor fd 485 &info.play.encoding, &info.play.precision)) { 494 info.play.sample_rate = ntohl(sunhdr->sample_rate) [all...] |
/src/tests/lib/libossaudio/ |
t_ossaudio.c | 67 ATF_REQUIRE_EQ(info.play.channels, 1); 78 ATF_REQUIRE_EQ(info.play.channels, 2); 88 ATF_REQUIRE_EQ(channels, (int)hwinfo.play.channels); 92 ATF_REQUIRE_EQ(info.play.channels, hwinfo.play.channels); 109 ATF_REQUIRE_EQ(info.play.channels, 1); 120 ATF_REQUIRE_EQ(info.play.channels, 2); 131 ATF_REQUIRE_EQ(info.play.encoding, AUDIO_ENCODING_ULAW); 132 ATF_REQUIRE_EQ(info.play.precision, 8); 141 ATF_REQUIRE_EQ(info.play.encoding, AUDIO_ENCODING_ALAW) [all...] |
/src/lib/libossaudio/ |
oss_dsp.c | 39 ? (info)->record.name : (info)->play.name) 97 perrors /= ((tmpinfo.play.precision / NBBY) * 98 tmpinfo.play.channels); 135 hwfmt.play.sample_rate; 147 tmpinfo.play.sample_rate = 161 tmpinfo.play.channels = 192 tmpinfo.play.encoding = 195 hwfmt.record.encoding : hwfmt.play.encoding; 196 tmpinfo.play.precision = 199 hwfmt.record.precision : hwfmt.play.precision [all...] |
oss_caps.c | 51 info.play.channels : info.record.channels;
|
/src/games/monop/ |
print.c | 73 printsq(play[i].loc, FALSE); 74 printf(" %s (%d)", play[i].name, i+1); 75 if (cur_p == &play[i]) 136 printf("%d", play[sqp->owner].num_util); 150 rnt <<= play[sqp->owner].num_rr - 1; 151 printf("%d %4d", play[sqp->owner].num_rr, 152 25 << (play[sqp->owner].num_rr - 1)); 178 PLAY *pp; 180 pp = &play[pl];
|
prop.c | 56 add_list(playernum, &(play[playernum].own_list), cur_p->loc); 104 play[plr].num_rr--; 107 play[plr].num_util--; 185 } else if (cur_bid > play[i].money) { 187 play[i].money); 197 printf("It goes to %s (%d) for $%d\n",play[i].name,i+1,cur_max); 199 play[i].money -= cur_max; 211 prop_worth(PLAY *plp)
|
trade.c | 108 PLAY *pp; 116 pp = &play[pn]; 185 printf("Player %s (%d) gives:\n", play[tp->trader].name, 218 PLAY *pl_fr, *pl_to; 221 pl_fr = &play[from->trader]; 222 pl_to = &play[to->trader]; 310 free(play[player].name); 314 play[i] = play[i+1]; 323 printf("\nThen %s WINS!!!!!\n", play[0].name) [all...] |
monop.c | 125 PLAY *play, /* player structure array ("calloc"ed) */ variable in typeref:typename:PLAY * 278 cur_p = play = calloc((size_t)num_play, sizeof (PLAY)); 279 if (play == NULL) 290 name_list[i] = play[i].name = strdup(buf); 293 play[i].money = 1500; 308 free(play[i].name); 309 free(play); 327 printf("%s (%d) rolls %d\n", play[i].name, i+1, rl=roll(2, 6)) [all...] |
execute.c | 214 if (play) { 216 free(play[i].name); 217 play[i].name = NULL; 219 free(play); 220 play = NULL; 285 fprintf(outf, " money %d\n", play[i].money); 286 fprintf(outf, " loc %d\n", play[i].loc); 287 fprintf(outf, " num_gojf %d\n", play[i].num_gojf); 288 fprintf(outf, " in_jail %d\n", play[i].in_jail); 411 if (play == NULL || cur_p == NULL || num_play < 2) [all...] |
misc.c | 89 cur_p = &play[player]; 107 /* if stdin is closed we cant really play anymore */ 134 op = play[pl].own_list; 136 printf("op [%p] = play[pl [%d] ].own_list;\n", op, pl); 150 play[pl].num_util = num; 152 printf("play[pl].num_util = num [%d];\n", num); 169 play[pl].num_rr = num; 171 printf("play[pl].num_rr = num [%d];\n", num);
|
/src/games/dab/ |
human.h | 48 void play(const BOARD& b, size_t& y, size_t& x, int& dir);
|
player.cc | 73 play(b, y, x, dir); 86 // Closure, play again
|
player.h | 47 virtual void play(const BOARD& b, size_t& y, size_t& x, int& dir) = 0;
|
/src/games/wargames/ |
wargames.sh | 37 echo -n "Would you like to play a game? " 49 not to play.
|
/src/usr.bin/audiocfg/ |
audiodev.c | 273 ai.play.encoding = enc; 274 ai.play.precision = prec; 275 ai.play.channels = ch; 276 ai.play.sample_rate = freq; 312 info.play.sample_rate = adev->hwinfo.play.sample_rate; 313 info.play.channels = adev->hwinfo.play.channels; 314 info.play.precision = 16; 315 info.play.encoding = AUDIO_ENCODING_SLINEAR_LE [all...] |
/src/usr.bin/audio/ctl/ |
ctl.c | 102 { "play", &info.play, FORMAT, ALIAS }, 103 { "play.rate", &info.play.sample_rate, UINT, 0 }, 104 { "play.sample_rate", &info.play.sample_rate, UINT, ALIAS }, 105 { "play.channels", &info.play.channels, UINT, 0 }, 106 { "play.precision", &info.play.precision, UINT, 0 } [all...] |
/src/tests/dev/audio/ |
audiotest.c | 1513 * At first, initialize the sticky parameters both of play and rec. 1535 /* ai.play */ 1536 XP_EQ(8000, ai.play.sample_rate); 1537 XP_EQ(1, ai.play.channels); 1538 XP_EQ(8, ai.play.precision); 1539 XP_EQ(AUDIO_ENCODING_ULAW, ai.play.encoding); 1542 XP_EQ(0, ai.play.seek); 1544 XP_NE(0, ai.play.buffer_size); 1545 XP_EQ(0, ai.play.samples); 1546 XP_EQ(0, ai.play.eof) 3486 int play = 0; local in function:DEF [all...] |
/src/games/trek/ |
main.c | 68 ** where crazy enough to play the undebugged game. I want to 208 play();
|
play.c | 1 /* $NetBSD: play.c,v 1.12 2009/08/12 08:54:54 dholland Exp $ */ 35 static char sccsid[] = "@(#)play.c 8.1 (Berkeley) 5/31/93"; 37 __RCSID("$NetBSD: play.c,v 1.12 2009/08/12 08:54:54 dholland Exp $"); 49 ** INSTRUCTION READ AND MAIN PLAY LOOP 97 play(void) function in typeref:typename:void
|
/src/games/rogue/ |
Makefile | 7 message.c monster.c move.c object.c pack.c play.c random.c ring.c \
|
/src/sys/compat/ossaudio/ |
ossaudio.c | 64 ? (info)->record.name : (info)->play.name) 231 tmpinfo.play.sample_rate = 258 tmpinfo.play.sample_rate = 262 hwfmt.play.sample_rate; 295 tmpinfo.play.channels = 345 tmpinfo.play.precision = 347 tmpinfo.play.encoding = 351 tmpinfo.play.precision = 353 tmpinfo.play.encoding = 357 tmpinfo.play.precision [all...] |
/src/sys/dev/pci/ |
esa.c | 216 const audio_params_t *play, const audio_params_t *rec, 223 vc->play.mode = *play; 243 p = &vc->play.mode; 250 vc->play.data_offset = ESA_DAC_DATA + (data_bytes * vc->index); 256 vc->play.data_offset + ESA_SRC3_MODE_OFFSET, 263 vc->play.data_offset + ESA_SRC3_WORD_LENGTH_OFFSET, 269 vc->play.data_offset + ESA_CDATA_FREQUENCY, freq); 318 if (vc->play.active == 0) 321 vc->play.active = 0 [all...] |