rtaudio-cdist.git
5 years agocmake: make CMakeLists.txt more similar to RtMidi's
Stephen Sinclair [Sat, 14 Jul 2018 22:46:12 +0000 (18:46 -0400)]
cmake: make CMakeLists.txt more similar to RtMidi's

5 years agoImprove clarity of error message when no known system was found.
Stephen Sinclair [Sat, 14 Jul 2018 00:25:24 +0000 (20:25 -0400)]
Improve clarity of error message when no known system was found.

5 years agoCheck for headers for Windows APIs (except ASIO)
Stephen Sinclair [Sat, 14 Jul 2018 00:24:52 +0000 (20:24 -0400)]
Check for headers for Windows APIs (except ASIO)

5 years agoImprove OSS4 detection on Linux.
Stephen Sinclair [Sat, 14 Jul 2018 00:24:27 +0000 (20:24 -0400)]
Improve OSS4 detection on Linux.

5 years agoAllow to disable an implicitly-selected system using --without-*api*
Stephen Sinclair [Fri, 13 Jul 2018 23:48:58 +0000 (19:48 -0400)]
Allow to disable an implicitly-selected system using --without-*api*

5 years agocmake: Flatten API config logic, complete missing rtaudio.pc fields
Stephen Sinclair [Sat, 14 Jul 2018 15:21:43 +0000 (11:21 -0400)]
cmake: Flatten API config logic, complete missing rtaudio.pc fields

Closes #106.
Fixes #137.

5 years agoInclude process.h for _beginthreadex for DS.
Stephen Sinclair [Sat, 14 Jul 2018 14:17:47 +0000 (10:17 -0400)]
Include process.h for _beginthreadex for DS.

Fixes #140.

5 years agoavoid cmake error: "install Library TARGETS given no DESTINATION!"
sonoro1234 [Sun, 3 Jun 2018 14:59:55 +0000 (16:59 +0200)]
avoid cmake error: "install Library TARGETS given no DESTINATION!"

5 years agoFix another missing call to snd_ctl_close
Connor MacDonald [Thu, 24 May 2018 15:34:07 +0000 (12:34 -0300)]
Fix another missing call to snd_ctl_close

5 years agoFix ALSA CTL handle not being closed in the default case
Connor MacDonald [Thu, 24 May 2018 13:57:30 +0000 (10:57 -0300)]
Fix ALSA CTL handle not being closed in the default case

5 years agomake WASAPI instantiation errors non-fatal for older Windows
JP Cimalando [Sun, 13 May 2018 12:14:04 +0000 (14:14 +0200)]
make WASAPI instantiation errors non-fatal for older Windows

5 years agoAPI names, and conversion from/to API identifier
JP Cimalando [Mon, 7 May 2018 15:30:27 +0000 (17:30 +0200)]
API names, and conversion from/to API identifier

5 years agoFix option name with_ds -> with_dsound
Stephen Sinclair [Wed, 2 May 2018 22:11:58 +0000 (19:11 -0300)]
Fix option name with_ds -> with_dsound

5 years agoRemove Travis config for non-existent '--with-winmm' option
Stephen Sinclair [Wed, 2 May 2018 22:11:29 +0000 (19:11 -0300)]
Remove Travis config for non-existent '--with-winmm' option

5 years agoMake libossaudio a soft OSS requirement, but do check for sys/soundcard.h
Stephen Sinclair [Wed, 2 May 2018 21:57:43 +0000 (18:57 -0300)]
Make libossaudio a soft OSS requirement, but do check for sys/soundcard.h

5 years agoautoconf: separate OS defaults and audio API testing
Stephen Sinclair [Tue, 1 May 2018 15:34:17 +0000 (12:34 -0300)]
autoconf: separate OS defaults and audio API testing

5 years agofix cmake build system missing variables in pkgconfig
Claudio Cabral [Sun, 28 Jan 2018 11:46:29 +0000 (12:46 +0100)]
fix cmake build system missing variables in pkgconfig

5 years agoFix strict prototype warning
Sebastian Reimers [Sun, 1 Apr 2018 15:28:05 +0000 (17:28 +0200)]
Fix strict prototype warning

5 years agoRealtime fixes
terminator356 [Mon, 30 Apr 2018 23:54:09 +0000 (19:54 -0400)]
Realtime fixes

