Deleted Added
full compact
mixer.c (177197) mixer.c (177198)
1/*
2 * This is an example of a mixer program for Linux
3 *
4 * updated 1/1/93 to add stereo, level query, broken
5 * devmask kludge - cmetz@thor.tjhsst.edu
6 *
7 * (C) Craig Metz and Hannu Savolainen 1993.
8 *
9 * You may do anything you wish with this program.
10 *
11 * ditto for my modifications (John-Mark Gurney, 1997)
12 */
13
14#include <sys/cdefs.h>
1/*
2 * This is an example of a mixer program for Linux
3 *
4 * updated 1/1/93 to add stereo, level query, broken
5 * devmask kludge - cmetz@thor.tjhsst.edu
6 *
7 * (C) Craig Metz and Hannu Savolainen 1993.
8 *
9 * You may do anything you wish with this program.
10 *
11 * ditto for my modifications (John-Mark Gurney, 1997)
12 */
13
14#include <sys/cdefs.h>
15__FBSDID("$FreeBSD: head/usr.sbin/mixer/mixer.c 177197 2008-03-15 01:20:05Z jkim $");
15__FBSDID("$FreeBSD: head/usr.sbin/mixer/mixer.c 177198 2008-03-15 01:36:20Z jkim $");
16
17#include <err.h>
18#include <fcntl.h>
19#include <libgen.h>
20#include <limits.h>
21#include <stdio.h>
22#include <string.h>
23#include <stdlib.h>

--- 150 unchanged lines hidden (view full) ---

174 n++;
175 } else
176 printf("Mixer %-8s is currently set to "
177 "%3d:%d\n", names[foo], bar & 0x7f,
178 (bar >> 8) & 0x7f);
179 }
180 if (n && recmask)
181 printf(" ");
16
17#include <err.h>
18#include <fcntl.h>
19#include <libgen.h>
20#include <limits.h>
21#include <stdio.h>
22#include <string.h>
23#include <stdlib.h>

--- 150 unchanged lines hidden (view full) ---

174 n++;
175 } else
176 printf("Mixer %-8s is currently set to "
177 "%3d:%d\n", names[foo], bar & 0x7f,
178 (bar >> 8) & 0x7f);
179 }
180 if (n && recmask)
181 printf(" ");
182 print_recsrc(recsrc, recmask, Sflag | sflag);
182 print_recsrc(recsrc, recmask, Sflag || sflag);
183 return (0);
184 }
185
186 argc--;
187 argv++;
188
189 n = 0;
190 while (argc > 0 && dusage == 0) {

--- 141 unchanged lines hidden ---
183 return (0);
184 }
185
186 argc--;
187 argv++;
188
189 n = 0;
190 while (argc > 0 && dusage == 0) {

--- 141 unchanged lines hidden ---