Lines Matching defs:voices
201 int sc_voices; /* Number of active voices */
469 * voices. Since the GUS samples a voice every 1.6 us, the maximum frequency
470 * is dependent on the number of active voices. Yes, it is pretty weird.
474 44100, /* 14 voices */
475 41160, /* 15 voices */
476 38587, /* 16 voices */
477 36317, /* 17 voices */
478 34300, /* 18 voices */
479 32494, /* 19 voices */
480 30870, /* 20 voices */
481 29400, /* 21 voices */
482 28063, /* 22 voices */
483 26843, /* 23 voices */
484 25725, /* 24 voices */
485 24696, /* 25 voices */
486 23746, /* 26 voices */
487 22866, /* 27 voices */
488 22050, /* 28 voices */
489 21289, /* 29 voices */
490 20580, /* 30 voices */
491 19916, /* 31 voices */
492 19293 /* 32 voices */
563 #define GUS_MIN_VOICES 14 /* Minimum possible number of voices */
564 #define GUS_MAX_VOICES 32 /* Maximum possible number of voices */
877 gusreset(sc, GUS_MAX_VOICES); /* initialize all voices */
1062 * For mono playback, we set up both voices playing the same buffer.
1369 /* make sure the voices shut up: */
1835 * Start the voices playing, with buffer BUFNO.
2373 gus_set_voices(struct gus_softc *sc, int voices)
2381 * Select the active number of voices
2384 bus_space_write_1(iot, ioh2, GUS_DATA_HIGH, (voices-1) | 0xc0);
2386 sc->sc_voices = voices;
2482 * calculate fc based on the number of active voices;
2774 gusreset(struct gus_softc *sc, int voices)
2828 gus_set_voices(sc, voices);
2842 for(i = 0; i < voices; i++) {