rtaudio-cdist.git
5 years agoAlsa API: Fix use of invalid card handle
Jakob Leben [Tue, 12 Feb 2019 19:36:40 +0000 (11:36 -0800)]
Alsa API: Fix use of invalid card handle

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

7 years agoSmall compiling documentation update for OS-X.
Gary Scavone [Wed, 15 Feb 2017 18:43:16 +0000 (13:43 -0500)]
Small compiling documentation update for OS-X.

7 years agoFix truncation to float warning in mscv
jossgray [Mon, 5 Dec 2016 20:37:38 +0000 (20:37 +0000)]
Fix truncation to float warning in mscv

7 years agoExplicit casts to fix some warnings in msvc
jossgray [Mon, 5 Dec 2016 20:31:32 +0000 (20:31 +0000)]
Explicit casts to fix some warnings in msvc

7 years agoFix truncation from double to float warning.
jossgray [Mon, 5 Dec 2016 19:01:02 +0000 (19:01 +0000)]
Fix truncation from double to float warning.

7 years agoAdd mmsystem.h and mmreg.h for dsound.
Stephen Sinclair [Wed, 2 Nov 2016 14:22:11 +0000 (11:22 -0300)]
Add mmsystem.h and mmreg.h for dsound.

7 years agoUpdate (bug fix?) in duplex.cpp test program
Gary Scavone [Tue, 6 Sep 2016 16:16:47 +0000 (12:16 -0400)]
Update (bug fix?) in duplex.cpp test program

7 years agorefactor: C++0x compatible exception semantics
Nils Fenner [Tue, 9 Aug 2016 06:08:39 +0000 (08:08 +0200)]
refactor: C++0x compatible exception semantics

7 years agoDocumentation fix for issue #70.
Gary Scavone [Fri, 5 Aug 2016 15:44:21 +0000 (11:44 -0400)]
Documentation fix for issue #70.

7 years agoa JACK-specific flag to disable automatic connection of ports
JP Cimalando [Tue, 26 Jul 2016 07:58:47 +0000 (09:58 +0200)]
a JACK-specific flag to disable automatic connection of ports

7 years agoRemove references to rtaudio-config from configure.ac.
Stephen Sinclair [Fri, 24 Jun 2016 23:01:24 +0000 (19:01 -0400)]
Remove references to rtaudio-config from configure.ac.

7 years agoDeleting rtaudio-config in favor of rtaudio.pc
Gary Scavone [Fri, 24 Jun 2016 12:50:48 +0000 (08:50 -0400)]
Deleting rtaudio-config in favor of rtaudio.pc

8 years agoFinal documentation update before release 4.1.2.
Gary Scavone [Mon, 22 Feb 2016 21:15:53 +0000 (16:15 -0500)]
Final documentation update before release 4.1.2.

8 years agoMerge pull request #50 from radarsat1/automake
garyscavone [Mon, 22 Feb 2016 20:52:05 +0000 (15:52 -0500)]
Merge pull request #50 from radarsat1/automake

Fix handling of CXXFLAGS in configure.ac.

8 years agoA few more pre-release (4.1.2) updates.
Gary Scavone [Mon, 22 Feb 2016 20:50:52 +0000 (15:50 -0500)]
A few more pre-release (4.1.2) updates.

8 years agoFix handling of CXXFLAGS in configure.ac.
Stephen Sinclair [Thu, 18 Feb 2016 16:17:06 +0000 (13:17 -0300)]
Fix handling of CXXFLAGS in configure.ac.

CXXFLAGS should be set before AC_PROG_CXX.  This patch uses a syntax
allowing it to be overridden during "env CXXFLAGS=... ./configure",
"./configure CXXFLAGS=..." or during "make CXXFLAGS=..."

Keeps previous behaviour of -O3 for normal builds, -g -O0 for debug
builds, and keeps the define __RTAUDIO_DEBUG__, however this is done
using AC_DEFINE.