6 years agoGive more priority to PulseAudio api (#129)
Marcelo Fernandez [Tue, 20 Mar 2018 15:40:16 +0000 (12:40 -0300)]
Give more priority to PulseAudio api (#129)

6 years agoAdd jack to pkg-config requires.
Stephen Sinclair [Wed, 31 Jan 2018 20:05:13 +0000 (17:05 -0300)]
Add jack to pkg-config requires.

6 years agoUpdate ASIO headers to version 2.3.
Stephen Sinclair [Tue, 2 Jan 2018 19:47:07 +0000 (16:47 -0300)]
Update ASIO headers to version 2.3.

6 years agoFix jackXrun handle pointer
Stephen Sinclair [Mon, 20 Nov 2017 23:37:49 +0000 (20:37 -0300)]
Fix jackXrun handle pointer

Thanks github user @bontric, closes #113.

6 years agoSend Travis notifications to Steve.
Stephen Sinclair [Wed, 18 Oct 2017 20:35:02 +0000 (17:35 -0300)]
Send Travis notifications to Steve.

6 years agoAdd Travis build status to README.md.
Stephen Sinclair [Wed, 18 Oct 2017 13:16:41 +0000 (10:16 -0300)]
Add Travis build status to README.md.

6 years agoInstall libpulse-dev for Linux builds.
Stephen Sinclair [Wed, 18 Oct 2017 15:00:28 +0000 (12:00 -0300)]
Install libpulse-dev for Linux builds.

6 years agoFix compilation of ASIO and WASAPI backends in MingW/Ubuntu.
Stephen Sinclair [Wed, 18 Oct 2017 15:00:00 +0000 (12:00 -0300)]
Fix compilation of ASIO and WASAPI backends in MingW/Ubuntu.

Warnings/errors "unused function" are from the unicode conversion
functions on Windows, and "unused but set variable" is from ASIO
source code; we disable these warnings on Windows builds.

6 years agoRemove use of C++11 std::to_string in WASAPI code.
Stephen Sinclair [Wed, 18 Oct 2017 17:50:48 +0000 (14:50 -0300)]
Remove use of C++11 std::to_string in WASAPI code.

6 years agoReformat readme as markdown.
Stephen Sinclair [Wed, 18 Oct 2017 13:15:54 +0000 (10:15 -0300)]
Reformat readme as markdown.

6 years agoAllow only the device's native sample rate in WASAPI API
Marcus Tomlinson [Tue, 17 Oct 2017 18:55:18 +0000 (20:55 +0200)]
Allow only the device's native sample rate in WASAPI API

Revert "fix" for Issue #69

6 years agofixed cmake install error : rtaudio.pc error
bejuryu [Mon, 16 Oct 2017 10:00:42 +0000 (19:00 +0900)]
fixed cmake install error : rtaudio.pc error

6 years agoAdd a tentative Travis-CI config.
Stephen Sinclair [Tue, 10 Oct 2017 18:52:00 +0000 (15:52 -0300)]
Add a tentative Travis-CI config.

6 years agoMerge remote-tracking branch 'upstream/master' into debian-fixes
IOhannes m zmölnig [Tue, 10 Oct 2017 14:00:15 +0000 (16:00 +0200)]
Merge remote-tracking branch 'upstream/master' into debian-fixes

6 years agoAdd @api@ to rtaudio.pc
Stephen Sinclair [Tue, 10 Oct 2017 13:55:16 +0000 (10:55 -0300)]
Add @api@ to rtaudio.pc

6 years agoDon't export private symbols in non-debug builds
IOhannes m zmölnig [Tue, 10 Oct 2017 12:47:46 +0000 (14:47 +0200)]
Don't export private symbols in non-debug builds

6 years agodefines for exporting symbols on GCC
IOhannes m zmölnig [Tue, 10 Oct 2017 12:47:08 +0000 (14:47 +0200)]
defines for exporting symbols on GCC

6 years agoproperly quote message strings
IOhannes m zmölnig [Tue, 10 Oct 2017 12:36:26 +0000 (14:36 +0200)]
properly quote message strings

6 years agoremoved unused fallback definitions of PKG_CHECK_MODULES and friends
IOhannes m zmölnig [Tue, 10 Oct 2017 12:36:09 +0000 (14:36 +0200)]
removed unused fallback definitions of PKG_CHECK_MODULES and friends

it's only cruft

6 years agoConditionally build asio sources
IOhannes m zmölnig [Tue, 10 Oct 2017 12:28:37 +0000 (14:28 +0200)]
Conditionally build asio sources

afaict, the current code wouldn't work at all (defining an unused 'objects'
Makefile-variable).

6 years agouse AS_CASE rather than "case"
IOhannes m zmölnig [Tue, 10 Oct 2017 11:01:35 +0000 (13:01 +0200)]
use AS_CASE rather than "case"

6 years agofixed AC_MSG_ERROR arg
IOhannes m zmölnig [Tue, 10 Oct 2017 10:35:46 +0000 (12:35 +0200)]
fixed AC_MSG_ERROR arg

6 years agofixed bash-style assignment
IOhannes m zmölnig [Tue, 10 Oct 2017 10:35:35 +0000 (12:35 +0200)]
fixed bash-style assignment

6 years agoported "--enable-debug" fixes from RtMidi
IOhannes m zmölnig [Tue, 10 Oct 2017 10:31:09 +0000 (12:31 +0200)]
ported "--enable-debug" fixes from RtMidi

6 years agopretty "--with-..." help (and grouped AC_ARG_WITH together)
IOhannes m zmölnig [Tue, 10 Oct 2017 10:21:10 +0000 (12:21 +0200)]
pretty "--with-..." help (and grouped AC_ARG_WITH together)

6 years agoDo not require a program to compile/run to check for version coherency
IOhannes m zmölnig [Tue, 10 Oct 2017 10:16:11 +0000 (12:16 +0200)]
Do not require a program to compile/run to check for version coherency

6 years agoconsistent API checks
IOhannes m zmölnig [Tue, 10 Oct 2017 10:14:22 +0000 (12:14 +0200)]
consistent API checks

consistent ordering of AC_MSG, additional library checks and var-setting.
also, use "=" rather than "=" when testing for equality

6 years agouse AS_IF rather than "if"
IOhannes m zmölnig [Tue, 10 Oct 2017 10:05:36 +0000 (12:05 +0200)]
use AS_IF rather than "if"

6 years agoadd @api@ to pkg-config's CFLAGS
IOhannes m zmölnig [Tue, 10 Oct 2017 09:50:09 +0000 (11:50 +0200)]
add @api@ to pkg-config's CFLAGS

6 years agoGetting rid of repeated and useless calls to AC_SUBST
IOhannes m zmölnig [Tue, 10 Oct 2017 09:49:51 +0000 (11:49 +0200)]
Getting rid of repeated and useless calls to AC_SUBST

6 years agoDropped CPPFLAGS from generated pkg-config
Jaromír Mikeš [Mon, 9 Oct 2017 14:20:19 +0000 (16:20 +0200)]
Dropped CPPFLAGS from generated pkg-config

CPPFLAGS are needed to compile rtaudio.
these are not the same flags as needed for compiling an application using rtaudio.
sometimes this is even harmful.

Closes: https://github.com/thestk/rtaudio/issues/103
Signed-off-by: IOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
6 years agoPrevent .gitignore and friends from being exported to the final archive
IOhannes m zmölnig [Mon, 9 Oct 2017 14:15:30 +0000 (16:15 +0200)]
Prevent .gitignore and friends from being exported to the final archive

6 years agoMerge pr96.
Stephen Sinclair [Fri, 6 Oct 2017 19:49:55 +0000 (16:49 -0300)]
Merge pr96.

6 years agoUse "using namespace std" for roundf in previous patch.
Stephen Sinclair [Fri, 6 Oct 2017 19:48:03 +0000 (16:48 -0300)]
Use "using namespace std" for roundf in previous patch.

Similar to edb4ec67.  The reason is because std::roundf causes errors
in some compilers even with cmath, yet roundf by itself should exist
in math.h.  TODO: Switch to std::round when moving to C++11.

6 years agogo bindings: use static build flag for windows to fix mingw builds, use array sizes...
Serge A. Zaitsev [Fri, 6 Oct 2017 17:05:35 +0000 (20:05 +0300)]
go bindings: use static build flag for windows to fix mingw builds, use array sizes compatible with 32-bit systems

6 years agoUse "using namespace std" for roundf instead of std::roundf.
Stephen Sinclair [Fri, 6 Oct 2017 15:35:36 +0000 (12:35 -0300)]
Use "using namespace std" for roundf instead of std::roundf.

6 years agoc api: Fix struct initializer stuff for older gcc.
Stephen Sinclair [Fri, 6 Oct 2017 15:32:15 +0000 (12:32 -0300)]
c api: Fix struct initializer stuff for older gcc.

Fixes #100.

6 years agomove go bindings into contrib/go/rtaudio subdirectory
Serge A. Zaitsev [Tue, 3 Oct 2017 15:40:01 +0000 (18:40 +0300)]
move go bindings into contrib/go/rtaudio subdirectory

6 years agogo bindings: fix unsafe.Pointer warning
Serge A. Zaitsev [Tue, 3 Oct 2017 09:30:33 +0000 (12:30 +0300)]
go bindings: fix unsafe.Pointer warning

6 years agogo bindings: rename example functions to fix go vet warnindgs
Serge A. Zaitsev [Tue, 3 Oct 2017 09:10:14 +0000 (12:10 +0300)]
go bindings: rename example functions to fix go vet warnindgs

6 years agogo bindings: fix typo
Serge A. Zaitsev [Tue, 3 Oct 2017 09:01:05 +0000 (12:01 +0300)]
go bindings: fix typo

6 years agoadd go bindings
Serge A. Zaitsev [Tue, 3 Oct 2017 08:53:01 +0000 (11:53 +0300)]
add go bindings

6 years agoadd rtaudio c api wrappers (#98)
Serge Zaitsev [Mon, 2 Oct 2017 13:20:13 +0000 (16:20 +0300)]
add rtaudio c api wrappers (#98)

add rtaudio c api wrappers

6 years agoRound floats by using roundf in order to round correctly.
rehans [Tue, 5 Sep 2017 14:12:58 +0000 (16:12 +0200)]
Round floats by using roundf in order to round correctly.

6 years agoFix `jackSilentError(const char*)’ defined but not used
Stephen Sinclair [Wed, 30 Aug 2017 21:30:36 +0000 (18:30 -0300)]
Fix `jackSilentError(const char*)’ defined but not used

6 years agoConverted line endings in RtAudio.cpp to unix format.
Gary Scavone [Wed, 30 Aug 2017 19:04:14 +0000 (12:04 -0700)]
Converted line endings in RtAudio.cpp to unix format.

6 years agoVersion and documentation updates in advance of new release.
Gary Scavone [Wed, 30 Aug 2017 18:54:13 +0000 (11:54 -0700)]
Version and documentation updates in advance of new release.

6 years agoUse AS_IF.
Stephen Sinclair [Sun, 27 Aug 2017 02:52:18 +0000 (23:52 -0300)]
Use AS_IF.

6 years agoFor BSDs, only set OSS if Jack not found.
Stephen Sinclair [Sun, 27 Aug 2017 02:45:34 +0000 (23:45 -0300)]
For BSDs, only set OSS if Jack not found.

6 years agoCheck for jack on all operating systems and add freebsd host.
Stephen Sinclair [Sun, 27 Aug 2017 01:59:54 +0000 (22:59 -0300)]
Check for jack on all operating systems and add freebsd host.

6 years agoDon't force ALSA when checking for Jack.
Stephen Sinclair [Sun, 27 Aug 2017 01:57:06 +0000 (22:57 -0300)]
Don't force ALSA when checking for Jack.

6 years agoDon't check all libraries, use AS_IF.
Stephen Sinclair [Sun, 27 Aug 2017 01:16:55 +0000 (22:16 -0300)]
Don't check all libraries, use AS_IF.

Fix AC_ARG_WITH usage to be like the manual suggests:
https://autotools.io/autoconf/arguments.html

6 years agoMerge pull request #68 from jpcima/master
garyscavone [Thu, 24 Aug 2017 20:34:04 +0000 (13:34 -0700)]
Merge pull request #68 from jpcima/master

a JACK-specific flag to disable automatic connection of ports

6 years agoMerge pull request #79 from radarsat1/dsound-mmsystem
Stephen Sinclair [Wed, 23 Aug 2017 02:01:38 +0000 (23:01 -0300)]
Merge pull request #79 from radarsat1/dsound-mmsystem

Add mmsystem.h and mmreg.h for dsound.

6 years agoDerive RtAudioError from std::runtime_error
Stephen Sinclair [Wed, 23 Aug 2017 01:03:53 +0000 (22:03 -0300)]
Derive RtAudioError from std::runtime_error

6 years agoFix to initialize lastTickTimestamp when setting stream time.
Gary Scavone [Wed, 23 Aug 2017 00:44:02 +0000 (17:44 -0700)]
Fix to initialize lastTickTimestamp when setting stream time.

6 years agoFurther fix std::exception noexcept-related compile error
Stephen Sinclair [Wed, 23 Aug 2017 00:11:53 +0000 (21:11 -0300)]
Further fix std::exception noexcept-related compile error

6 years agoAdd cmath include.
Stephen Sinclair [Tue, 22 Aug 2017 23:32:30 +0000 (20:32 -0300)]
Add cmath include.

Closes #39

6 years agoFix order of calling CoUninitialize()
Stephen Sinclair [Tue, 22 Aug 2017 23:30:08 +0000 (20:30 -0300)]
Fix order of calling CoUninitialize()

Closes #80

6 years agoAdd CMake install targets
Stephen Sinclair [Tue, 22 Aug 2017 23:27:51 +0000 (20:27 -0300)]
Add CMake install targets

Closes #86

6 years agoFix std::exception noexcept-related compile error
Stephen Sinclair [Tue, 22 Aug 2017 23:20:12 +0000 (20:20 -0300)]
Fix std::exception noexcept-related compile error

6 years agoMerge pull request #67 from antis81/refactor/cpp0x-compatibility
Stephen Sinclair [Tue, 22 Aug 2017 23:15:14 +0000 (20:15 -0300)]
Merge pull request #67 from antis81/refactor/cpp0x-compatibility

C++0x compatible exception semantics: remove throw()

6 years agoInitialized member priority in CallbackInfo constructor.
Gary Scavone [Tue, 22 Aug 2017 22:56:03 +0000 (15:56 -0700)]
Initialized member priority in CallbackInfo constructor.

6 years agoFix line endings back to CR for last 2 commits.
Stephen Sinclair [Tue, 22 Aug 2017 22:40:01 +0000 (19:40 -0300)]
Fix line endings back to CR for last 2 commits.

6 years agoFix a signed-unsigned comparison.
Stephen Sinclair [Tue, 22 Aug 2017 20:31:53 +0000 (17:31 -0300)]
Fix a signed-unsigned comparison.

6 years agooss: possible that AFMT_FLOAT is not available
Stephen Sinclair [Tue, 22 Aug 2017 20:29:57 +0000 (17:29 -0300)]
oss: possible that AFMT_FLOAT is not available

6 years agoRemove OSS configuration from pyrtaudio.
Stephen Sinclair [Fri, 9 Jun 2017 19:45:02 +0000 (15:45 -0400)]
Remove OSS configuration from pyrtaudio.

Fixes #91.

6 years agoFix references to RtError / RtAudioError in pyrtaudio
Stephen Sinclair [Fri, 9 Jun 2017 19:44:51 +0000 (15:44 -0400)]
Fix references to RtError / RtAudioError in pyrtaudio

7 years agoMerge pull request #81 from jossgray/fix-warnings
garyscavone [Mon, 24 Apr 2017 12:09:07 +0000 (08:09 -0400)]
Merge pull request #81 from jossgray/fix-warnings

Fix some warnings in the tests in Visual Studio

7 years agoMerge pull request #88 from MarcusTomlinson/wasapi_sr_fix
garyscavone [Mon, 24 Apr 2017 12:07:48 +0000 (08:07 -0400)]
Merge pull request #88 from MarcusTomlinson/wasapi_sr_fix

Added interpolation to WASAPI's sample rate converter

7 years agoSimplify
Marcus Tomlinson [Sat, 22 Apr 2017 20:00:18 +0000 (22:00 +0200)]
Simplify

7 years agoSome optimisation
Marcus Tomlinson [Sat, 22 Apr 2017 18:32:42 +0000 (20:32 +0200)]
Some optimisation

7 years ago\96Slight simplification
Marcus Tomlinson [Sat, 22 Apr 2017 17:37:45 +0000 (19:37 +0200)]
\96Slight simplification

7 years ago\96Fix formatting
Marcus Tomlinson [Sat, 22 Apr 2017 17:30:28 +0000 (19:30 +0200)]
\96Fix formatting

7 years ago\96Fix formatting
Marcus Tomlinson [Sat, 22 Apr 2017 17:26:44 +0000 (19:26 +0200)]
\96Fix formatting

7 years ago\96Fix formatting
Marcus Tomlinson [Sat, 22 Apr 2017 17:24:22 +0000 (19:24 +0200)]
\96Fix formatting

7 years ago\96Fix formatting
Marcus Tomlinson [Sat, 22 Apr 2017 17:22:42 +0000 (19:22 +0200)]
\96Fix formatting

7 years ago\96Tabs -> Spaces
Marcus Tomlinson [Sat, 22 Apr 2017 17:14:49 +0000 (19:14 +0200)]
\96Tabs -> Spaces

7 years ago\96Added interpolation to WASAPI's sample rate converter
Marcus Tomlinson [Sat, 22 Apr 2017 17:12:22 +0000 (19:12 +0200)]
\96Added interpolation to WASAPI's sample rate converter

7 years agoMerge pull request #85 from sudden6/master
Stephen Sinclair [Mon, 17 Apr 2017 15:47:03 +0000 (12:47 -0300)]
Merge pull request #85 from sudden6/master

Pulseaudio backend also needs pthreads

7 years agoPulseaudio backend also needs pthreads
sudden6 [Fri, 14 Apr 2017 09:46:12 +0000 (11:46 +0200)]
Pulseaudio backend also needs pthreads