diff options
author | kato <kato@FreeBSD.org> | 1997-09-07 12:46:44 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1997-09-07 12:46:44 +0000 |
commit | 98cf145068980e00e1f0ac0c8f7653ab09a6978f (patch) | |
tree | 7e2162024ef6b6e542085fcf04bbb2dae92943b4 /sys/pc98 | |
parent | 0eab1df155ca8f3c984955cf2d9adbd3b86f26e6 (diff) | |
download | FreeBSD-src-98cf145068980e00e1f0ac0c8f7653ab09a6978f.zip FreeBSD-src-98cf145068980e00e1f0ac0c8f7653ab09a6978f.tar.gz |
Synchronize with sys/i386/isa/pcaudio.c revision 1.36.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/pc98/pcaudio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/pc98/pc98/pcaudio.c b/sys/pc98/pc98/pcaudio.c index 2c59904..4310f6a 100644 --- a/sys/pc98/pc98/pcaudio.c +++ b/sys/pc98/pc98/pcaudio.c @@ -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.9 1997/02/22 09:43:43 peter Exp $ + * $Id: pcaudio.c,v 1.10 1997/09/04 13:20:33 kato Exp $ */ #include "pca.h" @@ -53,6 +53,8 @@ #define DSP_ULAW_NOT_WANTED #include <i386/isa/sound/ulaw.h> +#define LINEAR_ALAW_NOT_WANTED +#include <i386/isa/sound/alaw.h> #ifdef DEVFS #include <sys/devfsext.h> @@ -398,6 +400,7 @@ pcawrite(dev_t dev, struct uio *uio, int flag) break; case AUDIO_ENCODING_ALAW: + conv(alaw_linear, pca_status.buf[which], count); break; case AUDIO_ENCODING_RAW: |