Browse Source

moved trunk into place

mr/new/a9238346fef6dca2ffdf3d9eca3a88ac5f43abd8
bjornroche 11 years ago
commit
c1e1d067d2
100 changed files with 53871 additions and 0 deletions
  1. 1
    0
      COMPILING.DARWIN
  2. 239
    0
      Doxyfile
  3. 81
    0
      LICENSE.txt
  4. 214
    0
      Makefile.in
  5. 98
    0
      README.txt
  6. 197
    0
      SConstruct
  7. 6627
    0
      aclocal.m4
  8. 0
    0
      bindings/cpp/AUTHORS
  9. 31
    0
      bindings/cpp/COPYING
  10. 178
    0
      bindings/cpp/ChangeLog
  11. 236
    0
      bindings/cpp/INSTALL
  12. 7
    0
      bindings/cpp/Makefile.am
  13. 642
    0
      bindings/cpp/Makefile.in
  14. 0
    0
      bindings/cpp/NEWS
  15. 0
    0
      bindings/cpp/README
  16. 65
    0
      bindings/cpp/SConscript
  17. 7336
    0
      bindings/cpp/aclocal.m4
  18. 9
    0
      bindings/cpp/bin/Makefile.am
  19. 470
    0
      bindings/cpp/bin/Makefile.in
  20. 106
    0
      bindings/cpp/build/gnu/Makefile.in
  21. 0
    0
      bindings/cpp/build/gnu/OUT_OF_DATE
  22. 57
    0
      bindings/cpp/build/gnu/aclocal.m4
  23. 1308
    0
      bindings/cpp/build/gnu/config.guess
  24. 1505
    0
      bindings/cpp/build/gnu/config.sub
  25. 4297
    0
      bindings/cpp/build/gnu/configure
  26. 214
    0
      bindings/cpp/build/gnu/configure.ac
  27. 251
    0
      bindings/cpp/build/gnu/install-sh
  28. 248
    0
      bindings/cpp/build/vc6/devs_example.dsp
  29. 44
    0
      bindings/cpp/build/vc6/devs_example.dsw
  30. 252
    0
      bindings/cpp/build/vc6/sine_example.dsp
  31. 44
    0
      bindings/cpp/build/vc6/sine_example.dsw
  32. 395
    0
      bindings/cpp/build/vc6/static_library.dsp
  33. 29
    0
      bindings/cpp/build/vc6/static_library.dsw
  34. 0
    0
      bindings/cpp/build/vc7/OUT_OF_DATE
  35. 30
    0
      bindings/cpp/build/vc7_1/devs_example.sln
  36. 195
    0
      bindings/cpp/build/vc7_1/devs_example.vcproj
  37. 30
    0
      bindings/cpp/build/vc7_1/sine_example.sln
  38. 327
    0
      bindings/cpp/build/vc7_1/sine_example.vcproj
  39. 21
    0
      bindings/cpp/build/vc7_1/static_library.sln
  40. 218
    0
      bindings/cpp/build/vc7_1/static_library.vcproj
  41. 21505
    0
      bindings/cpp/configure
  42. 54
    0
      bindings/cpp/configure.ac
  43. 5
    0
      bindings/cpp/doc/Makefile.am
  44. 326
    0
      bindings/cpp/doc/Makefile.in
  45. 34
    0
      bindings/cpp/doc/README
  46. 211
    0
      bindings/cpp/doc/config.doxy
  47. 210
    0
      bindings/cpp/doc/config.doxy.linux
  48. 177
    0
      bindings/cpp/example/devs.cxx
  49. 137
    0
      bindings/cpp/example/sine.cxx
  50. 22
    0
      bindings/cpp/include/Makefile.am
  51. 423
    0
      bindings/cpp/include/Makefile.in
  52. 44
    0
      bindings/cpp/include/portaudiocpp/AsioDeviceAdapter.hxx
  53. 62
    0
      bindings/cpp/include/portaudiocpp/AutoSystem.hxx
  54. 45
    0
      bindings/cpp/include/portaudiocpp/BlockingStream.hxx
  55. 49
    0
      bindings/cpp/include/portaudiocpp/CFunCallbackStream.hxx
  56. 45
    0
      bindings/cpp/include/portaudiocpp/CallbackInterface.hxx
  57. 40
    0
      bindings/cpp/include/portaudiocpp/CallbackStream.hxx
  58. 86
    0
      bindings/cpp/include/portaudiocpp/CppFunCallbackStream.hxx
  59. 91
    0
      bindings/cpp/include/portaudiocpp/Device.hxx
  60. 77
    0
      bindings/cpp/include/portaudiocpp/DirectionSpecificStreamParameters.hxx
  61. 108
    0
      bindings/cpp/include/portaudiocpp/Exception.hxx
  62. 76
    0
      bindings/cpp/include/portaudiocpp/HostApi.hxx
  63. 49
    0
      bindings/cpp/include/portaudiocpp/InterfaceCallbackStream.hxx
  64. 107
    0
      bindings/cpp/include/portaudiocpp/MemFunCallbackStream.hxx
  65. 109
    0
      bindings/cpp/include/portaudiocpp/PortAudioCpp.hxx
  66. 35
    0
      bindings/cpp/include/portaudiocpp/SampleDataFormat.hxx
  67. 82
    0
      bindings/cpp/include/portaudiocpp/Stream.hxx
  68. 77
    0
      bindings/cpp/include/portaudiocpp/StreamParameters.hxx
  69. 107
    0
      bindings/cpp/include/portaudiocpp/System.hxx
  70. 66
    0
      bindings/cpp/include/portaudiocpp/SystemDeviceIterator.hxx
  71. 61
    0
      bindings/cpp/include/portaudiocpp/SystemHostApiIterator.hxx
  72. 26
    0
      bindings/cpp/lib/Makefile.am
  73. 615
    0
      bindings/cpp/lib/Makefile.in
  74. 12
    0
      bindings/cpp/portaudiocpp.pc.in
  75. 83
    0
      bindings/cpp/source/portaudiocpp/AsioDeviceAdapter.cxx
  76. 100
    0
      bindings/cpp/source/portaudiocpp/BlockingStream.cxx
  77. 41
    0
      bindings/cpp/source/portaudiocpp/CFunCallbackStream.cxx
  78. 25
    0
      bindings/cpp/source/portaudiocpp/CallbackInterface.cxx
  79. 20
    0
      bindings/cpp/source/portaudiocpp/CallbackStream.cxx
  80. 81
    0
      bindings/cpp/source/portaudiocpp/CppFunCallbackStream.cxx
  81. 168
    0
      bindings/cpp/source/portaudiocpp/Device.cxx
  82. 163
    0
      bindings/cpp/source/portaudiocpp/DirectionSpecificStreamParameters.cxx
  83. 123
    0
      bindings/cpp/source/portaudiocpp/Exception.cxx
  84. 121
    0
      bindings/cpp/source/portaudiocpp/HostApi.cxx
  85. 45
    0
      bindings/cpp/source/portaudiocpp/InterfaceCallbackStream.cxx
  86. 4
    0
      bindings/cpp/source/portaudiocpp/MemFunCallbackStream.cxx
  87. 195
    0
      bindings/cpp/source/portaudiocpp/Stream.cxx
  88. 165
    0
      bindings/cpp/source/portaudiocpp/StreamParameters.cxx
  89. 308
    0
      bindings/cpp/source/portaudiocpp/System.cxx
  90. 60
    0
      bindings/cpp/source/portaudiocpp/SystemDeviceIterator.cxx
  91. 59
    0
      bindings/cpp/source/portaudiocpp/SystemHostApiIterator.cxx
  92. 78
    0
      build/dev-cpp/Makefile-dll
  93. 75
    0
      build/dev-cpp/Makefile-static
  94. 209
    0
      build/dev-cpp/portaudio-dll.dev
  95. 209
    0
      build/dev-cpp/portaudio-static.dev
  96. 23
    0
      build/dev-cpp/readme.txt
  97. 43
    0
      build/msvc/portaudio.def
  98. 269
    0
      build/msvc/portaudio.dsp
  99. 29
    0
      build/msvc/portaudio.dsw
  100. 0
    0
      build/msvc/portaudio.sln

+ 1
- 0
COMPILING.DARWIN View File

@@ -0,0 +1 @@
1
+To compile on darwin, you will need to use the darwin makefile, gcc 3.3 or later and the universal SDK. for more info, see http://portaudio.com/trac/wiki/TutorialDir/Compile/MacintoshCoreAudio

+ 239
- 0
Doxyfile View File

@@ -0,0 +1,239 @@
1
+# Doxyfile 1.4.6
2
+
3
+#---------------------------------------------------------------------------
4
+# Project related configuration options
5
+#---------------------------------------------------------------------------
6
+PROJECT_NAME           = PortAudio
7
+PROJECT_NUMBER         = 2.0
8
+OUTPUT_DIRECTORY       = ./doc/
9
+CREATE_SUBDIRS         = NO
10
+OUTPUT_LANGUAGE        = English
11
+USE_WINDOWS_ENCODING   = NO
12
+BRIEF_MEMBER_DESC      = YES
13
+REPEAT_BRIEF           = YES
14
+ABBREVIATE_BRIEF       = "The $name class" \
15
+                         "The $name widget" \
16
+                         "The $name file" \
17
+                         is \
18
+                         provides \
19
+                         specifies \
20
+                         contains \
21
+                         represents \
22
+                         a \
23
+                         an \
24
+                         the
25
+ALWAYS_DETAILED_SEC    = NO
26
+INLINE_INHERITED_MEMB  = NO
27
+FULL_PATH_NAMES        = NO
28
+STRIP_FROM_PATH        = 
29
+STRIP_FROM_INC_PATH    = 
30
+SHORT_NAMES            = NO
31
+JAVADOC_AUTOBRIEF      = NO
32
+MULTILINE_CPP_IS_BRIEF = NO
33
+DETAILS_AT_TOP         = NO
34
+INHERIT_DOCS           = YES
35
+SEPARATE_MEMBER_PAGES  = NO
36
+TAB_SIZE               = 8
37
+ALIASES                = 
38
+OPTIMIZE_OUTPUT_FOR_C  = YES
39
+OPTIMIZE_OUTPUT_JAVA   = NO
40
+BUILTIN_STL_SUPPORT    = NO
41
+DISTRIBUTE_GROUP_DOC   = NO
42
+SUBGROUPING            = YES
43
+#---------------------------------------------------------------------------
44
+# Build related configuration options
45
+#---------------------------------------------------------------------------
46
+EXTRACT_ALL            = YES
47
+EXTRACT_PRIVATE        = NO
48
+EXTRACT_STATIC         = NO
49
+EXTRACT_LOCAL_CLASSES  = YES
50
+EXTRACT_LOCAL_METHODS  = NO
51
+HIDE_UNDOC_MEMBERS     = NO
52
+HIDE_UNDOC_CLASSES     = NO
53
+HIDE_FRIEND_COMPOUNDS  = NO
54
+HIDE_IN_BODY_DOCS      = NO
55
+INTERNAL_DOCS          = NO
56
+CASE_SENSE_NAMES       = YES
57
+HIDE_SCOPE_NAMES       = NO
58
+SHOW_INCLUDE_FILES     = YES
59
+INLINE_INFO            = YES
60
+SORT_MEMBER_DOCS       = YES
61
+SORT_BRIEF_DOCS        = NO
62
+SORT_BY_SCOPE_NAME     = NO
63
+GENERATE_TODOLIST      = YES
64
+GENERATE_TESTLIST      = YES
65
+GENERATE_BUGLIST       = YES
66
+GENERATE_DEPRECATEDLIST= YES
67
+ENABLED_SECTIONS       = 
68
+MAX_INITIALIZER_LINES  = 30
69
+SHOW_USED_FILES        = YES
70
+SHOW_DIRECTORIES       = NO
71
+FILE_VERSION_FILTER    = 
72
+#---------------------------------------------------------------------------
73
+# configuration options related to warning and progress messages
74
+#---------------------------------------------------------------------------
75
+QUIET                  = NO
76
+WARNINGS               = YES
77
+WARN_IF_UNDOCUMENTED   = YES
78
+WARN_IF_DOC_ERROR      = YES
79
+WARN_NO_PARAMDOC       = NO
80
+WARN_FORMAT            = "$file:$line: $text"
81
+WARN_LOGFILE           = 
82
+#---------------------------------------------------------------------------
83
+# configuration options related to the input files
84
+#---------------------------------------------------------------------------
85
+INPUT                  = doc/src \
86
+                         src \
87
+                         include \
88
+                         test
89
+FILE_PATTERNS          = *.h \
90
+                         *.c \
91
+                         *.cpp \
92
+                         *.dox
93
+RECURSIVE              = YES
94
+EXCLUDE                = 
95
+EXCLUDE_SYMLINKS       = NO
96
+EXCLUDE_PATTERNS       = 
97
+EXAMPLE_PATH           = 
98
+EXAMPLE_PATTERNS       = 
99
+EXAMPLE_RECURSIVE      = NO
100
+IMAGE_PATH             = 
101
+INPUT_FILTER           = 
102
+FILTER_PATTERNS        = 
103
+FILTER_SOURCE_FILES    = NO
104
+#---------------------------------------------------------------------------
105
+# configuration options related to source browsing
106
+#---------------------------------------------------------------------------
107
+SOURCE_BROWSER         = NO
108
+INLINE_SOURCES         = NO
109
+STRIP_CODE_COMMENTS    = YES
110
+REFERENCED_BY_RELATION = YES
111
+REFERENCES_RELATION    = YES
112
+USE_HTAGS              = NO
113
+VERBATIM_HEADERS       = YES
114
+#---------------------------------------------------------------------------
115
+# configuration options related to the alphabetical class index
116
+#---------------------------------------------------------------------------
117
+ALPHABETICAL_INDEX     = NO
118
+COLS_IN_ALPHA_INDEX    = 5
119
+IGNORE_PREFIX          = 
120
+#---------------------------------------------------------------------------
121
+# configuration options related to the HTML output
122
+#---------------------------------------------------------------------------
123
+GENERATE_HTML          = YES
124
+HTML_OUTPUT            = html
125
+HTML_FILE_EXTENSION    = .html
126
+HTML_HEADER            = 
127
+HTML_FOOTER            = 
128
+HTML_STYLESHEET        = 
129
+HTML_ALIGN_MEMBERS     = YES
130
+GENERATE_HTMLHELP      = NO
131
+CHM_FILE               = 
132
+HHC_LOCATION           = 
133
+GENERATE_CHI           = NO
134
+BINARY_TOC             = NO
135
+TOC_EXPAND             = NO
136
+DISABLE_INDEX          = NO
137
+ENUM_VALUES_PER_LINE   = 4
138
+GENERATE_TREEVIEW      = NO
139
+TREEVIEW_WIDTH         = 250
140
+#---------------------------------------------------------------------------
141
+# configuration options related to the LaTeX output
142
+#---------------------------------------------------------------------------
143
+GENERATE_LATEX         = NO
144
+LATEX_OUTPUT           = latex
145
+LATEX_CMD_NAME         = latex
146
+MAKEINDEX_CMD_NAME     = makeindex
147
+COMPACT_LATEX          = NO
148
+PAPER_TYPE             = a4wide
149
+EXTRA_PACKAGES         = 
150
+LATEX_HEADER           = 
151
+PDF_HYPERLINKS         = NO
152
+USE_PDFLATEX           = NO
153
+LATEX_BATCHMODE        = NO
154
+LATEX_HIDE_INDICES     = NO
155
+#---------------------------------------------------------------------------
156
+# configuration options related to the RTF output
157
+#---------------------------------------------------------------------------
158
+GENERATE_RTF           = NO
159
+RTF_OUTPUT             = rtf
160
+COMPACT_RTF            = NO
161
+RTF_HYPERLINKS         = NO
162
+RTF_STYLESHEET_FILE    = 
163
+RTF_EXTENSIONS_FILE    = 
164
+#---------------------------------------------------------------------------
165
+# configuration options related to the man page output
166
+#---------------------------------------------------------------------------
167
+GENERATE_MAN           = NO
168
+MAN_OUTPUT             = man
169
+MAN_EXTENSION          = .3
170
+MAN_LINKS              = NO
171
+#---------------------------------------------------------------------------
172
+# configuration options related to the XML output
173
+#---------------------------------------------------------------------------
174
+GENERATE_XML           = NO
175
+XML_OUTPUT             = xml
176
+XML_SCHEMA             = 
177
+XML_DTD                = 
178
+XML_PROGRAMLISTING     = YES
179
+#---------------------------------------------------------------------------
180
+# configuration options for the AutoGen Definitions output
181
+#---------------------------------------------------------------------------
182
+GENERATE_AUTOGEN_DEF   = NO
183
+#---------------------------------------------------------------------------
184
+# configuration options related to the Perl module output
185
+#---------------------------------------------------------------------------
186
+GENERATE_PERLMOD       = NO
187
+PERLMOD_LATEX          = NO
188
+PERLMOD_PRETTY         = YES
189
+PERLMOD_MAKEVAR_PREFIX = 
190
+#---------------------------------------------------------------------------
191
+# Configuration options related to the preprocessor   
192
+#---------------------------------------------------------------------------
193
+ENABLE_PREPROCESSING   = YES
194
+MACRO_EXPANSION        = NO
195
+EXPAND_ONLY_PREDEF     = NO
196
+SEARCH_INCLUDES        = YES
197
+INCLUDE_PATH           = 
198
+INCLUDE_FILE_PATTERNS  = 
199
+PREDEFINED             = 
200
+EXPAND_AS_DEFINED      = 
201
+SKIP_FUNCTION_MACROS   = YES
202
+#---------------------------------------------------------------------------
203
+# Configuration::additions related to external references   
204
+#---------------------------------------------------------------------------
205
+TAGFILES               = 
206
+GENERATE_TAGFILE       = 
207
+ALLEXTERNALS           = NO
208
+EXTERNAL_GROUPS        = YES
209
+PERL_PATH              = /usr/bin/perl
210
+#---------------------------------------------------------------------------
211
+# Configuration options related to the dot tool   
212
+#---------------------------------------------------------------------------
213
+CLASS_DIAGRAMS         = NO
214
+HIDE_UNDOC_RELATIONS   = NO
215
+HAVE_DOT               = NO
216
+CLASS_GRAPH            = YES
217
+COLLABORATION_GRAPH    = YES
218
+GROUP_GRAPHS           = YES
219
+UML_LOOK               = NO
220
+TEMPLATE_RELATIONS     = YES
221
+INCLUDE_GRAPH          = YES
222
+INCLUDED_BY_GRAPH      = YES
223
+CALL_GRAPH             = NO
224
+GRAPHICAL_HIERARCHY    = YES
225
+DIRECTORY_GRAPH        = YES
226
+DOT_IMAGE_FORMAT       = png
227
+DOT_PATH               = 
228
+DOTFILE_DIRS           = 
229
+MAX_DOT_GRAPH_WIDTH    = 1024
230
+MAX_DOT_GRAPH_HEIGHT   = 1024
231
+MAX_DOT_GRAPH_DEPTH    = 1000
232
+DOT_TRANSPARENT        = NO
233
+DOT_MULTI_TARGETS      = NO
234
+GENERATE_LEGEND        = YES
235
+DOT_CLEANUP            = YES
236
+#---------------------------------------------------------------------------
237
+# Configuration::additions related to the search engine   
238
+#---------------------------------------------------------------------------
239
+SEARCHENGINE           = NO

