21 lines
512 B
Text
21 lines
512 B
Text
$NetBSD: patch-ae,v 1.4 2002/08/05 17:39:19 wiz Exp $
|
|
|
|
--- mpegsound/mpegtoraw.cc.orig Fri Mar 6 18:43:55 1998
|
|
+++ mpegsound/mpegtoraw.cc
|
|
@@ -15,6 +15,7 @@
|
|
|
|
#include "mpegsound.h"
|
|
#include "mpegsound_locals.h"
|
|
+#include <soundcard.h>
|
|
|
|
#define MY_PI 3.14159265358979323846
|
|
|
|
@@ -618,7 +619,7 @@
|
|
if(frames<0)
|
|
{
|
|
frames=-frames;
|
|
- player->setsoundtype(outputstereo,16,
|
|
+ player->setsoundtype(outputstereo,AFMT_S16_NE,
|
|
frequencies[version][frequency]>>downfrequency);
|
|
}
|
|
|