1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-06 13:09:50 +00:00

Don't compile a 256-byte unused table in the pca driver.

The other 256-byte table in ulaw.h still gets duplicated if both
pca and snd are configured.
This commit is contained in:
Bruce Evans 1996-09-13 06:29:30 +00:00
parent cefdbb0448
commit 5a175c1c5d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18273
2 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: pcaudio.c,v 1.29 1996/07/17 20:18:56 joerg Exp $
* $Id: pcaudio.c,v 1.30 1996/09/06 23:07:54 phk Exp $
*/
#include "pca.h"
@ -47,6 +47,7 @@
#include <i386/isa/isa_device.h>
#include <i386/isa/timerreg.h>
#define DSP_ULAW_NOT_WANTED
#include <i386/isa/sound/ulaw.h>
#ifdef DEVFS

View File

@ -33,6 +33,7 @@ static unsigned char ulaw_dsp[] = {
129, 129, 129, 129, 128, 128, 128, 128,
};
#ifndef DSP_ULAW_NOT_WANTED
static unsigned char dsp_ulaw[] = {
31, 31, 31, 32, 32, 32, 32, 33,
33, 33, 33, 34, 34, 34, 34, 35,
@ -67,3 +68,4 @@ static unsigned char dsp_ulaw[] = {
163, 163, 162, 162, 162, 162, 161, 161,
161, 161, 160, 160, 160, 160, 159, 159,
};
#endif /* !DSP_ULAW_NOT_WANTED */