Garbage collect some unused routines.

This commit is contained in:
augustss 1997-07-15 07:51:04 +00:00
parent 8727da130b
commit 5b3b56dd1a
1 changed files with 1 additions and 27 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: aucc.c,v 1.11 1997/07/15 07:46:04 augustss Exp $ */
/* $NetBSD: aucc.c,v 1.12 1997/07/15 07:51:04 augustss Exp $ */
#undef AUDIO_DEBUG
/*
* Copyright (c) 1997 Stephan Thesing
@ -170,9 +170,6 @@ int aucc_open __P((dev_t, int));
void aucc_close __P((void *));
int aucc_set_out_sr __P((void *, u_long));
int aucc_query_encoding __P((void *, struct audio_encoding *));
int aucc_get_encoding __P((void *));
int aucc_get_precision __P((void *));
int aucc_get_channels __P((void *));
int aucc_round_blocksize __P((void *, int));
int aucc_set_out_port __P((void *, int));
int aucc_get_out_port __P((void *));
@ -459,27 +456,6 @@ aucc_set_params(addr, mode, p, q)
return aucc_set_out_sr(addr, p->sample_rate);
}
int
aucc_get_encoding(addr)
void *addr;
{
return ((struct aucc_softc *)addr)->sc_encoding;
}
int
aucc_get_precision(addr)
void *addr;
{
return(8);
}
int
aucc_get_channels(addr)
void *addr;
{
return ((struct aucc_softc *)addr)->sc_channels;
}
int
aucc_round_blocksize(addr, blk)
void *addr;
@ -972,12 +948,10 @@ aucc_encode(enc, channels, i, p, dmap)
case AUDIO_ENCODING_ULAW:
tab=ulaw_to_lin;
break;
case AUDIO_ENCODING_ULINEAR:
case AUDIO_ENCODING_ULINEAR_BE:
case AUDIO_ENCODING_ULINEAR_LE:
off=-128;
break;
case AUDIO_ENCODING_SLINEAR:
case AUDIO_ENCODING_SLINEAR_BE:
case AUDIO_ENCODING_SLINEAR_LE:
break;