Home | History | Annotate | Download | only in audio

Lines Matching defs:IN

6  * Redistribution and use in source and binary forms, with or without
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
372 * open() will be acceptable immediately in audio layer. But the real
644 * audio2 is merged in 8.99.39.
840 /* This expects that result is expressed in expr. */
966 * All system calls in following tests should be called with these macros.
1132 "b\3ERR\0" "b\2OUT\0" "b\1PRI\0" "b\0IN\0",
1830 /* The expected values are different in half-duplex or full-duplex */
2163 char buf[8000]; /* 1sec in 8bit-mulaw,1ch,8000Hz */
2209 char buf[8000]; /* 1sec in 8bit-mulaw,1ch,8000Hz */
2322 char wbuf[100]; /* 1/80sec in 8bit-mulaw,1ch,8000Hz */
2323 char rbuf[100]; /* 1/80sec in 8bit-mulaw,1ch,8000Hz */
2433 char wbuf[1000]; /* 1/8sec in mulaw,1ch,8kHz */
2523 * DRAIN should work even in pause.
2908 #define IN POLLIN
2922 if (events == IN) {
2923 events_str = "IN";
2926 } else if (events == (IN | OUT)) {
2972 DEF(poll_mode_RDONLY_IN) { test_poll_mode(O_RDONLY, IN, IN); }
2974 DEF(poll_mode_RDONLY_INOUT) { test_poll_mode(O_RDONLY, IN|OUT, IN); }
2975 DEF(poll_mode_WRONLY_IN) { test_poll_mode(O_WRONLY, IN, 0); }
2977 DEF(poll_mode_WRONLY_INOUT) { test_poll_mode(O_WRONLY, IN|OUT, OUT); }
2980 if (hw_fulldup()) test_poll_mode(O_RDWR, IN, IN);
2981 else test_poll_mode(O_RDWR, IN, 0);
2986 if (hw_fulldup()) test_poll_mode(O_RDWR, IN|OUT, IN|OUT);
2987 else test_poll_mode(O_RDWR, IN|OUT, OUT);
3156 blocksize = 1000; /* 1/8 sec in mulaw,1ch,8000Hz */
3287 blocksize = 1000; /* 1/8 sec in mulaw,1ch,8000Hz */
3449 /* In this case, read() should succeed. */
3465 * In other words, two POLLIN must not interfere.
3657 * "the amount of space remaining in the write buffer".
3831 blocksize = 1000; /* 1/8 sec in mulaw,1ch,8000Hz */
3964 blocksize = 1000; /* 1/8 sec in mulaw,1ch,8000Hz */
4120 char buf[8000]; /* 1sec in mulaw,1ch,8000Hz */
4630 * start in half-duplex play mode", but implementation doesn't
4913 int setmode; /* mode used in SETINFO */
4919 * In contrast, NetBSD9 never changes mode by AUDIO_SETINFO except
5185 * AUDIO_SETINFO(encoding/precision) is tested in AUDIO_GETENC_range below.
5384 XP_SKIP("This will cause an infinite loop in the kernel");
5534 * (un.value.num_channels) in addition to the index (m.dev)...
5603 /* A hack to handle ai.{play,record}.gain in the same code.. */
5673 /* A hack to handle ai.{play,record}.balance in the same code.. */
7158 * Keep /^\tENT(testname),/ format in order to add to atf.