8 years agoMove version check up to beginning of configure.ac.
Stephen Sinclair [Thu, 18 Feb 2016 16:16:27 +0000 (13:16 -0300)]
Move version check up to beginning of configure.ac.

8 years agoVersion number update in configure.ac in advance of new release.
Gary Scavone [Wed, 17 Feb 2016 01:43:28 +0000 (20:43 -0500)]
Version number update in configure.ac in advance of new release.

8 years agoMerge pull request #49 from radarsat1/automake
garyscavone [Wed, 17 Feb 2016 01:39:50 +0000 (20:39 -0500)]
Merge pull request #49 from radarsat1/automake

Port the build system to automake

8 years agoMerge pull request #48 from radarsat1/duplex-64-compat
garyscavone [Wed, 17 Feb 2016 01:38:29 +0000 (20:38 -0500)]
Merge pull request #48 from radarsat1/duplex-64-compat

Revert "duplex test: 64 bit compatibility"

8 years agoMerge pull request #47 from radarsat1/fix-version
garyscavone [Wed, 17 Feb 2016 01:32:22 +0000 (20:32 -0500)]
Merge pull request #47 from radarsat1/fix-version

Fix version and add version check

8 years agoRevert "duplex test: 64 bit compatibility"
Stephen Sinclair [Fri, 12 Feb 2016 17:12:16 +0000 (14:12 -0300)]
Revert "duplex test: 64 bit compatibility"

This reverts commit f639653f5ecf98d3b093049435df5631d8eb0f44.

This change breaks the build with g++ 5.2.1 (Ubuntu 15.10).

8 years agoUpdate version number to 4.1.1 in configure.ac
Stephen Sinclair [Fri, 12 Feb 2016 14:11:41 +0000 (11:11 -0300)]
Update version number to 4.1.1 in configure.ac

8 years agoAdd a test to configure.ac to ensure RtAudio.h defines the same version number.
Stephen Sinclair [Fri, 12 Feb 2016 15:12:35 +0000 (12:12 -0300)]
Add a test to configure.ac to ensure RtAudio.h defines the same version number.

8 years agoPort the build system to automake.
Stephen Sinclair [Fri, 12 Feb 2016 14:05:34 +0000 (11:05 -0300)]
Port the build system to automake.

8 years agoRename librtaudio.pc to rtaudio.pc.
Stephen Sinclair [Fri, 12 Feb 2016 14:04:59 +0000 (11:04 -0300)]
Rename librtaudio.pc to rtaudio.pc.

8 years agoGenerate version number in Doxyfile with configure.
Stephen Sinclair [Fri, 12 Feb 2016 14:02:51 +0000 (11:02 -0300)]
Generate version number in Doxyfile with configure.

8 years agoRename install to install.txt, to avoid conflicts with "make install" target.
Stephen Sinclair [Fri, 12 Feb 2016 14:00:00 +0000 (11:00 -0300)]
Rename install to install.txt, to avoid conflicts with "make install" target.

8 years agoAdd .gitignore
Stephen Sinclair [Fri, 12 Feb 2016 13:58:08 +0000 (10:58 -0300)]
Add .gitignore

8 years agoRemoved execute mode from RtAudio.cpp (why was it set?)
Gary Scavone [Thu, 11 Feb 2016 13:20:44 +0000 (08:20 -0500)]
Removed execute mode from RtAudio.cpp (why was it set?)

8 years agoDocumentation updates in advance of new release
Gary Scavone [Thu, 11 Feb 2016 13:13:14 +0000 (08:13 -0500)]
Documentation updates in advance of new release

8 years agoWASAPI stream time update, as suggested by Patrice Taravel
Gary Scavone [Wed, 10 Feb 2016 20:32:20 +0000 (15:32 -0500)]
WASAPI stream time update, as suggested by Patrice Taravel

8 years agoMerge pull request #43 from guidefloripa/master
garyscavone [Wed, 3 Feb 2016 21:57:19 +0000 (16:57 -0500)]
Merge pull request #43 from guidefloripa/master