+ 81
- 0
LICENSE.txt View File

@@ -0,0 +1,81 @@
1
+Portable header file to contain:
2
+>>>>>
3
+/*
4
+ * PortAudio Portable Real-Time Audio Library
5
+ * PortAudio API Header File
6
+ * Latest version available at: http://www.portaudio.com
7
+ *
8
+ * Copyright (c) 1999-2006 Ross Bencina and Phil Burk
9
+ *
10
+ * Permission is hereby granted, free of charge, to any person obtaining
11
+ * a copy of this software and associated documentation files
12
+ * (the "Software"), to deal in the Software without restriction,
13
+ * including without limitation the rights to use, copy, modify, merge,
14
+ * publish, distribute, sublicense, and/or sell copies of the Software,
15
+ * and to permit persons to whom the Software is furnished to do so,
16
+ * subject to the following conditions:
17
+ *
18
+ * The above copyright notice and this permission notice shall be
19
+ * included in all copies or substantial portions of the Software.
20
+ *
21
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
24
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
25
+ * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
26
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
+ */
29
+
30
+/*
31
+ * The text above constitutes the entire PortAudio license; however, 
32
+ * the PortAudio community also makes the following non-binding requests:
33
+ *
34
+ * Any person wishing to distribute modifications to the Software is
35
+ * requested to send the modifications to the original developer so that
36
+ * they can be incorporated into the canonical version. It is also 
37
+ * requested that these non-binding requests be included along with the 
38
+ * license above.
39
+ */
40
+<<<<<
41
+ 
42
+
43
+Implementation files to contain:
44
+>>>>>
45
+/*
46
+ * PortAudio Portable Real-Time Audio Library
47
+ * Latest version at: http://www.portaudio.com
48
+ * <platform> Implementation
49
+ * Copyright (c) 1999-2000 <author(s)>
50
+ *
51
+ * Permission is hereby granted, free of charge, to any person obtaining
52
+ * a copy of this software and associated documentation files
53
+ * (the "Software"), to deal in the Software without restriction,
54
+ * including without limitation the rights to use, copy, modify, merge,
55
+ * publish, distribute, sublicense, and/or sell copies of the Software,
56
+ * and to permit persons to whom the Software is furnished to do so,
57
+ * subject to the following conditions:
58
+ *
59
+ * The above copyright notice and this permission notice shall be
60
+ * included in all copies or substantial portions of the Software.
61
+ *
62
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
63
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
64
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
65
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
66
+ * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
67
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
68
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
69
+ */
70
+
71
+/*
72
+ * The text above constitutes the entire PortAudio license; however, 
73
+ * the PortAudio community also makes the following non-binding requests:
74
+ *
75
+ * Any person wishing to distribute modifications to the Software is
76
+ * requested to send the modifications to the original developer so that
77
+ * they can be incorporated into the canonical version. It is also 
78
+ * requested that these non-binding requests be included along with the 
79
+ * license above.
80
+ */
81
+<<<<<

+ 214
- 0
Makefile.in View File

