Home | History | Annotate | Download | only in audio

Lines Matching defs:hiwat

1533 		/* hiwat/lowat */
1612 /* hiwat/lowat */
3070 * Poll(OUT) when buffer is full but hiwat sets lower than full.
3087 /* Get buffer size and hiwat */
3090 /* Change hiwat some different value */
3093 /* Set pause and hiwat */
3096 ai.hiwat = newhiwat;
3097 r = IOCTL(fd, AUDIO_SETINFO, &ai, "pause=1;hiwat");
3100 /* Get the set hiwat again */
3105 buflen = ai.blocksize * ai.hiwat;
3142 int hiwat;
3155 /* Adjust block size and hiwat/lowat to make the test time 1sec */
3157 hiwat = 12; /* 1.5sec */
3161 ai.hiwat = hiwat;
3176 * adjust using hiwat/lowat.
3179 hiwat = howmany(8000 * 1.5, blocksize);
3185 ai.hiwat = hiwat;
3196 buflen = ai.blocksize * ai.hiwat;
3262 int hiwat;
3284 * Adjust block size and hiwat/lowat.
3288 hiwat = 12; /* 1.5sec */
3292 ai.hiwat = hiwat;
3300 * adjust using hiwat/lowat.
3303 hiwat = howmany(8000 * 1.5, blocksize);
3309 ai.hiwat = hiwat;
3323 DPRINTF(" > blocksize=%d lowat=%d hiwat=%d\n",
3324 ai.blocksize, ai.lowat, ai.hiwat);
3327 time = (ai.hiwat - ai.lowat) * blocksize / 8; /*[msec]*/
3658 * NetBSD7 returns buffer_size. Shouldn't it be blocksize * hiwat?
3660 /* XP_EQ(ai.blocksize * ai.hiwat, kev.data); */
3735 * kqueue(2) when buffer is full but hiwat sets lower than full.
3754 /* Get buffer size and hiwat */
3755 r = IOCTL(fd, AUDIO_GETBUFINFO, &ai, "hiwat");
3757 /* Change hiwat some different value */
3758 newhiwat = ai.hiwat - 1;
3760 /* Set pause and hiwat */
3763 ai.hiwat = newhiwat;
3764 r = IOCTL(fd, AUDIO_SETINFO, &ai, "pause=1;hiwat");
3771 XP_EQ(newhiwat, ai.hiwat);
3774 buflen = ai.blocksize * ai.hiwat;
3821 int hiwat;
3830 /* Adjust block size and hiwat/lowat to make the test time 1sec */
3832 hiwat = 12; /* 1.5sec */
3836 ai.hiwat = hiwat;
3851 * adjust using hiwat/lowat.
3854 hiwat = howmany(8000 * 1.5, blocksize);
3860 ai.hiwat = hiwat;
3869 DPRINTF(" > blocksize=%d hiwat=%d lowat=%d buffer_size=%d\n",
3870 ai.blocksize, ai.hiwat, ai.lowat, ai.play.buffer_size);
3873 buflen = ai.blocksize * ai.hiwat;
3937 int hiwat;
3961 * Adjust block size and hiwat/lowat.
3965 hiwat = 12; /* 1.5sec */
3969 ai.hiwat = hiwat;
3977 * adjust using hiwat/lowat.
3980 hiwat = howmany(8000 * 1.5, blocksize);
3986 ai.hiwat = hiwat;
3995 buflen = ai.blocksize * ai.hiwat;