1/* $NetBSD: sbdsp.c,v 1.75 1997/10/16 23:34:57 augustss Exp $ */ |
2 3/* 4 * Copyright (c) 1991-1993 Regents of the University of California. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: --- 2177 unchanged lines hidden (view full) --- 2187 2188 case SB_RECORD_CLASS: /* record source class */ 2189 dip->type = AUDIO_MIXER_CLASS; 2190 dip->mixer_class = SB_RECORD_CLASS; 2191 dip->next = dip->prev = AUDIO_MIXER_LAST; 2192 strcpy(dip->label.name, AudioCrecord); 2193 return 0; 2194 |
2195 case SB_INPUT_CLASS: 2196 dip->type = AUDIO_MIXER_CLASS; 2197 dip->mixer_class = SB_INPUT_CLASS; 2198 dip->next = dip->prev = AUDIO_MIXER_LAST; 2199 strcpy(dip->label.name, AudioCinputs); 2200 return 0; 2201 |
2202 } 2203 2204 if (sc->sc_mixer_model == SBM_CT1345) 2205 return ENXIO; 2206 2207 switch(dip->index) { 2208 case SB_PCSPEAKER: 2209 dip->type = AUDIO_MIXER_VALUE; --- 29 unchanged lines hidden (view full) --- 2239 strcpy(dip->label.name, "AGC"); 2240 dip->un.e.num_mem = 2; 2241 strcpy(dip->un.e.member[0].label.name, AudioNoff); 2242 dip->un.e.member[0].ord = 0; 2243 strcpy(dip->un.e.member[1].label.name, AudioNon); 2244 dip->un.e.member[1].ord = 1; 2245 return 0; 2246 |
2247 case SB_EQUALIZATION_CLASS: 2248 dip->type = AUDIO_MIXER_CLASS; 2249 dip->mixer_class = SB_EQUALIZATION_CLASS; 2250 dip->next = dip->prev = AUDIO_MIXER_LAST; 2251 strcpy(dip->label.name, AudioCequalization); 2252 return 0; 2253 2254 case SB_CD_IN_MUTE: --- 127 unchanged lines hidden --- |