rtaudio-cdist.git
5 years agoFix typo in previous. carl-v4
Carl Hetherington [Thu, 10 Jan 2019 01:23:55 +0000 (01:23 +0000)]
Fix typo in previous.

5 years agoMerge.
Carl Hetherington [Thu, 10 Jan 2019 00:27:22 +0000 (00:27 +0000)]
Merge.

5 years agoTry to support 7.1 on Linux.
Carl Hetherington [Thu, 10 Jan 2019 00:26:31 +0000 (00:26 +0000)]
Try to support 7.1 on Linux.

5 years agoTry to fix Linux audio for < 6 channels.
Carl Hetherington [Tue, 4 Dec 2018 17:30:27 +0000 (17:30 +0000)]
Try to fix Linux audio for < 6 channels.

5 years agoHack pulseaudio channel map for 5.1 DCPs to see if it fixes multi-channel playback...
Carl Hetherington [Sun, 25 Nov 2018 23:39:59 +0000 (23:39 +0000)]
Hack pulseaudio channel map for 5.1 DCPs to see if it fixes multi-channel playback on Linux.

5 years agoTry to support > 2 output channels with PulseAudio.
Carl Hetherington [Mon, 12 Nov 2018 22:54:01 +0000 (22:54 +0000)]
Try to support > 2 output channels with PulseAudio.

6 years agoUpdate for MXE builds. mxe
Carl Hetherington [Fri, 21 Jul 2017 00:39:05 +0000 (01:39 +0100)]
Update for MXE builds.

6 years agoMerge branch 'master' of ssh://git.carlh.net/home/carl/git/rtaudio-cdist
Carl Hetherington [Mon, 1 May 2017 00:46:49 +0000 (01:46 +0100)]
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/rtaudio-cdist

6 years agoOSX build fix.
Carl Hetherington [Mon, 1 May 2017 00:23:38 +0000 (01:23 +0100)]
OSX build fix.

7 years agoMore build fixces.
Carl Hetherington [Thu, 20 Apr 2017 12:58:21 +0000 (13:58 +0100)]
More build fixces.

7 years agoMore build fixes.
Carl Hetherington [Thu, 20 Apr 2017 10:39:33 +0000 (11:39 +0100)]
More build fixes.

7 years agoAnother build fix.
Carl Hetherington [Thu, 20 Apr 2017 10:15:40 +0000 (11:15 +0100)]
Another build fix.

7 years agoMore build fixes.
Carl Hetherington [Thu, 20 Apr 2017 10:04:32 +0000 (11:04 +0100)]
More build fixes.

7 years agoFixed version of previous.
Carl Hetherington [Thu, 20 Apr 2017 09:43:22 +0000 (10:43 +0100)]
Fixed version of previous.

7 years agoMerge.
Carl Hetherington [Thu, 20 Apr 2017 09:42:35 +0000 (10:42 +0100)]
Merge.

7 years agoTry to fix build on debian-8-32.
Carl Hetherington [Thu, 20 Apr 2017 09:42:18 +0000 (10:42 +0100)]
Try to fix build on debian-8-32.

7 years agoFix error in cscript.
Carl Hetherington [Wed, 19 Apr 2017 22:42:17 +0000 (23:42 +0100)]
Fix error in cscript.

8 years agoTry to support debug mode when building.
Carl Hetherington [Mon, 21 Mar 2016 01:13:55 +0000 (01:13 +0000)]
Try to support debug mode when building.

8 years agoHack configure to work with a cross compiler.
Carl Hetherington [Sun, 20 Mar 2016 15:35:09 +0000 (15:35 +0000)]
Hack configure to work with a cross compiler.

8 years agoCommit ./configure and the rest of the autoconf stuff to git so that
Carl Hetherington [Sun, 20 Mar 2016 15:03:29 +0000 (15:03 +0000)]
Commit ./configure and the rest of the autoconf stuff to git so that
we don't need the correct version of automake on the build host.
Add a cscript.

8 years agoMissing include for roundf().
Carl Hetherington [Sun, 20 Mar 2016 17:42:48 +0000 (17:42 +0000)]
Missing include for roundf().