Release lock if GetCurrentPosition from DS failed

8 years agoMerge pull request #42 from berkus/master
garyscavone [Wed, 3 Feb 2016 21:53:01 +0000 (16:53 -0500)]
Merge pull request #42 from berkus/master

Multiple minor compile fixes with modern C++

8 years agoRelease lock if GetCurrentPosition from DS failed
Guilherme Steinmann [Mon, 21 Dec 2015 12:29:26 +0000 (10:29 -0200)]
Release lock if GetCurrentPosition from DS failed

8 years agoDon't take address of boolean flag, use flag itself instead.
Berkus Decker [Tue, 22 Sep 2015 16:02:52 +0000 (19:02 +0300)]
Don't take address of boolean flag, use flag itself instead.

8 years agoAdd ALSA include directories to fix compile on some systems.
Berkus Decker [Tue, 22 Sep 2015 15:46:47 +0000 (18:46 +0300)]
Add ALSA include directories to fix compile on some systems.

8 years agoDisable policy change for cmake 3.0
Berkus Decker [Mon, 1 Sep 2014 21:13:26 +0000 (00:13 +0300)]
Disable policy change for cmake 3.0

8 years agoRegister is no more in modern C++.
Berkus Decker [Mon, 1 Sep 2014 21:13:17 +0000 (00:13 +0300)]
Register is no more in modern C++.

8 years agoUpdate optional stream name for playback in PulseAudio API.
Gary Scavone [Fri, 8 May 2015 13:26:50 +0000 (09:26 -0400)]
Update optional stream name for playback in PulseAudio API.

9 years agoMerge pull request #35 from xord/fix_compile_errors_with_core_audio
garyscavone [Tue, 7 Apr 2015 17:18:00 +0000 (13:18 -0400)]
Merge pull request #35 from xord/fix_compile_errors_with_core_audio

fix compile errors with -D__MACOSX_CORE__

9 years agodelete not needed line. (duplicated)
snori [Tue, 7 Apr 2015 17:02:09 +0000 (02:02 +0900)]
delete not needed line. (duplicated)

9 years agoMerge pull request #34 from diamond-msc/patch-1
garyscavone [Mon, 6 Apr 2015 19:47:04 +0000 (15:47 -0400)]
Merge pull request #34 from diamond-msc/patch-1

duplex test: 64 bit compatibility

9 years agoMerge branch 'igor-mikushkin-fix_alsa_underrun_warning'
Gary Scavone [Mon, 6 Apr 2015 19:44:04 +0000 (15:44 -0400)]
Merge branch 'igor-mikushkin-fix_alsa_underrun_warning'
Merge of ALSA underrun warning fix.

9 years agoCommit of ALSA underrun warning message fix
Gary Scavone [Mon, 6 Apr 2015 19:42:01 +0000 (15:42 -0400)]
Commit of ALSA underrun warning message fix

9 years agoMerge branch 'guidefloripa-master'
Gary Scavone [Mon, 6 Apr 2015 19:29:29 +0000 (15:29 -0400)]
Merge branch 'guidefloripa-master'
Merge of OS-X closeStream() fix to remove property listener.

9 years agoMerge branch 'master' of https://github.com/guidefloripa/rtaudio into guidefloripa...
Gary Scavone [Mon, 6 Apr 2015 19:27:47 +0000 (15:27 -0400)]
Merge branch 'master' of https://github.com/guidefloripa/rtaudio into guidefloripa-master
Trying to merge OS-X closeStream() update.

9 years agoUpdate to DS code for getDeviceCount() when cleaning out devices that may have disapp...
Gary Scavone [Sun, 5 Apr 2015 21:20:10 +0000 (17:20 -0400)]
Update to DS code for getDeviceCount() when cleaning out devices that may have disappeared