@@ -0,0 +1,214 @@
1
+#
2
+# PortAudio V19 Makefile.in
3
+#
4
+# Dominic Mazzoni
5
+# Modifications by Mikael Magnusson
6
+#
7
+
8
+top_srcdir = @top_srcdir@
9
+srcdir = @srcdir@
10
+VPATH = @srcdir@
11
+top_builddir = .
12
+PREFIX = @prefix@
13
+prefix = $(PREFIX)
14
+exec_prefix = @exec_prefix@
15
+bindir = @bindir@
16
+libdir = @libdir@
17
+includedir = @includedir@
18
+CC = @CC@
19
+CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src/common -I$(top_srcdir)/src/os/unix @CFLAGS@ @DEFS@
20
+LIBS = @LIBS@
21
+AR = @AR@
22
+RANLIB = @RANLIB@
23
+LIBTOOL = @LIBTOOL@
24
+INSTALL = @INSTALL@
25
+INSTALL_DATA = @INSTALL_DATA@
26
+SHARED_FLAGS = @SHARED_FLAGS@
27
+LDFLAGS = @LDFLAGS@
28
+DLL_LIBS = @DLL_LIBS@
29
+CXXFLAGS = @CXXFLAGS@
30
+NASM = @NASM@
31
+NASMOPT = @NASMOPT@
32
+LN_S = @LN_S@
33
+LT_CURRENT=@LT_CURRENT@
34
+LT_REVISION=@LT_REVISION@
35
+LT_AGE=@LT_AGE@
36
+
37
+OTHER_OBJS = @OTHER_OBJS@
38
+
39
+PALIB = libportaudio.la
40
+PAINC = include/portaudio.h
41
+
42
+PA_LDFLAGS = $(LDFLAGS) $(SHARED_FLAGS) -rpath $(libdir) -no-undefined \
43
+	     -export-symbols-regex "(Pa|PaMacCore|PaJack|PaAlsa)_.*" \
44
+	     -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
45
+
46
+COMMON_OBJS = \
47
+	src/common/pa_allocation.o \
48
+	src/common/pa_converters.o \
49
+	src/common/pa_cpuload.o \
50
+	src/common/pa_dither.o \
51
+	src/common/pa_debugprint.o \
52
+	src/common/pa_front.o \
53
+	src/common/pa_process.o \
54
+	src/common/pa_skeleton.o \
55
+	src/common/pa_stream.o \
56
+	src/common/pa_trace.o
57
+
58
+TESTS = \
59
+	bin/paqa_devs \
60
+	bin/paqa_errs \
61
+	bin/patest1 \
62
+	bin/patest_buffer \
63
+	bin/patest_callbackstop \
64
+	bin/patest_clip \
65
+	bin/patest_dither \
66
+	bin/patest_hang \
67
+	bin/patest_in_overflow \
68
+	bin/patest_latency \
69
+	bin/patest_leftright \
70
+	bin/patest_longsine \
71
+	bin/patest_many \
72
+	bin/patest_maxsines \
73
+	bin/patest_multi_sine \
74
+	bin/patest_out_underflow \
75
+	bin/patest_pink \
76
+	bin/patest_prime \
77
+	bin/patest_read_record \
78
+	bin/patest_read_write_wire \
79
+	bin/patest_record \
80
+	bin/patest_ringmix \
81
+	bin/patest_saw \
82
+	bin/patest_sine8 \
83
+	bin/patest_sine \
84
+	bin/patest_sine_channelmaps \
85
+	bin/patest_sine_formats \
86
+	bin/patest_sine_time \
87
+	bin/patest_start_stop \
88
+	bin/patest_stop \
89
+	bin/patest_stop_playout \
90
+	bin/patest_toomanysines \
91
+	bin/patest_underflow \
92
+	bin/patest_wire \
93
+	bin/patest_write_sine \
94
+	bin/pa_devs \
95
+	bin/pa_fuzz \
96
+	bin/pa_minlat
97
+
98
+# Most of these don't compile yet.  Put them in TESTS, above, if
99
+# you want to try to compile them...
100
+ALL_TESTS = \
101
+	$(TESTS) \
102
+	bin/patest_sync \
103
+	bin/debug_convert \
104
+	bin/debug_dither_calc \
105
+	bin/debug_dual \
106
+	bin/debug_multi_in \
107
+	bin/debug_multi_out \
108
+	bin/debug_record \
109
+	bin/debug_record_reuse \
110
+	bin/debug_sine_amp \
111
+	bin/debug_sine \
112
+	bin/debug_sine_formats \
113
+	bin/debug_srate \
114
+	bin/debug_test1
115
+
116
+OBJS := $(COMMON_OBJS) $(OTHER_OBJS)
117
+
118
+LTOBJS := $(OBJS:.o=.lo)
119
+
120
+SRC_DIRS = \
121
+	src/common \
122
+	src/hostapi/alsa \
123
+	src/hostapi/asihpi \
124
+	src/hostapi/asio \
125
+	src/hostapi/coreaudio \
126
+	src/hostapi/dsound \
127
+	src/hostapi/jack \
128
+	src/hostapi/oss \
129
+	src/hostapi/wasapi \
130
+	src/hostapi/wdmks \
131
+	src/hostapi/wmme \
132
+	src/os/mac_osx \
133
+	src/os/unix \
134
+	src/os/win
135
+
136
+SUBDIRS =
137
+@ENABLE_CXX_TRUE@SUBDIRS += bindings/cpp
138
+
139
+all: lib/$(PALIB) all-recursive tests
140
+
141
+tests: bin-stamp $(TESTS)
142
+
143
+
144
+lib/$(PALIB): lib-stamp $(LTOBJS) $(MAKEFILE) $(PAINC)
145
+	$(LIBTOOL) --mode=link $(CC) $(PA_LDFLAGS) -o lib/$(PALIB) $(LTOBJS) $(DLL_LIBS)
146
+
147
+$(ALL_TESTS): bin/%: lib/$(PALIB) $(MAKEFILE) $(PAINC) test/%.c
148
+	$(LIBTOOL) --mode=link $(CC) -o $@ $(CFLAGS) $(top_srcdir)/test/$*.c lib/$(PALIB) $(LIBS)
149
+
150
+
151
+install: lib/$(PALIB) portaudio-2.0.pc
152
+	$(INSTALL) -d $(DESTDIR)$(libdir)
153
+	$(LIBTOOL) --mode=install $(INSTALL) lib/$(PALIB) $(DESTDIR)$(libdir)
154
+	$(INSTALL) -d $(DESTDIR)$(includedir)
155
+	$(INSTALL_DATA) -m 644 $(top_srcdir)/$(PAINC) $(DESTDIR)$(includedir)/portaudio.h
156
+	$(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
157
+	$(INSTALL) -m 644 portaudio-2.0.pc $(DESTDIR)$(libdir)/pkgconfig/portaudio-2.0.pc
158
+	@echo ""
159
+	@echo "------------------------------------------------------------"
160
+	@echo "PortAudio was successfully installed."
161
+	@echo ""
162
+	@echo "On some systems (e.g. Linux) you should run 'ldconfig' now"
163
+	@echo "to make the shared object available.  You may also need to"
164
+	@echo "modify your LD_LIBRARY_PATH environment variable to include"
165
+	@echo "the directory $(libdir)"
166
+	@echo "------------------------------------------------------------"
167
+	@echo ""
168
+	$(MAKE) install-recursive
169
+
170
+uninstall:
171
+	$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(PALIB)
172
+	$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(includedir)/portaudio.h
173
+	$(MAKE) uninstall-recursive
174
+
175
+clean:
176
+	$(LIBTOOL) --mode=clean rm -f $(LTOBJS) $(ALL_TESTS) lib/$(PALIB)
177
+	$(RM) bin-stamp lib-stamp
178
+	-$(RM) -r bin lib
179
+
180
+distclean: clean
181
+	$(RM) config.log config.status Makefile libtool portaudio-2.0.pc
182
+
183
+%.o: %.c $(MAKEFILE) $(PAINC)
184
+	$(CC) -c $(CFLAGS) $< -o $@
185
+
186
+%.lo: %.c $(MAKEFILE) $(PAINC)
187
+	$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $< -o $@
188
+
189
+%.o: %.cpp $(MAKEFILE) $(PAINC)
190
+	$(CXX) -c $(CXXFLAGS) $< -o $@
191
+
192
+%.o: %.asm
193
+	$(NASM) $(NASMOPT) -o $@ $<
194
+
195
+bin-stamp:
196
+	-mkdir bin
197
+	touch $@
198
+
199
+lib-stamp:
200
+	-mkdir lib
201
+	-mkdir -p $(SRC_DIRS)
202
+	touch $@
203
+
204
+Makefile: Makefile.in config.status
205
+	$(SHELL) config.status
206
+
207
+all-recursive:
208
+	if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir all; done ; fi
209
+
210
+install-recursive:
211
+	if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir install; done ; fi
212
+
213
+uninstall-recursive:
214
+	if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir uninstall; done ; fi

+ 98
- 0
README.txt View File

@@ -0,0 +1,98 @@
1
+README for PortAudio
2
+
3
+/*
4
+ * PortAudio Portable Real-Time Audio Library
5
+ * Latest Version at: http://www.portaudio.com
6
+ *
7
+ * Copyright (c) 1999-2008 Phil Burk and Ross Bencina
8
+ *
9
+ * Permission is hereby granted, free of charge, to any person obtaining
10
+ * a copy of this software and associated documentation files
11
+ * (the "Software"), to deal in the Software without restriction,
12
+ * including without limitation the rights to use, copy, modify, merge,
13
+ * publish, distribute, sublicense, and/or sell copies of the Software,
14
+ * and to permit persons to whom the Software is furnished to do so,
15
+ * subject to the following conditions:
16
+ *
17
+ * The above copyright notice and this permission notice shall be
18
+ * included in all copies or substantial portions of the Software.
19
+ *
20
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
24
+ * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
25
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27
+ */
28
+
29
+/*
30
+ * The text above constitutes the entire PortAudio license; however, 
31
+ * the PortAudio community also makes the following non-binding requests:
32
+ *
33
+ * Any person wishing to distribute modifications to the Software is
34
+ * requested to send the modifications to the original developer so that
35
+ * they can be incorporated into the canonical version. It is also 
36
+ * requested that these non-binding requests be included along with the 
37
+ * license above.
38
+ */
39
+
40
+
41
+PortAudio is a portable audio I/O library designed for cross-platform
42
+support of audio. It uses either a callback mechanism to request audio 
43
+processing, or blocking read/write calls to buffer data between the 
44
+native audio subsystem and the client. Audio can be processed in various 
45
+formats, including 32 bit floating point, and will be converted to the 
46
+native format internally.
47
+
48
+Documentation:
49
+	Documentation is available in "/doc/html/index.html"
50
+	Also see "src/common/portaudio.h" for API spec.
51
+	Also see http://www.portaudio.com/docs/
52
+	And see the "test/" directory for many examples of usage
53
+		(we suggest "test/patest_saw.c" for an example)
54
+
55
+For information on compiling programs with PortAudio, please see the
56
+tutorial at:
57
+
58
+  http://portaudio.com/trac/wiki/TutorialDir/TutorialStart
59
+  
60
+We have an active mailing list for user and developer discussions.
61
+Please feel free to join. See http://www.portaudio.com for details.
62
+
63
+
64
+Important Files and Folders:
65
+    include/portaudio.h     = header file for PortAudio API. Specifies API.	
66
+    src/common/             = platform independant code, host independant 
67
+                              code for all implementations.
68
+    src/os                  = os specific (but host api neutral) code
69
+    src/hostapi             = implementations for different host apis
70
+
71
+
72
+Host API Implementations:
73
+    src/hostapi/alsa        = Advanced Linux Sound Architecture (ALSA)
74
+    src/hostapi/asihpi      = AudioScience HPI
75
+    src/hostapi/asio        = ASIO for Windows and Macintosh
76
+    src/hostapi/coreaudio   = Macintosh Core Audio for OS X
77
+    src/hostapi/dsound      = Windows Direct Sound
78
+    src/hostapi/jack        = JACK Audio Connection Kit
79
+    src/hostapi/oss         = Unix Open Sound System (OSS)
80
+    src/hostapi/wasapi      = Windows Vista WASAPI
81
+    src/hostapi/wdmks       = Windows WDM Kernel Streaming
82
+    src/hostapi/wmme        = Windows MultiMedia Extensions (MME)
83
+
84
+
85
+Test Programs:
86
+    test/pa_fuzz.c         = guitar fuzz box
87
+    test/pa_devs.c         = print a list of available devices
88
+    test/pa_minlat.c       = determine minimum latency for your machine
89
+    test/paqa_devs.c       = self test that opens all devices
90
+    test/paqa_errs.c       = test error detection and reporting
91
+    test/patest_clip.c     = hear a sine wave clipped and unclipped
92
+    test/patest_dither.c   = hear effects of dithering (extremely subtle)
93
+    test/patest_pink.c     = fun with pink noise
94
+    test/patest_record.c   = record and playback some audio
95
+    test/patest_maxsines.c = how many sine waves can we play? Tests Pa_GetCPULoad().
96
+    test/patest_sine.c     = output a sine wave in a simple PA app
97
+    test/patest_sync.c     = test syncronization of audio and video
98
+    test/patest_wire.c     = pass input to output, wire simulator

+ 197
- 0
SConstruct View File

@@ -0,0 +1,197 @@
1
+import sys, os.path
2
+
3
+def rsplit(toSplit, sub, max=-1):
4
+    """ str.rsplit seems to have been introduced in 2.4 :( """
5
+    l = []
6
+    i = 0
7
+    while i != max:
8
+        try: idx = toSplit.rindex(sub)
9
+        except ValueError: break
10
+
11
+        toSplit, splitOff = toSplit[:idx], toSplit[idx + len(sub):]
12
+        l.insert(0, splitOff)
13
+        i += 1
14
+
15
+    l.insert(0, toSplit)
16
+    return l
17
+
18
+sconsDir = os.path.join("build", "scons")
19
+SConscript(os.path.join(sconsDir, "SConscript_common"))
20
+Import("Platform", "Posix", "ApiVer")
21
+
22
+# SConscript_opts exports PortAudio options
23
+optsDict = SConscript(os.path.join(sconsDir, "SConscript_opts"))
24
+optionsCache = os.path.join(sconsDir, "options.cache")   # Save options between runs in this cache
25
+options = Options(optionsCache, args=ARGUMENTS)
26
+for k in ("Installation Dirs", "Build Targets", "Host APIs", "Build Parameters", "Bindings"):
27
+    options.AddOptions(*optsDict[k])
28
+# Propagate options into environment
29
+env = Environment(options=options)
30
+# Save options for next run
31
+options.Save(optionsCache, env)
32
+# Generate help text for options
33
+env.Help(options.GenerateHelpText(env))
34
+
35
+buildDir = os.path.join("#", sconsDir, env["PLATFORM"])
36
+
37
+# Determine parameters to build tools
38
+if Platform in Posix:
39
+    threadCFlags = ''
40
+    if Platform != 'darwin':
41
+        threadCFlags = "-pthread "
42
+    baseLinkFlags = threadCFlags
43
+    baseCxxFlags = baseCFlags = "-Wall -pedantic -pipe " + threadCFlags
44
+    debugCxxFlags = debugCFlags = "-g"
45
+    optCxxFlags = optCFlags  = "-O2"
46
+env.Append(CCFLAGS = baseCFlags)
47
+env.Append(CXXFLAGS = baseCxxFlags)
48
+env.Append(LINKFLAGS = baseLinkFlags)
49
+if env["enableDebug"]:
50
+    env.AppendUnique(CCFLAGS=debugCFlags.split())
51
+    env.AppendUnique(CXXFLAGS=debugCxxFlags.split())
52
+if env["enableOptimize"]:
53
+    env.AppendUnique(CCFLAGS=optCFlags.split())
54
+    env.AppendUnique(CXXFLAGS=optCxxFlags.split())
55
+if not env["enableAsserts"]:
56
+    env.AppendUnique(CPPDEFINES=["-DNDEBUG"])
57
+if env["customCFlags"]:
58
+    env.Append(CCFLAGS=Split(env["customCFlags"]))
59
+if env["customCxxFlags"]:
60
+    env.Append(CXXFLAGS=Split(env["customCxxFlags"]))
61
+if env["customLinkFlags"]:
62
+    env.Append(LINKFLAGS=Split(env["customLinkFlags"]))
63
+
64
+env.Append(CPPPATH=[os.path.join("#", "include"), "common"])
65
+
66
+# Store all signatures in one file, otherwise .sconsign files will get installed along with our own files
67
+env.SConsignFile(os.path.join(sconsDir, ".sconsign"))
68
+
69
+env.SConscriptChdir(False)
70
+sources, sharedLib, staticLib, tests, portEnv, hostApis = env.SConscript(os.path.join("src", "SConscript"),
71
+        build_dir=buildDir, duplicate=False, exports=["env"])
72
+
73
+if Platform in Posix:
74
+    prefix = env["prefix"]
75
+    includeDir = os.path.join(prefix, "include")
76
+    libDir = os.path.join(prefix, "lib")
77
+    env.Alias("install", includeDir)
78
+    env.Alias("install", libDir)
79
+
80
+    # pkg-config
81
+
82
+    def installPkgconfig(env, target, source):
83
+        tgt = str(target[0])
84
+        src = str(source[0])
85
+        f = open(src)
86
+        try: txt = f.read()
87
+        finally: f.close()
88
+        txt = txt.replace("@prefix@", prefix)
89
+        txt = txt.replace("@exec_prefix@", prefix)
90
+        txt = txt.replace("@libdir@", libDir)
91
+        txt = txt.replace("@includedir@", includeDir)
92
+        txt = txt.replace("@LIBS@", " ".join(["-l%s" % l for l in portEnv["LIBS"]]))
93
+        txt = txt.replace("@THREAD_CFLAGS@", threadCFlags)
94
+
95
+        f = open(tgt, "w")
96
+        try: f.write(txt)
97
+        finally: f.close()
98
+
99
+    pkgconfigTgt = "portaudio-%d.0.pc" % int(ApiVer.split(".", 1)[0])
100
+    env.Command(os.path.join(libDir, "pkgconfig", pkgconfigTgt),
101
+        os.path.join("#", pkgconfigTgt + ".in"), installPkgconfig)
102
+
103
+# Default to None, since if the user disables all targets and no Default is set, all targets
104
+# are built by default
105
+env.Default(None)
106
+if env["enableTests"]:
107
+    env.Default(tests)
108
+if env["enableShared"]:
109
+    env.Default(sharedLib)
110
+
111
+    if Platform in Posix:
112
+        def symlink(env, target, source):
113
+            trgt = str(target[0])
114
+            src = str(source[0])
115
+
116
+            if os.path.islink(trgt) or os.path.exists(trgt):
117
+                os.remove(trgt)
118
+            os.symlink(os.path.basename(src), trgt)
119
+
120
+        major, minor, micro = [int(c) for c in ApiVer.split(".")]
121
+        
122
+        soFile = "%s.%s" % (os.path.basename(str(sharedLib[0])), ApiVer)
123
+        env.InstallAs(target=os.path.join(libDir, soFile), source=sharedLib)
124
+        # Install symlinks
125
+        symTrgt = os.path.join(libDir, soFile)
126
+        env.Command(os.path.join(libDir, "libportaudio.so.%d.%d" % (major, minor)),
127
+            symTrgt, symlink)
128
+        symTrgt = rsplit(symTrgt, ".", 1)[0]
129
+        env.Command(os.path.join(libDir, "libportaudio.so.%d" % major), symTrgt, symlink)
130
+        symTrgt = rsplit(symTrgt, ".", 1)[0]
131
+        env.Command(os.path.join(libDir, "libportaudio.so"), symTrgt, symlink)
132
+
133
+if env["enableStatic"]:
134
+    env.Default(staticLib)
135
+    env.Install(libDir, staticLib)
136
+
137
+env.Install(includeDir, os.path.join("include", "portaudio.h"))
138
+
139
+
140
+if env["enableCxx"]:
141
+    env.SConscriptChdir(True)
142
+    cxxEnv = env.Copy()
143
+    sharedLibs, staticLibs, headers = env.SConscript(os.path.join("bindings", "cpp", "SConscript"),
144
+            exports={"env": cxxEnv, "buildDir": buildDir}, build_dir=os.path.join(buildDir, "portaudiocpp"), duplicate=False)
145
+    if env["enableStatic"]:
146
+        env.Default(staticLibs)
147
+        env.Install(libDir, staticLibs)
148
+    if env["enableShared"]:
149
+        env.Default(sharedLibs)
150
+        env.Install(libDir, sharedLibs)
151
+    env.Install(os.path.join(includeDir, "portaudiocpp"), headers)
152
+
153
+# Generate portaudio_config.h header with compile-time definitions of which PA
154
+# back-ends are available, and which includes back-end extension headers
155
+
156
+# Host-specific headers
157
+hostApiHeaders = {"ALSA": "pa_linux_alsa.h",
158
+                    "ASIO": "pa_asio.h",
159
+                    "COREAUDIO": "pa_mac_core.h",
160
+                    "JACK": "pa_jack.h",
161
+                    "WMME": "pa_winwmme.h",
162
+                    }
163
+
164
+def buildConfigH(target, source, env):
165
+    """builder for portaudio_config.h"""
166
+    global hostApiHeaders, hostApis
167
+    out = ""
168
+    for hostApi in hostApis:
169
+        out += "#define PA_HAVE_%s\n" % hostApi
170
+
171
+        hostApiSpecificHeader = hostApiHeaders.get(hostApi, None)
172
+        if hostApiSpecificHeader:
173
+            out += "#include \"%s\"\n" % hostApiSpecificHeader
174
+
175
+        out += "\n"
176
+    # Strip the last newline
177
+    if out and out[-1] == "\n":
178
+        out = out[:-1]
179
+
180
+    f = file(str(target[0]), 'w')
181
+    try: f.write(out)
182
+    finally: f.close()
183
+    return 0
184
+
185
+# Define the builder for the config header
186
+env.Append(BUILDERS={"portaudioConfig": env.Builder(
187
+            action=Action(buildConfigH), target_factory=env.fs.File)})
188
+
189
+confH = env.portaudioConfig(File("portaudio_config.h", "include"),
190
+        File("portaudio.h", "include"))
191
+env.Default(confH)
192
+env.Install(os.path.join(includeDir, "portaudio"), confH)
193
+
194
+for api in hostApis:
195
+    if api in hostApiHeaders:
196
+        env.Install(os.path.join(includeDir, "portaudio"),
197
+                File(hostApiHeaders[api], "include"))

+ 6627
- 0
aclocal.m4
File diff suppressed because it is too large
View File


+ 0
- 0
bindings/cpp/AUTHORS View File


+ 31
- 0
bindings/cpp/COPYING View File

@@ -0,0 +1,31 @@
1
+PortAudio Portable Real-Time Audio Library
2
+Copyright (c) 1999-2006 Ross Bencina and Phil Burk
3
+
4
+Permission is hereby granted, free of charge, to any person obtaining
5
+a copy of this software and associated documentation files
6
+(the "Software"), to deal in the Software without restriction,
7
+including without limitation the rights to use, copy, modify, merge,
8
+publish, distribute, sublicense, and/or sell copies of the Software,
9
+and to permit persons to whom the Software is furnished to do so,
10
+subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be
13
+included in all copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
19
+ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
20
+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+
23
+
24
+The text above constitutes the entire PortAudio license; however, 
25
+the PortAudio community also makes the following non-binding requests:
26
+
27
+Any person wishing to distribute modifications to the Software is
28
+requested to send the modifications to the original developer so that
29
+they can be incorporated into the canonical version. It is also 
30
+requested that these non-binding requests be included along with the 
31
+license above.

+ 178
- 0
bindings/cpp/ChangeLog View File

@@ -0,0 +1,178 @@
1
+Note: Because PortAudioCpp is now in the main PortAudio SVN repository, having these per-release changelogs probably doesn't make much sense anymore. Perhaps it's better to just note mayor changes by date from now on.
2
+
3
+PortAudioCpp v19 revision 16 06/05/22:
4
+
5
+	mblaauw:
6
+	- Added up-to-date MSVC 6.0 projects created by David Moore. Besides MSVC 6.0 users, MSVC 7.0 users may use these projects and automatically convert them to MSVC 7.0 projects.
7
+	- Changed the code and projects (MSVC 7.1 only) to be up-to-date with PortAudio's new directory structure.
8
+	- Added equivalents of the PaAsio_GetInputChannelName() and PaAsio_GetOutputChannelName() functions to the AsioDeviceAdapter wrapper-class (missing functions pointed out by David Moore).
9
+	- Added code to PortAudio's main SVN repository.
10
+
11
+PortAudioCpp v19 revision 15 (unknown release date):
12
+
13
+	mblaauw:
14
+	- Changed some exception handling code in HostApi's constructor.
15
+	- Added accessors to PortAudio PaStream from PortAudioCpp Stream (their absense being pointed out
16
+	by Tom Jordan).
17
+	- Fixed a bug/typo in MemFunToCallbackInterfaceAdapter::init() thanks to Fredrik Viklund.
18
+	- Fixed issue with concrete Stream classes possibly throwing an exception and fixed documentation w.r.t. this.
19
+	- Moved files to portaudio/binding/cpp/. Made new msvc 7.1 projects to reflect the change and removed msvc 6.0 
20
+	and 7.0 projects (because I can no longer maintain them myself). Gnu projects will probably need updating.
21
+
22
+PortAudioCpp v19 revision 14 03/10/24:
23
+
24
+	mblaauw:
25
+	- Fixed some error handling bugs in Stream and System (pointed out by Tom Jordan).
26
+	- Updated documentation a little (main page).
27
+	- Fixed order of members so initializer list was in the right order in 
28
+	StreamParameters (pointed out by Ludwig Schwardt).
29
+	- Added new lines at EOF's (as indicated by Ludwig Schwardt).
30
+
31
+PortAudioCpp v19 revision 13 03/10/19:
32
+
33
+	lschwardt:
34
+	- Added build files for GNU/Linux.
35
+	- Fixed bug in Exception where the inherited what() member function (and destructor) had looser 
36
+	exception specification (namely no exception specification, i.e. could throw anything) than 
37
+	the std::exception base class's what() member function (which had throw(), i.e. no-throw guarantee).
38
+	- Changed the iterators so that they have a set of public typedefs instead of deriving the C++ standard 
39
+	library std::iterator<> struct. G++ 2.95 doesn't support std::exception<> and composition-by-aggregation 
40
+	is prefered over composition-by-inheritance in this case.
41
+	- Changed some minor things to avoid G++ warning messages.
42
+
43
+	mblaauw:
44
+	- Renamed this file (/WHATSNEW.txt) to /CHANGELOG.
45
+	- Renamed /PA_ISSUES.txt to /PA_ISSUES.
46
+	- Added /INSTALL file with some build info for GNU/Linux and VC6.
47
+	- Added MSVC 6.0 projects for building PortAudioCpp as a staticly or dynamically linkable library.
48
+	- Moved build files to /build/(gnu/ or vc6/).
49
+	- Moved Doxygen configuration files to /doc/ and output to /doc/api_reference/.
50
+	- Added a /doc/README with some info how to generate Doxygen documentation.
51
+
52
+PortAudioCpp v19 revision 12 03/09/02:
53
+
54
+	mblaauw:
55
+	- Updated code to reflect changes on V19-devel CVS branch.
56
+	- Fixed some typos in the documentation.
57
+
58
+PortAudioCpp v19 revision 11 03/07/31:
59
+
60
+	mblaauw:
61
+	- Renamed SingleDirecionStreamParameters to DirectionSpecificStreamParameters.
62
+	- Implemented BlockingStream.
63
+	- Updated code to reflect recent changes to PortAudio V19-devel.
64
+	- Fixed a potential memory leak when an exception was thrown in the HostApi 
65
+	constructor.
66
+	- Renamed ``Latency'' to ``BufferSize'' in AsioDeviceAdapter.
67
+	- Updated class documentation.
68
+
69
+PortAudioCpp v19 revision 10 03/07/18:
70
+
71
+	mblaauw:
72
+	- SingleDirectionStreamParameters now has a (static) null() method.
73
+	- StreamParameters uses references for the direction-specific stream parameters 
74
+	instead of pointers (use null() method (above) instead of NULL).
75
+	- StreamParameters and SingleDirectionStreamParameters must now be fully specified 
76
+	and now default values are used (because this was not very useful in general and 
77
+	only made things more complex).
78
+	- Updated documentation.
79
+
80
+PortAudioCpp v19 revision 09 03/06/25:
81
+
82
+	mblaauw:
83
+	- Changed some things in SingleDirectionStreamParameters to ease it's usage.
84
+	- Placed all SingleDirectionStreamParameters stuff into a separate file.
85
+	+ Totally redid the callback stuff, now it's less ackward and supports C++ functions.
86
+
87
+PortAudioCpp v19 revision 08 03/06/20:
88
+
89
+	mblaauw:
90
+	- Made deconstructors for Device and HostApi private.
91
+	+ Added a AsioDeviceWrapper host api specific device extension class.
92
+	- Refactored Exception into a Exception base class and PaException and PaCppException 
93
+	derived classes.
94
+	- Added ASIO specific device info to the devs.cxx example.
95
+	- Fixed a bug in System::hostApiCount() and System::defaultHostApi().
96
+	+ Moved Device::null to System::nullDevice.
97
+	- Fixed some bugs in Device and System.
98
+
99
+PortAudioCpp v19 revision 07 03/06/08:
100
+
101
+	mblaauw:
102
+	- Updated some doxy comments.
103
+	+ Renamed CbXyz to CallbackXyz.
104
+	+ Renamed all ``configurations'' to ``parameters''.
105
+	+ Renamed HalfDuplexStreamConfiguration to SingleDirectionStreamConfiguration.
106
+	- Renamed SingleDirectionStreamParameters::streamParameters() to 
107
+	SingleDirectionStreamParameters::paSteamParameters.
108
+	- Added a non-constant version of SingleDirectionStreamParameters::paStreamParameters().
109
+	- A few improvements to SingleDirectionStreamParameters.
110
+	- Allowed AutoSystem to be created without initializing the System singleton 
111
+	(using a ctor flag).
112
+	- Added a BlockingStream class (not implemented for now).
113
+	- Fixed many bugs in the implementation of the iterators.
114
+	- Fixed a bug in Device::operator==().
115
+	+ Added a C++ version of the patest_sine.c test/example.
116
+	- Added a ctor for StreamParameters for a default half-duplex stream.
117
+	- Added SingleDirectionStreamParameters::setDevice() and setNumChannels().
118
+	- Renamed System::numHostApis() to System::hostApiCount().
119
+	+ Rewrote the iterators and related classes. They are now fully STL compliant. The System now 
120
+	has a static array of all HostApis and all Devices. Only the System can create HostApis and 
121
+	Devices and they are non-copyable now. All HostApis and Devices are now passed by-reference.
122
+	- Renamed (System::) getVersion() to version() and getVersionText() to versionText().
123
+	- Renamed (Device::) numXyzChannels() to maxXyzChannels().
124
+	- Changed some stuff in StreamParameters.
125
+	+ Added a C++ version of the patest_devs.c test/example.
126
+
127
+PortAudioCpp v19 revision 06 03/06/04:
128
+
129
+	mblaauw:
130
+	+ Added this file to the project (roughly, a `+' denotes a major change, a `-' a minor change).
131
+	- Added System::deviceByIndex(), useful when a Device's index is stored for instance.
132
+	- Renamed System::hostApiFromTypeId() to System::hostApiByTypeId().
133
+	- Updated and added some Doxygen documentation.
134
+	- Made Stream::usedIntputLatency(), Stream::usedOutputLatency() and 
135
+	Stream::usedSampleRate() throw an paInternalError equivalent exception instead of paBadStreamPtr.
136
+	- Changed exception handling in Stream::open() functions. They now follow the PA error handling 
137
+	mechanism better and a couple of bugs regarding ownership of objects were fixed.
138
+	- Renamed Device::isDefaultXyzDevice() to Device::isSystemDefaultXyzDevice().
139
+	- Added Device::isHostApiDefaultXyzDevice().
140
+	- Added StreamConfiguration::unsetFlag().
141
+	- Removed CUSTOM from SampleDataFormat.
142
+	- System::hostApiByTypeId() now throws an paInternalError if the type id was out-of-range; this 
143
+	is a temporary work-around (see comments).
144
+	- Changed CbInterface to use paCallbackFun() instead of operator()().
145
+	- Renamed ``object'' to ``instance'' in CbMemFunAdapter.hxx.
146
+	- Added StreamConfiguration::setXyzHostApiSpecificSampleFormat().
147
+	- Added StreamConfiguration::isXyzSampleFormatHostApiSpecific().
148
+	- Changed error handling in System::terminate(), it can now throw an Exception.
149
+	- Added error handling in System::defaultHostApi().
150
+	- Added error handling in System::hostApisEnd().
151
+	- Changed some (but probably not all) C casts to C++ casts to avoid confusion with a 
152
+	certain Python person.
153
+	- Renamed RaiiSystem to AutoSystem (class and file) as this is a come common convention.
154
+	- Renamed System::numDevices() to System::deviceCount() to be more compatible with PortAudio 
155
+	(although PortAudio uses Pa_CountDevices() instead, see comment).
156
+	- Renamed HostApi::numDevices() to HostApi::deviceCount().
157
+	- Changed INC_ to INCLUDED_ in the header multiple include guards.
158
+	- Changed the order of functions in the StreamConfiguration class' header.
159
+	- Written some more info in PortAudioCpp.hxx (Doxygen).
160
+	- Added CallbackStream.hxx and CallbackStream.cxx files.
161
+	+ Refactored StreamConfiguration to remove the duplication which was there. There is now a 
162
+	HalfDuplexStreamConfiguration class. Also made some improvements to these classes while 
163
+	doing the refactoring.
164
+	+ Moved all code files to source/portaudiocpp/ and changed includes.
165
+	+ Moved all header files to include/portaudiocpp/ to easy a binary build if needed. The project 
166
+	must be set to have .../include/ as a path to look for includes.
167
+	+ Refactored the Stream class into a Stream base class and a CallbackStream derived class.
168
+	- Renamed Stream::usingXyz() to Stream::xyz().
169
+	- Updated some doxy comments.
170
+	- Changed ``using namespace portaudio'' in .cxx files to ``namespace portaudio { ... }''.
171
+
172
+PortAudioCpp v19 revision 05 03/04/09:
173
+
174
+	mblaauw:
175
+	- Initial release on the PortAudio mailinglist.
176
+
177
+
178
+

+ 236
- 0
bindings/cpp/INSTALL View File

@@ -0,0 +1,236 @@
1
+Installation Instructions
2
+*************************
3
+
4
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
5
+Software Foundation, Inc.
6
+
7
+This file is free documentation; the Free Software Foundation gives
8
+unlimited permission to copy, distribute and modify it.
9
+
10
+Basic Installation
11
+==================
12
+
13
+These are generic installation instructions.
14
+
15
+   The `configure' shell script attempts to guess correct values for
16
+various system-dependent variables used during compilation.  It uses
17
+those values to create a `Makefile' in each directory of the package.
18
+It may also create one or more `.h' files containing system-dependent
19
+definitions.  Finally, it creates a shell script `config.status' that
20
+you can run in the future to recreate the current configuration, and a
21
+file `config.log' containing compiler output (useful mainly for
22
+debugging `configure').
23
+
24
+   It can also use an optional file (typically called `config.cache'
25
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
26
+the results of its tests to speed up reconfiguring.  (Caching is
27
+disabled by default to prevent problems with accidental use of stale
28
+cache files.)
29
+
30
+   If you need to do unusual things to compile the package, please try
31
+to figure out how `configure' could check whether to do them, and mail
32
+diffs or instructions to the address given in the `README' so they can
33
+be considered for the next release.  If you are using the cache, and at
34
+some point `config.cache' contains results you don't want to keep, you
35
+may remove or edit it.
36
+
37
+   The file `configure.ac' (or `configure.in') is used to create
38
+`configure' by a program called `autoconf'.  You only need
39
+`configure.ac' if you want to change it or regenerate `configure' using
40
+a newer version of `autoconf'.
41
+
42
+The simplest way to compile this package is:
43
+
44
+  1. `cd' to the directory containing the package's source code and type
45
+     `./configure' to configure the package for your system.  If you're
46
+     using `csh' on an old version of System V, you might need to type
47
+     `sh ./configure' instead to prevent `csh' from trying to execute
48
+     `configure' itself.
49
+
50
+     Running `configure' takes awhile.  While running, it prints some
51
+     messages telling which features it is checking for.
52
+
53
+  2. Type `make' to compile the package.
54
+
55
+  3. Optionally, type `make check' to run any self-tests that come with
56
+     the package.
57
+
58
+  4. Type `make install' to install the programs and any data files and
59
+     documentation.
60
+
61
+  5. You can remove the program binaries and object files from the
62
+     source code directory by typing `make clean'.  To also remove the
63
+     files that `configure' created (so you can compile the package for
64
+     a different kind of computer), type `make distclean'.  There is
65
+     also a `make maintainer-clean' target, but that is intended mainly
66
+     for the package's developers.  If you use it, you may have to get
67
+     all sorts of other programs in order to regenerate files that came
68
+     with the distribution.
69
+
70
+Compilers and Options
71
+=====================
72
+
73
+Some systems require unusual options for compilation or linking that the
74
+`configure' script does not know about.  Run `./configure --help' for
75
+details on some of the pertinent environment variables.
76
+
77
+   You can give `configure' initial values for configuration parameters
78
+by setting variables in the command line or in the environment.  Here
79
+is an example:
80
+
81
+     ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
82
+
83
+   *Note Defining Variables::, for more details.
84
+
85
+Compiling For Multiple Architectures
86
+====================================
87
+
88
+You can compile the package for more than one kind of computer at the
89
+same time, by placing the object files for each architecture in their
90
+own directory.  To do this, you must use a version of `make' that
91
+supports the `VPATH' variable, such as GNU `make'.  `cd' to the
92
+directory where you want the object files and executables to go and run
93
+the `configure' script.  `configure' automatically checks for the
94
+source code in the directory that `configure' is in and in `..'.
95
+
96
+   If you have to use a `make' that does not support the `VPATH'
97
+variable, you have to compile the package for one architecture at a
98
+time in the source code directory.  After you have installed the
99
+package for one architecture, use `make distclean' before reconfiguring
100
+for another architecture.
101
+
102
+Installation Names
103
+==================
104
+
105
+By default, `make install' installs the package's commands under
106
+`/usr/local/bin', include files under `/usr/local/include', etc.  You
107
+can specify an installation prefix other than `/usr/local' by giving
108
+`configure' the option `--prefix=PREFIX'.
109
+
110
+   You can specify separate installation prefixes for
111
+architecture-specific files and architecture-independent files.  If you
112
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
113
+PREFIX as the prefix for installing programs and libraries.
114
+Documentation and other data files still use the regular prefix.
115
+
116
+   In addition, if you use an unusual directory layout you can give
117
+options like `--bindir=DIR' to specify different values for particular
118
+kinds of files.  Run `configure --help' for a list of the directories
119
+you can set and what kinds of files go in them.
120
+
121
+   If the package supports it, you can cause programs to be installed
122
+with an extra prefix or suffix on their names by giving `configure' the
123
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
124
+
125
+Optional Features
126
+=================
127
+
128
+Some packages pay attention to `--enable-FEATURE' options to
129
+`configure', where FEATURE indicates an optional part of the package.
130
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
131
+is something like `gnu-as' or `x' (for the X Window System).  The
132
+`README' should mention any `--enable-' and `--with-' options that the
133
+package recognizes.
134
+
135
+   For packages that use the X Window System, `configure' can usually
136
+find the X include and library files automatically, but if it doesn't,
137
+you can use the `configure' options `--x-includes=DIR' and
138
+`--x-libraries=DIR' to specify their locations.
139
+
140
+Specifying the System Type
141
+==========================
142
+
143
+There may be some features `configure' cannot figure out automatically,
144
+but needs to determine by the type of machine the package will run on.
145
+Usually, assuming the package is built to be run on the _same_
146
+architectures, `configure' can figure that out, but if it prints a
147
+message saying it cannot guess the machine type, give it the
148
+`--build=TYPE' option.  TYPE can either be a short name for the system
149
+type, such as `sun4', or a canonical name which has the form:
150
+
151
+     CPU-COMPANY-SYSTEM
152
+
153
+where SYSTEM can have one of these forms:
154
+
155
+     OS KERNEL-OS
156
+
157
+   See the file `config.sub' for the possible values of each field.  If
158
+`config.sub' isn't included in this package, then this package doesn't
159
+need to know the machine type.
160
+
161
+   If you are _building_ compiler tools for cross-compiling, you should
162
+use the option `--target=TYPE' to select the type of system they will
163
+produce code for.
164
+
165
+   If you want to _use_ a cross compiler, that generates code for a
166
+platform different from the build platform, you should specify the
167
+"host" platform (i.e., that on which the generated programs will
168
+eventually be run) with `--host=TYPE'.
169
+
170
+Sharing Defaults
171
+================
172
+
173
+If you want to set default values for `configure' scripts to share, you
174
+can create a site shell script called `config.site' that gives default
175
+values for variables like `CC', `cache_file', and `prefix'.
176
+`configure' looks for `PREFIX/share/config.site' if it exists, then
177
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
178
+`CONFIG_SITE' environment variable to the location of the site script.
179
+A warning: not all `configure' scripts look for a site script.
180
+
181
+Defining Variables
182
+==================
183
+
184
+Variables not defined in a site shell script can be set in the
185
+environment passed to `configure'.  However, some packages may run
186
+configure again during the build, and the customized values of these
187
+variables may be lost.  In order to avoid this problem, you should set
188
+them in the `configure' command line, using `VAR=value'.  For example:
189
+
190
+     ./configure CC=/usr/local2/bin/gcc
191
+
192
+causes the specified `gcc' to be used as the C compiler (unless it is
193
+overridden in the site shell script).  Here is a another example:
194
+
195
+     /bin/bash ./configure CONFIG_SHELL=/bin/bash
196
+
197
+Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
198
+configuration-related scripts to be executed by `/bin/bash'.
199
+
200
+`configure' Invocation
201
+======================
202
+
203
+`configure' recognizes the following options to control how it operates.
204
+
205
+`--help'
206
+`-h'
207
+     Print a summary of the options to `configure', and exit.
208
+
209
+`--version'
210
+`-V'
211
+     Print the version of Autoconf used to generate the `configure'
212
+     script, and exit.
213
+
214
+`--cache-file=FILE'
215
+     Enable the cache: use and save the results of the tests in FILE,
216
+     traditionally `config.cache'.  FILE defaults to `/dev/null' to
217
+     disable caching.
218
+
219
+`--config-cache'
220
+`-C'
221
+     Alias for `--cache-file=config.cache'.
222
+
223
+`--quiet'
224
+`--silent'
225
+`-q'
226
+     Do not print messages saying which checks are being made.  To
227
+     suppress all normal output, redirect it to `/dev/null' (any error
228
+     messages will still be shown).
229
+
230
+`--srcdir=DIR'
231
+     Look for the package's source code in directory DIR.  Usually
232
+     `configure' can determine that directory automatically.
233
+
234
+`configure' also accepts some other, not widely useful, options.  Run
235
+`configure --help' for more details.
236
+

+ 7
- 0
bindings/cpp/Makefile.am View File

@@ -0,0 +1,7 @@
1
+SUBDIRS = lib include bin 
2
+#doc
3
+
4
+EXTRA_DIST = portaudiocpp.pc
5
+
6
+pkgconfigdir = $(libdir)/pkgconfig
7
+pkgconfig_DATA = portaudiocpp.pc

+ 642
- 0
bindings/cpp/Makefile.in View File

@@ -0,0 +1,642 @@
1
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
+# @configure_input@
3
+
4
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+# 2003, 2004, 2005  Free Software Foundation, Inc.
6
+# This Makefile.in is free software; the Free Software Foundation
7
+# gives unlimited permission to copy and/or distribute it,
8
+# with or without modifications, as long as this notice is preserved.
9
+
10
+# This program is distributed in the hope that it will be useful,
11
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
+# PARTICULAR PURPOSE.
14
+
15
+@SET_MAKE@
16
+
17
+srcdir = @srcdir@
18
+top_srcdir = @top_srcdir@
19
+VPATH = @srcdir@
20
+pkgdatadir = $(datadir)/@PACKAGE@
21
+pkglibdir = $(libdir)/@PACKAGE@
22
+pkgincludedir = $(includedir)/@PACKAGE@
23
+top_builddir = .
24
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
+INSTALL = @INSTALL@
26
+install_sh_DATA = $(install_sh) -c -m 644
27
+install_sh_PROGRAM = $(install_sh) -c
28
+install_sh_SCRIPT = $(install_sh) -c
29
+INSTALL_HEADER = $(INSTALL_DATA)
30
+transform = $(program_transform_name)
31
+NORMAL_INSTALL = :
32
+PRE_INSTALL = :
33
+POST_INSTALL = :
34
+NORMAL_UNINSTALL = :
35
+PRE_UNINSTALL = :
36
+POST_UNINSTALL = :
37
+build_triplet = @build@
38
+host_triplet = @host@
39
+DIST_COMMON = README $(am__configure_deps) \
40
+	$(srcdir)/../../config.guess $(srcdir)/../../config.sub \
41
+	$(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \
42
+	$(srcdir)/../../missing $(srcdir)/Makefile.am \
43
+	$(srcdir)/Makefile.in $(srcdir)/portaudiocpp.pc.in \
44
+	$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS
45
+subdir = .
46
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
47
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
48
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49
+	$(ACLOCAL_M4)
50
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
51
+ configure.lineno configure.status.lineno
52
+mkinstalldirs = $(install_sh) -d
53
+CONFIG_CLEAN_FILES = portaudiocpp.pc
54
+SOURCES =
55
+DIST_SOURCES =
56
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
57
+	html-recursive info-recursive install-data-recursive \
58
+	install-exec-recursive install-info-recursive \
59
+	install-recursive installcheck-recursive installdirs-recursive \
60
+	pdf-recursive ps-recursive uninstall-info-recursive \
61
+	uninstall-recursive
62
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
63
+am__vpath_adj = case $$p in \
64
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
65
+    *) f=$$p;; \
66
+  esac;
67
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
68
+am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
69
+pkgconfigDATA_INSTALL = $(INSTALL_DATA)
70
+DATA = $(pkgconfig_DATA)
71
+ETAGS = etags
72
+CTAGS = ctags
73
+DIST_SUBDIRS = $(SUBDIRS)
74
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
75
+distdir = $(PACKAGE)-$(VERSION)
76
+top_distdir = $(distdir)
77
+am__remove_distdir = \
78
+  { test ! -d $(distdir) \
79
+    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
80
+         && rm -fr $(distdir); }; }
81
+DIST_ARCHIVES = $(distdir).tar.gz
82
+GZIP_ENV = --best
83
+distuninstallcheck_listfiles = find . -type f -print
84
+distcleancheck_listfiles = find . -type f -print
85
+ACLOCAL = @ACLOCAL@
86
+AMDEP_FALSE = @AMDEP_FALSE@
87
+AMDEP_TRUE = @AMDEP_TRUE@
88
+AMTAR = @AMTAR@
89
+AR = @AR@
90
+AS = @AS@
91
+AUTOCONF = @AUTOCONF@
92
+AUTOHEADER = @AUTOHEADER@
93
+AUTOMAKE = @AUTOMAKE@
94
+AWK = @AWK@
95
+CC = @CC@
96
+CCDEPMODE = @CCDEPMODE@
97
+CFLAGS = @CFLAGS@
98
+CPP = @CPP@
99
+CPPFLAGS = @CPPFLAGS@
100
+CXX = @CXX@
101
+CXXCPP = @CXXCPP@
102
+CXXDEPMODE = @CXXDEPMODE@
103
+CXXFLAGS = @CXXFLAGS@
104
+CYGPATH_W = @CYGPATH_W@
105
+DEFAULT_INCLUDES = @DEFAULT_INCLUDES@
106
+DEFS = @DEFS@
107
+DEPDIR = @DEPDIR@
108
+DLLTOOL = @DLLTOOL@
109
+ECHO = @ECHO@
110
+ECHO_C = @ECHO_C@
111
+ECHO_N = @ECHO_N@
112
+ECHO_T = @ECHO_T@
113
+EGREP = @EGREP@
114
+EXEEXT = @EXEEXT@
115
+F77 = @F77@
116
+FFLAGS = @FFLAGS@
117
+GREP = @GREP@
118
+INSTALL_DATA = @INSTALL_DATA@
119
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
120
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
121
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
122
+LDFLAGS = @LDFLAGS@
123
+LIBOBJS = @LIBOBJS@
124
+LIBS = @LIBS@
125
+LIBTOOL = @LIBTOOL@
126
+LN_S = @LN_S@
127
+LTLIBOBJS = @LTLIBOBJS@
128
+LT_VERSION_INFO = @LT_VERSION_INFO@
129
+MAINT = @MAINT@
130
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
131
+MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
132
+MAKEINFO = @MAKEINFO@
133
+OBJDUMP = @OBJDUMP@
134
+OBJEXT = @OBJEXT@
135
+PACKAGE = @PACKAGE@
136
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
137
+PACKAGE_NAME = @PACKAGE_NAME@
138
+PACKAGE_STRING = @PACKAGE_STRING@
139
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
140
+PACKAGE_VERSION = @PACKAGE_VERSION@
141
+PATH_SEPARATOR = @PATH_SEPARATOR@
142
+PORTAUDIO_ROOT = @PORTAUDIO_ROOT@
143
+RANLIB = @RANLIB@
144
+SET_MAKE = @SET_MAKE@
145
+SHELL = @SHELL@
146
+STRIP = @STRIP@
147
+VERSION = @VERSION@
148
+ac_ct_CC = @ac_ct_CC@
149
+ac_ct_CXX = @ac_ct_CXX@
150
+ac_ct_F77 = @ac_ct_F77@
151
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
152
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
153
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
154
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
155
+am__include = @am__include@
156
+am__leading_dot = @am__leading_dot@
157
+am__quote = @am__quote@
158
+am__tar = @am__tar@
159
+am__untar = @am__untar@
160
+bindir = @bindir@
161
+build = @build@
162
+build_alias = @build_alias@
163
+build_cpu = @build_cpu@
164
+build_os = @build_os@
165
+build_vendor = @build_vendor@
166
+datadir = @datadir@
167
+datarootdir = @datarootdir@
168
+docdir = @docdir@
169
+dvidir = @dvidir@
170
+exec_prefix = @exec_prefix@
171
+host = @host@
172
+host_alias = @host_alias@
173
+host_cpu = @host_cpu@
174
+host_os = @host_os@
175
+host_vendor = @host_vendor@
176
+htmldir = @htmldir@
177
+includedir = @includedir@
178
+infodir = @infodir@
179
+install_sh = @install_sh@
180
+libdir = @libdir@
181
+libexecdir = @libexecdir@
182
+localedir = @localedir@
183
+localstatedir = @localstatedir@
184
+mandir = @mandir@
185
+mkdir_p = @mkdir_p@
186
+oldincludedir = @oldincludedir@
187
+pdfdir = @pdfdir@
188
+prefix = @prefix@
189
+program_transform_name = @program_transform_name@
190
+psdir = @psdir@
191
+sbindir = @sbindir@
192
+sharedstatedir = @sharedstatedir@
193
+sysconfdir = @sysconfdir@
194
+target_alias = @target_alias@
195
+SUBDIRS = lib include bin 
196
+#doc
197
+EXTRA_DIST = portaudiocpp.pc
198
+pkgconfigdir = $(libdir)/pkgconfig
199
+pkgconfig_DATA = portaudiocpp.pc
200
+all: all-recursive
201
+
202
+.SUFFIXES:
203
+am--refresh:
204
+	@:
205
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
206
+	@for dep in $?; do \
207
+	  case '$(am__configure_deps)' in \
208
+	    *$$dep*) \
209
+	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
210
+	      cd $(srcdir) && $(AUTOMAKE) --gnu  \
211
+		&& exit 0; \
212
+	      exit 1;; \
213
+	  esac; \
214
+	done; \
215
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
216
+	cd $(top_srcdir) && \
217
+	  $(AUTOMAKE) --gnu  Makefile
218
+.PRECIOUS: Makefile
219
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
220
+	@case '$?' in \
221
+	  *config.status*) \
222
+	    echo ' $(SHELL) ./config.status'; \
223
+	    $(SHELL) ./config.status;; \
224
+	  *) \
225
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
226
+	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
227
+	esac;
228
+
229
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
230
+	$(SHELL) ./config.status --recheck
231
+
232
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
233
+	cd $(srcdir) && $(AUTOCONF)
234
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
235
+	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
236
+portaudiocpp.pc: $(top_builddir)/config.status $(srcdir)/portaudiocpp.pc.in
237
+	cd $(top_builddir) && $(SHELL) ./config.status $@
238
+
239
+mostlyclean-libtool:
240
+	-rm -f *.lo
241
+
242
+clean-libtool:
243
+	-rm -rf .libs _libs
244
+
245
+distclean-libtool:
246
+	-rm -f libtool
247
+uninstall-info-am:
248
+install-pkgconfigDATA: $(pkgconfig_DATA)
249
+	@$(NORMAL_INSTALL)
250
+	test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"
251
+	@list='$(pkgconfig_DATA)'; for p in $$list; do \
252
+	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
253
+	  f=$(am__strip_dir) \
254
+	  echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
255
+	  $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
256
+	done
257
+
258
+uninstall-pkgconfigDATA:
259
+	@$(NORMAL_UNINSTALL)
260
+	@list='$(pkgconfig_DATA)'; for p in $$list; do \
261
+	  f=$(am__strip_dir) \
262
+	  echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
263
+	  rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
264
+	done
265
+
266
+# This directory's subdirectories are mostly independent; you can cd
267
+# into them and run `make' without going through this Makefile.
268
+# To change the values of `make' variables: instead of editing Makefiles,
269
+# (1) if the variable is set in `config.status', edit `config.status'
270
+#     (which will cause the Makefiles to be regenerated when you run `make');
271
+# (2) otherwise, pass the desired values on the `make' command line.
272
+$(RECURSIVE_TARGETS):
273
+	@failcom='exit 1'; \
274
+	for f in x $$MAKEFLAGS; do \
275
+	  case $$f in \
276
+	    *=* | --[!k]*);; \
277
+	    *k*) failcom='fail=yes';; \
278
+	  esac; \
279
+	done; \
280
+	dot_seen=no; \
281
+	target=`echo $@ | sed s/-recursive//`; \
282
+	list='$(SUBDIRS)'; for subdir in $$list; do \
283
+	  echo "Making $$target in $$subdir"; \
284
+	  if test "$$subdir" = "."; then \
285
+	    dot_seen=yes; \
286
+	    local_target="$$target-am"; \
287
+	  else \
288
+	    local_target="$$target"; \
289
+	  fi; \
290
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
291
+	  || eval $$failcom; \
292
+	done; \
293
+	if test "$$dot_seen" = "no"; then \
294
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
295
+	fi; test -z "$$fail"
296
+
297
+mostlyclean-recursive clean-recursive distclean-recursive \
298
+maintainer-clean-recursive:
299
+	@failcom='exit 1'; \
300
+	for f in x $$MAKEFLAGS; do \
301
+	  case $$f in \
302
+	    *=* | --[!k]*);; \
303
+	    *k*) failcom='fail=yes';; \
304
+	  esac; \
305
+	done; \
306
+	dot_seen=no; \
307
+	case "$@" in \
308
+	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
309
+	  *) list='$(SUBDIRS)' ;; \
310
+	esac; \
311
+	rev=''; for subdir in $$list; do \
312
+	  if test "$$subdir" = "."; then :; else \
313
+	    rev="$$subdir $$rev"; \
314
+	  fi; \
315
+	done; \
316
+	rev="$$rev ."; \
317
+	target=`echo $@ | sed s/-recursive//`; \
318
+	for subdir in $$rev; do \
319
+	  echo "Making $$target in $$subdir"; \
320
+	  if test "$$subdir" = "."; then \
321
+	    local_target="$$target-am"; \
322
+	  else \
323
+	    local_target="$$target"; \
324
+	  fi; \
325
+	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
326
+	  || eval $$failcom; \
327
+	done && test -z "$$fail"
328
+tags-recursive:
329
+	list='$(SUBDIRS)'; for subdir in $$list; do \
330
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
331
+	done
332
+ctags-recursive:
333
+	list='$(SUBDIRS)'; for subdir in $$list; do \
334
+	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
335
+	done
336
+
337
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
338
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
339
+	unique=`for i in $$list; do \
340
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
341
+	  done | \
342
+	  $(AWK) '    { files[$$0] = 1; } \
343
+	       END { for (i in files) print i; }'`; \
344
+	mkid -fID $$unique
345
+tags: TAGS
346
+
347
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
348
+		$(TAGS_FILES) $(LISP)
349
+	tags=; \
350
+	here=`pwd`; \
351
+	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
352
+	  include_option=--etags-include; \
353
+	  empty_fix=.; \
354
+	else \
355
+	  include_option=--include; \
356
+	  empty_fix=; \
357
+	fi; \
358
+	list='$(SUBDIRS)'; for subdir in $$list; do \
359
+	  if test "$$subdir" = .; then :; else \
360
+	    test ! -f $$subdir/TAGS || \
361
+	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
362
+	  fi; \
363
+	done; \
364
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
365
+	unique=`for i in $$list; do \
366
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
367
+	  done | \
368
+	  $(AWK) '    { files[$$0] = 1; } \
369
+	       END { for (i in files) print i; }'`; \
370
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
371
+	  test -n "$$unique" || unique=$$empty_fix; \
372
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
373
+	    $$tags $$unique; \
374
+	fi
375
+ctags: CTAGS
376
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
377
+		$(TAGS_FILES) $(LISP)
378
+	tags=; \
379
+	here=`pwd`; \
380
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
381
+	unique=`for i in $$list; do \
382
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
383
+	  done | \
384
+	  $(AWK) '    { files[$$0] = 1; } \
385
+	       END { for (i in files) print i; }'`; \
386
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
387
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
388
+	     $$tags $$unique
389
+
390
+GTAGS:
391
+	here=`$(am__cd) $(top_builddir) && pwd` \
392
+	  && cd $(top_srcdir) \
393
+	  && gtags -i $(GTAGS_ARGS) $$here
394
+
395
+distclean-tags:
396
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
397
+
398
+distdir: $(DISTFILES)
399
+	$(am__remove_distdir)
400
+	mkdir $(distdir)
401
+	$(mkdir_p) $(distdir)/. $(distdir)/../..
402
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
403
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
404
+	list='$(DISTFILES)'; for file in $$list; do \
405
+	  case $$file in \
406
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
407
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
408
+	  esac; \
409
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
410
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
411
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
412
+	    dir="/$$dir"; \
413
+	    $(mkdir_p) "$(distdir)$$dir"; \
414
+	  else \
415
+	    dir=''; \
416
+	  fi; \
417
+	  if test -d $$d/$$file; then \
418
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
419
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
420
+	    fi; \
421
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
422
+	  else \
423
+	    test -f $(distdir)/$$file \
424
+	    || cp -p $$d/$$file $(distdir)/$$file \
425
+	    || exit 1; \
426
+	  fi; \
427
+	done
428
+	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
429
+	  if test "$$subdir" = .; then :; else \
430
+	    test -d "$(distdir)/$$subdir" \
431
+	    || $(mkdir_p) "$(distdir)/$$subdir" \
432
+	    || exit 1; \
433
+	    distdir=`$(am__cd) $(distdir) && pwd`; \
434
+	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
435
+	    (cd $$subdir && \
436
+	      $(MAKE) $(AM_MAKEFLAGS) \
437
+	        top_distdir="$$top_distdir" \
438
+	        distdir="$$distdir/$$subdir" \
439
+	        distdir) \
440
+	      || exit 1; \
441
+	  fi; \
442
+	done
443
+	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
444
+	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
445
+	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
446
+	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
447
+	|| chmod -R a+r $(distdir)
448
+dist-gzip: distdir
449
+	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
450
+	$(am__remove_distdir)
451
+
452
+dist-bzip2: distdir
453
+	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
454
+	$(am__remove_distdir)
455
+
456
+dist-tarZ: distdir
457
+	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
458
+	$(am__remove_distdir)
459
+
460
+dist-shar: distdir
461
+	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
462
+	$(am__remove_distdir)
463
+
464
+dist-zip: distdir
465
+	-rm -f $(distdir).zip
466
+	zip -rq $(distdir).zip $(distdir)
467
+	$(am__remove_distdir)
468
+
469
+dist dist-all: distdir
470
+	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
471
+	$(am__remove_distdir)
472
+
473
+# This target untars the dist file and tries a VPATH configuration.  Then
474
+# it guarantees that the distribution is self-contained by making another
475
+# tarfile.
476
+distcheck: dist
477
+	case '$(DIST_ARCHIVES)' in \
478
+	*.tar.gz*) \
479
+	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
480
+	*.tar.bz2*) \
481
+	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
482
+	*.tar.Z*) \
483
+	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
484
+	*.shar.gz*) \
485
+	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
486
+	*.zip*) \
487
+	  unzip $(distdir).zip ;;\
488
+	esac
489
+	chmod -R a-w $(distdir); chmod a+w $(distdir)
490
+	mkdir $(distdir)/_build
491
+	mkdir $(distdir)/_inst
492
+	chmod a-w $(distdir)
493
+	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
494
+	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
495
+	  && cd $(distdir)/_build \
496
+	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
497
+	    $(DISTCHECK_CONFIGURE_FLAGS) \
498
+	  && $(MAKE) $(AM_MAKEFLAGS) \
499
+	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
500
+	  && $(MAKE) $(AM_MAKEFLAGS) check \
501
+	  && $(MAKE) $(AM_MAKEFLAGS) install \
502
+	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
503
+	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
504
+	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
505
+	        distuninstallcheck \
506
+	  && chmod -R a-w "$$dc_install_base" \
507
+	  && ({ \
508
+	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
509
+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
510
+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
511
+	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
512
+	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
513
+	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
514
+	  && rm -rf "$$dc_destdir" \
515
+	  && $(MAKE) $(AM_MAKEFLAGS) dist \
516
+	  && rm -rf $(DIST_ARCHIVES) \
517
+	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
518
+	$(am__remove_distdir)
519
+	@(echo "$(distdir) archives ready for distribution: "; \
520
+	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
521
+	  sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
522
+distuninstallcheck:
523
+	@cd $(distuninstallcheck_dir) \
524
+	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
525
+	   || { echo "ERROR: files left after uninstall:" ; \
526
+	        if test -n "$(DESTDIR)"; then \
527
+	          echo "  (check DESTDIR support)"; \
528
+	        fi ; \
529
+	        $(distuninstallcheck_listfiles) ; \
530
+	        exit 1; } >&2
531
+distcleancheck: distclean
532
+	@if test '$(srcdir)' = . ; then \
533
+	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
534
+	  exit 1 ; \
535
+	fi
536
+	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
537
+	  || { echo "ERROR: files left in build directory after distclean:" ; \
538
+	       $(distcleancheck_listfiles) ; \
539
+	       exit 1; } >&2
540
+check-am: all-am
541
+check: check-recursive
542
+all-am: Makefile $(DATA)
543
+installdirs: installdirs-recursive
544
+installdirs-am:
545
+	for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
546
+	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
547
+	done
548
+install: install-recursive
549
+install-exec: install-exec-recursive
550
+install-data: install-data-recursive
551
+uninstall: uninstall-recursive
552
+
553
+install-am: all-am
554
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
555
+
556
+installcheck: installcheck-recursive
557
+install-strip:
558
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
559
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
560
+	  `test -z '$(STRIP)' || \
561
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
562
+mostlyclean-generic:
563
+
564
+clean-generic:
565
+
566
+distclean-generic:
567
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
568
+
569
+maintainer-clean-generic:
570
+	@echo "This command is intended for maintainers to use"
571
+	@echo "it deletes files that may require special tools to rebuild."
572
+clean: clean-recursive
573
+
574
+clean-am: clean-generic clean-libtool mostlyclean-am
575
+
576
+distclean: distclean-recursive
577
+	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
578
+	-rm -f Makefile
579
+distclean-am: clean-am distclean-generic distclean-libtool \
580
+	distclean-tags
581
+
582
+dvi: dvi-recursive
583
+
584
+dvi-am:
585
+
586
+html: html-recursive
587
+
588
+info: info-recursive
589
+
590
+info-am:
591
+
592
+install-data-am: install-pkgconfigDATA
593
+
594
+install-exec-am:
595
+
596
+install-info: install-info-recursive
597
+
598
+install-man:
599
+
600
+installcheck-am:
601
+
602
+maintainer-clean: maintainer-clean-recursive
603
+	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
604
+	-rm -rf $(top_srcdir)/autom4te.cache
605
+	-rm -f Makefile
606
+maintainer-clean-am: distclean-am maintainer-clean-generic
607
+
608
+mostlyclean: mostlyclean-recursive
609
+
610
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
611
+
612
+pdf: pdf-recursive
613
+
614
+pdf-am:
615
+
616
+ps: ps-recursive
617
+
618
+ps-am:
619
+
620
+uninstall-am: uninstall-info-am uninstall-pkgconfigDATA
621
+
622
+uninstall-info: uninstall-info-recursive
623
+
624
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
625
+	check-am clean clean-generic clean-libtool clean-recursive \
626
+	ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
627
+	dist-shar dist-tarZ dist-zip distcheck distclean \
628
+	distclean-generic distclean-libtool distclean-recursive \
629
+	distclean-tags distcleancheck distdir distuninstallcheck dvi \
630
+	dvi-am html html-am info info-am install install-am \
631
+	install-data install-data-am install-exec install-exec-am \
632
+	install-info install-info-am install-man install-pkgconfigDATA \
633
+	install-strip installcheck installcheck-am installdirs \
634
+	installdirs-am maintainer-clean maintainer-clean-generic \
635
+	maintainer-clean-recursive mostlyclean mostlyclean-generic \
636
+	mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
637
+	tags tags-recursive uninstall uninstall-am uninstall-info-am \
638
+	uninstall-pkgconfigDATA
639
+
640
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
641
+# Otherwise a system limit (for SysV at least) may be exceeded.
642
+.NOEXPORT:

+ 0
- 0
bindings/cpp/NEWS View File


+ 0
- 0
bindings/cpp/README View File


+ 65
- 0
bindings/cpp/SConscript View File

@@ -0,0 +1,65 @@
1
+import os.path
2
+
3
+Import("env", "buildDir")
4
+env.Append(CPPPATH="include")
5
+
6
+ApiVer = "0.0.12"
7
+Major, Minor, Micro = [int(c) for c in ApiVer.split(".")]
8
+
9
+sharedLibs = []
10
+staticLibs = []
11
+Import("Platform", "Posix")
12
+if Platform in Posix:
13
+    env["SHLIBSUFFIX"] = ".so.%d.%d.%d" % (Major, Minor, Micro)
14
+    soFile = "libportaudiocpp.so"
15
+    if Platform != 'darwin':
16
+        env.AppendUnique(SHLINKFLAGS="-Wl,-soname=%s.%d" % (soFile, Major))
17
+
18
+    # Create symlinks
19
+    def symlink(env, target, source):
20
+        trgt = str(target[0])
21
+        src = str(source[0])
22
+        if os.path.islink(trgt) or os.path.exists(trgt):
23
+            os.remove(trgt)
24
+        os.symlink(os.path.basename(src), trgt)
25
+    lnk0 = env.Command(soFile + ".%d" % (Major), soFile + ".%d.%d.%d" % (Major, Minor, Micro), symlink)
26
+    lnk1 = env.Command(soFile, soFile + ".%d" % (Major), symlink)
27
+    sharedLibs.append(lnk0)
28
+    sharedLibs.append(lnk1)
29
+
30
+src = [os.path.join("source", "portaudiocpp", "%s.cxx" % f) for f in ("BlockingStream", "CallbackInterface", \
31
+    "CallbackStream", "CFunCallbackStream","CppFunCallbackStream", "Device",
32
+    "DirectionSpecificStreamParameters", "Exception", "HostApi", "InterfaceCallbackStream",
33
+    "MemFunCallbackStream", "Stream", "StreamParameters", "System", "SystemDeviceIterator",
34
+    "SystemHostApiIterator")]
35
+env.Append(LIBS="portaudio", LIBPATH=buildDir)
36
+sharedLib = env.SharedLibrary("portaudiocpp", src, LIBS=["portaudio"])
37
+staticLib = env.Library("portaudiocpp", src, LIBS=["portaudio"])
38
+sharedLibs.append(sharedLib)
39
+staticLibs.append(staticLib)
40
+
41
+headers = Split("""AutoSystem.hxx                         
42
+                   BlockingStream.hxx                     
43
+                   CallbackInterface.hxx                  
44
+                   CallbackStream.hxx
45
+                   CFunCallbackStream.hxx                 
46
+                   CppFunCallbackStream.hxx               
47
+                   Device.hxx                             
48
+                   DirectionSpecificStreamParameters.hxx  
49
+                   Exception.hxx                           
50
+                   HostApi.hxx
51
+                   InterfaceCallbackStream.hxx
52
+                   MemFunCallbackStream.hxx
53
+                   PortAudioCpp.hxx
54
+                   SampleDataFormat.hxx
55
+                   Stream.hxx
56
+                   StreamParameters.hxx
57
+                   SystemDeviceIterator.hxx
58
+                   SystemHostApiIterator.hxx
59
+                   System.hxx
60
+                   """)
61
+if env["PLATFORM"] == "win32":
62
+    headers.append("AsioDeviceAdapter.hxx") 
63
+headers = [File(os.path.join("include", "portaudiocpp", h)) for h in headers]
64
+
65
+Return("sharedLibs", "staticLibs", "headers")

+ 7336
- 0
bindings/cpp/aclocal.m4
File diff suppressed because it is too large
View File


+ 9
- 0
bindings/cpp/bin/Makefile.am View File

@@ -0,0 +1,9 @@
1
+BINDIR = $(top_srcdir)/example
2
+LIBDIR = $(top_builddir)/lib
3
+
4
+noinst_PROGRAMS = devs sine
5
+
6
+LDADD = $(LIBDIR)/libportaudiocpp.la
7
+
8
+devs_SOURCES = $(BINDIR)/devs.cxx
9
+sine_SOURCES = $(BINDIR)/sine.cxx

+ 470
- 0
bindings/cpp/bin/Makefile.in View File

@@ -0,0 +1,470 @@
1
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
+# @configure_input@
3
+
4
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+# 2003, 2004, 2005  Free Software Foundation, Inc.
6
+# This Makefile.in is free software; the Free Software Foundation
7
+# gives unlimited permission to copy and/or distribute it,
8
+# with or without modifications, as long as this notice is preserved.
9
+
10
+# This program is distributed in the hope that it will be useful,
11
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
+# PARTICULAR PURPOSE.
14
+
15
+@SET_MAKE@
16
+
17
+srcdir = @srcdir@
18
+top_srcdir = @top_srcdir@
19
+VPATH = @srcdir@
20
+pkgdatadir = $(datadir)/@PACKAGE@
21
+pkglibdir = $(libdir)/@PACKAGE@
22
+pkgincludedir = $(includedir)/@PACKAGE@
23
+top_builddir = ..
24
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
+INSTALL = @INSTALL@
26
+install_sh_DATA = $(install_sh) -c -m 644
27
+install_sh_PROGRAM = $(install_sh) -c
28
+install_sh_SCRIPT = $(install_sh) -c
29
+INSTALL_HEADER = $(INSTALL_DATA)
30
+transform = $(program_transform_name)
31
+NORMAL_INSTALL = :
32
+PRE_INSTALL = :
33
+POST_INSTALL = :
34
+NORMAL_UNINSTALL = :
35
+PRE_UNINSTALL = :
36
+POST_UNINSTALL = :
37
+build_triplet = @build@
38
+host_triplet = @host@
39
+noinst_PROGRAMS = devs$(EXEEXT) sine$(EXEEXT)
40
+subdir = bin
41
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
42
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
44
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45
+	$(ACLOCAL_M4)
46
+mkinstalldirs = $(install_sh) -d
47
+CONFIG_CLEAN_FILES =
48
+PROGRAMS = $(noinst_PROGRAMS)
49
+am_devs_OBJECTS = devs.$(OBJEXT)
50
+devs_OBJECTS = $(am_devs_OBJECTS)
51
+devs_LDADD = $(LDADD)
52
+devs_DEPENDENCIES = $(LIBDIR)/libportaudiocpp.la
53
+am_sine_OBJECTS = sine.$(OBJEXT)
54
+sine_OBJECTS = $(am_sine_OBJECTS)
55
+sine_LDADD = $(LDADD)
56
+sine_DEPENDENCIES = $(LIBDIR)/libportaudiocpp.la
57
+depcomp = $(SHELL) $(top_srcdir)/../../depcomp
58
+am__depfiles_maybe = depfiles
59
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
60
+	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
61
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
62
+	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
63
+	$(AM_CXXFLAGS) $(CXXFLAGS)
64
+CXXLD = $(CXX)
65
+CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
66
+	$(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
67
+SOURCES = $(devs_SOURCES) $(sine_SOURCES)
68
+DIST_SOURCES = $(devs_SOURCES) $(sine_SOURCES)
69
+ETAGS = etags
70
+CTAGS = ctags
71
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
72
+ACLOCAL = @ACLOCAL@
73
+AMDEP_FALSE = @AMDEP_FALSE@
74
+AMDEP_TRUE = @AMDEP_TRUE@
75
+AMTAR = @AMTAR@
76
+AR = @AR@
77
+AS = @AS@
78
+AUTOCONF = @AUTOCONF@
79
+AUTOHEADER = @AUTOHEADER@
80
+AUTOMAKE = @AUTOMAKE@
81
+AWK = @AWK@
82
+CC = @CC@
83
+CCDEPMODE = @CCDEPMODE@
84
+CFLAGS = @CFLAGS@
85
+CPP = @CPP@
86
+CPPFLAGS = @CPPFLAGS@
87
+CXX = @CXX@
88
+CXXCPP = @CXXCPP@
89
+CXXDEPMODE = @CXXDEPMODE@
90
+CXXFLAGS = @CXXFLAGS@
91
+CYGPATH_W = @CYGPATH_W@
92
+DEFAULT_INCLUDES = @DEFAULT_INCLUDES@
93
+DEFS = @DEFS@
94
+DEPDIR = @DEPDIR@
95
+DLLTOOL = @DLLTOOL@
96
+ECHO = @ECHO@
97
+ECHO_C = @ECHO_C@
98
+ECHO_N = @ECHO_N@
99
+ECHO_T = @ECHO_T@
100
+EGREP = @EGREP@
101
+EXEEXT = @EXEEXT@
102
+F77 = @F77@
103
+FFLAGS = @FFLAGS@
104
+GREP = @GREP@
105
+INSTALL_DATA = @INSTALL_DATA@
106
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
107
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
108
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
109
+LDFLAGS = @LDFLAGS@
110
+LIBOBJS = @LIBOBJS@
111
+LIBS = @LIBS@
112
+LIBTOOL = @LIBTOOL@
113
+LN_S = @LN_S@
114
+LTLIBOBJS = @LTLIBOBJS@
115
+LT_VERSION_INFO = @LT_VERSION_INFO@
116
+MAINT = @MAINT@
117
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
118
+MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
119
+MAKEINFO = @MAKEINFO@
120
+OBJDUMP = @OBJDUMP@
121
+OBJEXT = @OBJEXT@
122
+PACKAGE = @PACKAGE@
123
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
124
+PACKAGE_NAME = @PACKAGE_NAME@
125
+PACKAGE_STRING = @PACKAGE_STRING@
126
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
127
+PACKAGE_VERSION = @PACKAGE_VERSION@
128
+PATH_SEPARATOR = @PATH_SEPARATOR@
129
+PORTAUDIO_ROOT = @PORTAUDIO_ROOT@
130
+RANLIB = @RANLIB@
131
+SET_MAKE = @SET_MAKE@
132
+SHELL = @SHELL@
133
+STRIP = @STRIP@
134
+VERSION = @VERSION@
135
+ac_ct_CC = @ac_ct_CC@
136
+ac_ct_CXX = @ac_ct_CXX@
137
+ac_ct_F77 = @ac_ct_F77@
138
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
139
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
140
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
141
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
142
+am__include = @am__include@
143
+am__leading_dot = @am__leading_dot@
144
+am__quote = @am__quote@
145
+am__tar = @am__tar@
146
+am__untar = @am__untar@
147
+bindir = @bindir@
148
+build = @build@
149
+build_alias = @build_alias@
150
+build_cpu = @build_cpu@
151
+build_os = @build_os@
152
+build_vendor = @build_vendor@
153
+datadir = @datadir@
154
+datarootdir = @datarootdir@
155
+docdir = @docdir@
156
+dvidir = @dvidir@
157
+exec_prefix = @exec_prefix@
158
+host = @host@
159
+host_alias = @host_alias@
160
+host_cpu = @host_cpu@
161
+host_os = @host_os@
162
+host_vendor = @host_vendor@
163
+htmldir = @htmldir@
164
+includedir = @includedir@
165
+infodir = @infodir@
166
+install_sh = @install_sh@
167
+libdir = @libdir@
168
+libexecdir = @libexecdir@
169
+localedir = @localedir@
170
+localstatedir = @localstatedir@
171
+mandir = @mandir@
172
+mkdir_p = @mkdir_p@
173
+oldincludedir = @oldincludedir@
174
+pdfdir = @pdfdir@
175
+prefix = @prefix@
176
+program_transform_name = @program_transform_name@
177
+psdir = @psdir@
178
+sbindir = @sbindir@
179
+sharedstatedir = @sharedstatedir@
180
+sysconfdir = @sysconfdir@
181
+target_alias = @target_alias@
182
+BINDIR = $(top_srcdir)/example
183
+LIBDIR = $(top_builddir)/lib
184
+LDADD = $(LIBDIR)/libportaudiocpp.la
185
+devs_SOURCES = $(BINDIR)/devs.cxx
186
+sine_SOURCES = $(BINDIR)/sine.cxx
187
+all: all-am
188
+
189
+.SUFFIXES:
190
+.SUFFIXES: .cxx .lo .o .obj
191
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
192
+	@for dep in $?; do \
193
+	  case '$(am__configure_deps)' in \
194
+	    *$$dep*) \
195
+	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
196
+		&& exit 0; \
197
+	      exit 1;; \
198
+	  esac; \
199
+	done; \
200
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  bin/Makefile'; \
201
+	cd $(top_srcdir) && \
202
+	  $(AUTOMAKE) --gnu  bin/Makefile
203
+.PRECIOUS: Makefile
204
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
205
+	@case '$?' in \
206
+	  *config.status*) \
207
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
208
+	  *) \
209
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
210
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
211
+	esac;
212
+
213
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
214
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
215
+
216
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
217
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
218
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
219
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
220
+
221
+clean-noinstPROGRAMS:
222
+	@list='$(noinst_PROGRAMS)'; for p in $$list; do \
223
+	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
224
+	  echo " rm -f $$p $$f"; \
225
+	  rm -f $$p $$f ; \
226
+	done
227
+devs$(EXEEXT): $(devs_OBJECTS) $(devs_DEPENDENCIES) 
228
+	@rm -f devs$(EXEEXT)
229
+	$(CXXLINK) $(devs_LDFLAGS) $(devs_OBJECTS) $(devs_LDADD) $(LIBS)
230
+sine$(EXEEXT): $(sine_OBJECTS) $(sine_DEPENDENCIES) 
231
+	@rm -f sine$(EXEEXT)
232
+	$(CXXLINK) $(sine_LDFLAGS) $(sine_OBJECTS) $(sine_LDADD) $(LIBS)
233
+
234
+mostlyclean-compile:
235
+	-rm -f *.$(OBJEXT)
236
+
237
+distclean-compile:
238
+	-rm -f *.tab.c
239
+
240
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/devs.Po@am__quote@
241
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sine.Po@am__quote@
242
+
243
+.cxx.o:
244
+@am__fastdepCXX_TRUE@	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
245
+@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
246
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
247
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
248
+@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ $<
249
+
250
+.cxx.obj:
251
+@am__fastdepCXX_TRUE@	if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
252
+@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
253
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
254
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
255
+@am__fastdepCXX_FALSE@	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
256
+
257
+.cxx.lo:
258
+@am__fastdepCXX_TRUE@	if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
259
+@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
260
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
261
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
262
+@am__fastdepCXX_FALSE@	$(LTCXXCOMPILE) -c -o $@ $<
263
+
264
+devs.o: $(BINDIR)/devs.cxx
265
+@am__fastdepCXX_TRUE@	if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT devs.o -MD -MP -MF "$(DEPDIR)/devs.Tpo" -c -o devs.o `test -f '$(BINDIR)/devs.cxx' || echo '$(srcdir)/'`$(BINDIR)/devs.cxx; \
266
+@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/devs.Tpo" "$(DEPDIR)/devs.Po"; else rm -f "$(DEPDIR)/devs.Tpo"; exit 1; fi
267
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$(BINDIR)/devs.cxx' object='devs.o' libtool=no @AMDEPBACKSLASH@
268
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
269
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o devs.o `test -f '$(BINDIR)/devs.cxx' || echo '$(srcdir)/'`$(BINDIR)/devs.cxx
270
+
271
+devs.obj: $(BINDIR)/devs.cxx
272
+@am__fastdepCXX_TRUE@	if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT devs.obj -MD -MP -MF "$(DEPDIR)/devs.Tpo" -c -o devs.obj `if test -f '$(BINDIR)/devs.cxx'; then $(CYGPATH_W) '$(BINDIR)/devs.cxx'; else $(CYGPATH_W) '$(srcdir)/$(BINDIR)/devs.cxx'; fi`; \
273
+@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/devs.Tpo" "$(DEPDIR)/devs.Po"; else rm -f "$(DEPDIR)/devs.Tpo"; exit 1; fi
274
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$(BINDIR)/devs.cxx' object='devs.obj' libtool=no @AMDEPBACKSLASH@
275
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
276
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o devs.obj `if test -f '$(BINDIR)/devs.cxx'; then $(CYGPATH_W) '$(BINDIR)/devs.cxx'; else $(CYGPATH_W) '$(srcdir)/$(BINDIR)/devs.cxx'; fi`
277
+
278
+sine.o: $(BINDIR)/sine.cxx
279
+@am__fastdepCXX_TRUE@	if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sine.o -MD -MP -MF "$(DEPDIR)/sine.Tpo" -c -o sine.o `test -f '$(BINDIR)/sine.cxx' || echo '$(srcdir)/'`$(BINDIR)/sine.cxx; \
280
+@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/sine.Tpo" "$(DEPDIR)/sine.Po"; else rm -f "$(DEPDIR)/sine.Tpo"; exit 1; fi
281
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$(BINDIR)/sine.cxx' object='sine.o' libtool=no @AMDEPBACKSLASH@
282
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
283
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sine.o `test -f '$(BINDIR)/sine.cxx' || echo '$(srcdir)/'`$(BINDIR)/sine.cxx
284
+
285
+sine.obj: $(BINDIR)/sine.cxx
286
+@am__fastdepCXX_TRUE@	if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sine.obj -MD -MP -MF "$(DEPDIR)/sine.Tpo" -c -o sine.obj `if test -f '$(BINDIR)/sine.cxx'; then $(CYGPATH_W) '$(BINDIR)/sine.cxx'; else $(CYGPATH_W) '$(srcdir)/$(BINDIR)/sine.cxx'; fi`; \
287
+@am__fastdepCXX_TRUE@	then mv -f "$(DEPDIR)/sine.Tpo" "$(DEPDIR)/sine.Po"; else rm -f "$(DEPDIR)/sine.Tpo"; exit 1; fi
288
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	source='$(BINDIR)/sine.cxx' object='sine.obj' libtool=no @AMDEPBACKSLASH@
289
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
290
+@am__fastdepCXX_FALSE@	$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sine.obj `if test -f '$(BINDIR)/sine.cxx'; then $(CYGPATH_W) '$(BINDIR)/sine.cxx'; else $(CYGPATH_W) '$(srcdir)/$(BINDIR)/sine.cxx'; fi`
291
+
292
+mostlyclean-libtool:
293
+	-rm -f *.lo
294
+
295
+clean-libtool:
296
+	-rm -rf .libs _libs
297
+
298
+distclean-libtool:
299
+	-rm -f libtool
300
+uninstall-info-am:
301
+
302
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
303
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
304
+	unique=`for i in $$list; do \
305
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
306
+	  done | \
307
+	  $(AWK) '    { files[$$0] = 1; } \
308
+	       END { for (i in files) print i; }'`; \
309
+	mkid -fID $$unique
310
+tags: TAGS
311
+
312
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
313
+		$(TAGS_FILES) $(LISP)
314
+	tags=; \
315
+	here=`pwd`; \
316
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
317
+	unique=`for i in $$list; do \
318
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
319
+	  done | \
320
+	  $(AWK) '    { files[$$0] = 1; } \
321
+	       END { for (i in files) print i; }'`; \
322
+	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
323
+	  test -n "$$unique" || unique=$$empty_fix; \
324
+	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
325
+	    $$tags $$unique; \
326
+	fi
327
+ctags: CTAGS
328
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
329
+		$(TAGS_FILES) $(LISP)
330
+	tags=; \
331
+	here=`pwd`; \
332
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
333
+	unique=`for i in $$list; do \
334
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
335
+	  done | \
336
+	  $(AWK) '    { files[$$0] = 1; } \
337
+	       END { for (i in files) print i; }'`; \
338
+	test -z "$(CTAGS_ARGS)$$tags$$unique" \
339
+	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
340
+	     $$tags $$unique
341
+
342
+GTAGS:
343
+	here=`$(am__cd) $(top_builddir) && pwd` \
344
+	  && cd $(top_srcdir) \
345
+	  && gtags -i $(GTAGS_ARGS) $$here
346
+
347
+distclean-tags:
348
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
349
+
350
+distdir: $(DISTFILES)
351
+	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
352
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
353
+	list='$(DISTFILES)'; for file in $$list; do \
354
+	  case $$file in \
355
+	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
356
+	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
357
+	  esac; \
358
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
359
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
360
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
361
+	    dir="/$$dir"; \
362
+	    $(mkdir_p) "$(distdir)$$dir"; \
363
+	  else \
364
+	    dir=''; \
365
+	  fi; \
366
+	  if test -d $$d/$$file; then \
367
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
368
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
369
+	    fi; \
370
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
371
+	  else \
372
+	    test -f $(distdir)/$$file \
373
+	    || cp -p $$d/$$file $(distdir)/$$file \
374
+	    || exit 1; \
375
+	  fi; \
376
+	done
377
+check-am: all-am
378
+check: check-am
379
+all-am: Makefile $(PROGRAMS)
380
+installdirs:
381
+install: install-am
382
+install-exec: install-exec-am
383
+install-data: install-data-am
384
+uninstall: uninstall-am
385
+
386
+install-am: all-am
387
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
388
+
389
+installcheck: installcheck-am
390
+install-strip:
391
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
392
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
393
+	  `test -z '$(STRIP)' || \
394
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
395
+mostlyclean-generic:
396
+
397
+clean-generic:
398
+
399
+distclean-generic:
400
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
401
+
402
+maintainer-clean-generic:
403
+	@echo "This command is intended for maintainers to use"
404
+	@echo "it deletes files that may require special tools to rebuild."
405
+clean: clean-am
406
+
407
+clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
408
+	mostlyclean-am
409
+
410
+distclean: distclean-am
411
+	-rm -rf ./$(DEPDIR)
412
+	-rm -f Makefile
413
+distclean-am: clean-am distclean-compile distclean-generic \
414
+	distclean-libtool distclean-tags
415
+
416
+dvi: dvi-am
417
+
418
+dvi-am:
419
+
420
+html: html-am
421
+
422
+info: info-am
423
+
424
+info-am:
425
+
426
+install-data-am:
427
+
428
+install-exec-am:
429
+
430
+install-info: install-info-am
431
+
432
+install-man:
433
+
434
+installcheck-am:
435
+
436
+maintainer-clean: maintainer-clean-am
437
+	-rm -rf ./$(DEPDIR)
438
+	-rm -f Makefile
439
+maintainer-clean-am: distclean-am maintainer-clean-generic
440
+
441
+mostlyclean: mostlyclean-am
442
+
443
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
444
+	mostlyclean-libtool
445
+
446
+pdf: pdf-am
447
+
448
+pdf-am:
449
+
450
+ps: ps-am
451
+
452
+ps-am:
453
+
454
+uninstall-am: uninstall-info-am
455
+
456
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
457
+	clean-libtool clean-noinstPROGRAMS ctags distclean \