8 years agoFix case of include filename.
Carl Hetherington [Sun, 20 Mar 2016 17:35:29 +0000 (17:35 +0000)]
Fix case of include filename.

This shouldn't matter for Windows hosts but it is necessary
for cross compiling from Linux.

8 years agoReport playback latency for PulseAudio.
Carl Hetherington [Sat, 19 Mar 2016 21:15:52 +0000 (21:15 +0000)]
Report playback latency for PulseAudio.

8 years agoFix erroneous getStreamTime() results in some cases.
Carl Hetherington [Sat, 19 Mar 2016 21:15:20 +0000 (21:15 +0000)]
Fix erroneous getStreamTime() results in some cases.

Without this, if HAVE_GETTIMEOFDAY is defined getStreamTime() can return
a wrong value in the following case:

- start stream
- stop stream
- start stream
- call getStreamTime() immediately

In this case tickStreamTime() will not have been called since the
stream was restarted, hence lastTickTimestamp will refer to the
previous run of the stream.  getStreamTime() will therefore extrapolate
wrongly from stream._streamTime.  This patch only uses lastTickTimestamp
when it is valid.

8 years agoStop PulseAudio callback busy-waiting when stream is stopped.
Carl Hetherington [Sat, 19 Mar 2016 21:14:37 +0000 (21:14 +0000)]
Stop PulseAudio callback busy-waiting when stream is stopped.

This sets the runnable flag to false, as is done for other APIs.

8 years agoFix discovery of gettimeofday() by autoconf.
Carl Hetherington [Sat, 19 Mar 2016 20:49:47 +0000 (20:49 +0000)]
Fix discovery of gettimeofday() by autoconf.

Without this, gettimeofday() is found but the -DHAVE_GETTIMEOFDAY
flag is not passed to the compiler.  This change may cause other
problems; I am not an autoconf expert.

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.

9 years agoFixed major ASIO duplex initialization bug. Added "preferredSampleRate" to the device...
yedey [Mon, 6 Oct 2014 12:08:51 +0000 (14:08 +0200)]
Fixed major ASIO duplex initialization bug. Added "preferredSampleRate" to the device info.

9 years agoASIO fix for crash for early callbacks (initiated from ASIOCreateBuffers), ASIO fix...
yedey [Mon, 6 Oct 2014 07:31:23 +0000 (09:31 +0200)]
ASIO fix for crash for early callbacks (initiated from ASIOCreateBuffers), ASIO fix for strict/misbehaving drivers

9 years agoWASAPI device name encoding fix, fixed skipped samples in WASAPI buffer conversion
yedey [Thu, 2 Oct 2014 19:29:48 +0000 (21:29 +0200)]
WASAPI device name encoding fix, fixed skipped samples in WASAPI buffer conversion

9 years agoMerge pull request #14 from dancing-bone-machine/debian-configure
garyscavone [Fri, 30 May 2014 13:26:08 +0000 (09:26 -0400)]
Merge pull request #14 from dancing-bone-machine/debian-configure

Checking for pulseaudio on Debian

9 years agoChecking for pulseaudio on Debian
Rafael Vega [Sat, 17 May 2014 20:48:41 +0000 (15:48 -0500)]
Checking for pulseaudio on Debian

9 years agoRemoved add_defines line for ALSA from CMakeLists.txt file, as it does not seem neces...
Gary Scavone [Wed, 7 May 2014 15:02:32 +0000 (11:02 -0400)]
Removed add_defines line for ALSA from CMakeLists.txt file, as it does not seem necessary (and the add_defines macro does not exist)

10 years agoAdded new setStreamTime function; Documentation updates for 4.1.1 release.
Gary Scavone [Sat, 26 Apr 2014 18:39:15 +0000 (14:39 -0400)]
Added new setStreamTime function; Documentation updates for 4.1.1 release.

10 years agoUpdates to test programs when specifying default device numbers.
Gary Scavone [Sat, 26 Apr 2014 13:44:39 +0000 (09:44 -0400)]
Updates to test programs when specifying default device numbers.