9 years agoduplex test: 64 bit compatibility
David Császár [Sun, 5 Apr 2015 07:01:02 +0000 (09:01 +0200)]
duplex test: 64 bit compatibility

This change was necessary to prevent BAD ACCESS when compiling on 64 bit OSX

9 years agoFix closeStream on Mac OS X
Guilherme Steinmann [Wed, 25 Mar 2015 12:13:30 +0000 (09:13 -0300)]
Fix closeStream on Mac OS X

9 years agoSmall fix in documentation regarding pkg-config argument specification for Jack API.
Gary Scavone [Tue, 24 Feb 2015 01:00:43 +0000 (20:00 -0500)]
Small fix in documentation regarding pkg-config argument specification for Jack API.

9 years agoSmall ASIO update to support buffersize value of 0 (setting to preferred size).
Gary Scavone [Mon, 23 Feb 2015 18:54:50 +0000 (13:54 -0500)]
Small ASIO update to support buffersize value of 0 (setting to preferred size).

9 years agoFixed some missing unlocks before calling error() in DS API.
Gary Scavone [Mon, 3 Nov 2014 20:47:01 +0000 (15:47 -0500)]
Fixed some missing unlocks before calling error() in DS API.

9 years agoMerge pull request #25 from yedey/master
garyscavone [Mon, 3 Nov 2014 19:02:02 +0000 (14:02 -0500)]
Merge pull request #25 from yedey/master

Fixes for WASAPI / ASIO

9 years agoMerge pull request #29 from tmatth/static_analysis_fixes
garyscavone [Mon, 3 Nov 2014 18:40:05 +0000 (13:40 -0500)]
Merge pull request #29 from tmatth/static_analysis_fixes

Static analysis fixes

9 years agoMerge pull request #28 from geo-harris/master
garyscavone [Mon, 3 Nov 2014 18:38:30 +0000 (13:38 -0500)]
Merge pull request #28 from geo-harris/master

Fix for NULL options in PULSE audio backend in probeDeviceOpen

9 years agoMerge pull request #27 from TyounanMOTI/fix_wasapi_buffer_free_calloc
garyscavone [Mon, 3 Nov 2014 18:37:56 +0000 (13:37 -0500)]
Merge pull request #27 from TyounanMOTI/fix_wasapi_buffer_free_calloc

Fix calloc-free mismatch

9 years agoMerge pull request #26 from TyounanMOTI/fix_std_max_vs2013
garyscavone [Mon, 3 Nov 2014 18:37:16 +0000 (13:37 -0500)]
Merge pull request #26 from TyounanMOTI/fix_std_max_vs2013

Add algorithm header include

9 years agortaudio: avoid NULL dereference
Tristan Matthews [Sun, 2 Nov 2014 04:56:12 +0000 (00:56 -0400)]
rtaudio: avoid NULL dereference

9 years agoalsa: avoid uninitialized read
Tristan Matthews [Sun, 2 Nov 2014 04:52:14 +0000 (00:52 -0400)]
alsa: avoid uninitialized read

The check if ( subdevice != -1 ) was being done on a potentially
uninitialized variable.

9 years agoFix for NULL options in PULSE audio backend in probeDeviceOpen
Harris Georgiou [Thu, 16 Oct 2014 12:12:16 +0000 (14:12 +0200)]
Fix for NULL options in PULSE audio backend in probeDeviceOpen

9 years agoFix calloc-free mismatch
Hirotoshi YOSHITAKA [Mon, 6 Oct 2014 14:54:11 +0000 (23:54 +0900)]
Fix calloc-free mismatch

Use free() for allocated memory by calloc (not delete).
Deleting calloc-ed memory will become problem in the environment which
overrides global "operator delete" like some game engine.

9 years agoAdd algorithm header include
Hirotoshi YOSHITAKA [Mon, 6 Oct 2014 14:47:11 +0000 (23:47 +0900)]
Add algorithm header include

Without algorithm header, Visual Studio complaints that std::max is not
declared and defined.
Including algorithm header resolves this issue.