blob: cd2e3adaff15dd822fa862195cffb1ad42d7c2bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ae,v 1.5 2004/06/09 12:53:46 minskim Exp $
--- mpegsound/mpegtoraw.cc.orig 1998-03-06 11:43:55.000000000 -0600
+++ mpegsound/mpegtoraw.cc
@@ -15,6 +15,7 @@
#include "mpegsound.h"
#include "mpegsound_locals.h"
+#include <sys/soundcard.h>
#define MY_PI 3.14159265358979323846
@@ -618,7 +619,7 @@ bool Mpegtoraw::run(int frames)
if(frames<0)
{
frames=-frames;
- player->setsoundtype(outputstereo,16,
+ player->setsoundtype(outputstereo,AFMT_S16_NE,
frequencies[version][frequency]>>downfrequency);
}
|