10 years agoMerge branch 'master' of https://github.com/thestk/rtaudio
Gary Scavone [Sat, 26 Apr 2014 13:26:44 +0000 (09:26 -0400)]
Merge branch 'master' of https://github.com/thestk/rtaudio

10 years agoMerge pull request #11 from MarcusTomlinson/master
garyscavone [Sat, 26 Apr 2014 13:26:20 +0000 (09:26 -0400)]
Merge pull request #11 from MarcusTomlinson/master

Fix choppy audio on input only mode (WASAPI)

10 years agoWasap bug(?) fix in destructor; Update to record.cpp for default device selection.
Gary Scavone [Sat, 26 Apr 2014 12:44:43 +0000 (08:44 -0400)]
Wasap bug(?) fix in destructor; Update to record.cpp for default device selection.

10 years agoLet convertBuffer() take care of all channel count conversion, while convertBufferWas...
Marcus Tomlinson [Sat, 26 Apr 2014 09:01:40 +0000 (11:01 +0200)]
Let convertBuffer() take care of all channel count conversion, while convertBufferWasapi() does only sample rate conversion.

10 years agoSet callbackPushed flag if there is no render stream (input only mode)
Marcus Tomlinson [Sat, 26 Apr 2014 07:14:49 +0000 (09:14 +0200)]
Set callbackPushed flag if there is no render stream (input only mode)

10 years agoBug fix in Core, Jack, ASIO, and DS for internal draining in INPUT mode only; Added...
Gary Scavone [Fri, 25 Apr 2014 02:36:42 +0000 (22:36 -0400)]
Bug fix in Core, Jack, ASIO, and DS for internal draining in INPUT mode only; Added some mutexes in DS to fix input-only errors; Added libraries to CMakeLists.txt for MinGW compile of WASAPI.

10 years agoAdded an explicit cast of (LPCTSRT) on line 4626, which seemed necessary when compili...
Gary Scavone [Wed, 23 Apr 2014 19:56:07 +0000 (15:56 -0400)]
Added an explicit cast of (LPCTSRT) on line 4626, which seemed necessary when compiling with UNICODE defined.

10 years agoMerge pull request #8 from MarcusTomlinson/master
garyscavone [Fri, 18 Apr 2014 21:47:19 +0000 (17:47 -0400)]
Merge pull request #8 from MarcusTomlinson/master

Fix WASAPI shutdown crash

10 years agoRemoved now irrelevant comment
Marcus Tomlinson [Fri, 18 Apr 2014 14:14:54 +0000 (16:14 +0200)]
Removed now irrelevant comment

10 years agoSupport all sample rates for WASAPI
Marcus Tomlinson [Fri, 18 Apr 2014 14:03:11 +0000 (16:03 +0200)]
Support all sample rates for WASAPI

10 years agoFixed shutdown crash on certain sample rates
Marcus Tomlinson [Fri, 18 Apr 2014 14:02:56 +0000 (16:02 +0200)]
Fixed shutdown crash on certain sample rates

10 years agoAdded an author header to the WASAPI section
Marcus Tomlinson [Fri, 18 Apr 2014 14:01:48 +0000 (16:01 +0200)]
Added an author header to the WASAPI section

10 years agoUpdate for compiling WASAPI on both MinGW and VS.
Gary Scavone [Wed, 16 Apr 2014 01:16:04 +0000 (21:16 -0400)]
Update for compiling WASAPI on both MinGW and VS.

10 years agoAdded include file (FunctionDiscoveryKeys_devpkey.h) needed for MinGW compile of...
Gary Scavone [Wed, 16 Apr 2014 00:44:51 +0000 (20:44 -0400)]
Added include file (FunctionDiscoveryKeys_devpkey.h) needed for MinGW compile of WASAPI API.

10 years agoUpdates to WASAPI API to support MinGW compile.
Gary Scavone [Wed, 16 Apr 2014 00:40:51 +0000 (20:40 -0400)]
Updates to WASAPI API to support MinGW compile.