summaryrefslogtreecommitdiffstats
path: root/audio/maplay/files/patch-obuffer.h
blob: 7362f7a22b40c754e46144325c05f2e0fbaf5d1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--- obuffer.h.orig	1994-06-23 12:14:40 UTC
+++ obuffer.h
@@ -27,7 +27,7 @@
 #ifndef OBUFFER_H
 #define OBUFFER_H
 
-#include <iostream.h>
+#include <iostream>
 #include <unistd.h>
 #include <stdlib.h>
 #include "all.h"
@@ -123,20 +123,20 @@ private:
 
 public:
 #ifdef ULAW
-	SparcObuffer (Header *, bool use_speaker, bool use_headphone, bool use_line_out);
+	SparcObuffer (Header *, boolean use_speaker, boolean use_headphone, boolean use_line_out);
 #else
 	SparcObuffer (uint32 number_of_channels, Header *,
- 		      bool use_speaker, bool use_headphone, bool use_line_out);
+ 		      boolean use_speaker, boolean use_headphone, boolean use_line_out);
 #endif
        ~SparcObuffer (void);
   void	append (uint32 channel, int16 value);
   void	write_buffer (int dummy);
 
 #ifdef ULAW
-  static bool class_suitable (uint32 number_of_channels, bool force_amd);
+  static boolean class_suitable (uint32 number_of_channels, boolean force_amd);
 	// returnvalue == False: no u-law output possible (class unsuitable)
 #else
-  static bool class_suitable (void);
+  static boolean class_suitable (void);
 	// returnvalue == False: no 16-bit output possible (class unsuitable)
 #endif
 };
@@ -159,7 +159,7 @@ public:
   void	append (uint32 channel, int16 value);
   void	write_buffer (int dummy);
 
-  static bool class_suitable (uint32 number_of_channels);
+  static boolean class_suitable (uint32 number_of_channels);
 };
 #endif	// LINUX
 
OpenPOWER on IntegriCloud