sun linear encodings are *signed*

This commit is contained in:
mrg 2002-01-15 17:01:33 +00:00
parent 2b03c0df7a
commit 9ab6411c17

View File

@ -1,4 +1,4 @@
/* $NetBSD: sun.c,v 1.1 2002/01/15 08:19:37 mrg Exp $ */
/* $NetBSD: sun.c,v 1.2 2002/01/15 17:01:33 mrg Exp $ */
/*
* Copyright (c) 2002 Matthew R. Green
@ -54,10 +54,10 @@ struct {
int precision;
} file2sw_encodings[] = {
{ AUDIO_FILE_ENCODING_MULAW_8, AUDIO_ENCODING_ULAW, 8 },
{ AUDIO_FILE_ENCODING_LINEAR_8, AUDIO_ENCODING_ULINEAR_BE, 8 },
{ AUDIO_FILE_ENCODING_LINEAR_16, AUDIO_ENCODING_ULINEAR_BE, 16 },
{ AUDIO_FILE_ENCODING_LINEAR_24, AUDIO_ENCODING_ULINEAR_BE, 24 },
{ AUDIO_FILE_ENCODING_LINEAR_32, AUDIO_ENCODING_ULINEAR_BE, 32 },
{ AUDIO_FILE_ENCODING_LINEAR_8, AUDIO_ENCODING_SLINEAR_BE, 8 },
{ AUDIO_FILE_ENCODING_LINEAR_16, AUDIO_ENCODING_SLINEAR_BE, 16 },
{ AUDIO_FILE_ENCODING_LINEAR_24, AUDIO_ENCODING_SLINEAR_BE, 24 },
{ AUDIO_FILE_ENCODING_LINEAR_32, AUDIO_ENCODING_SLINEAR_BE, 32 },
#if 0
/*
* we should make some of these available. the, eg ultrasparc, port