Carl Hetherington [Wed, 19 Apr 2017 22:42:17 +0000 (23:42 +0100)]
Fix error in cscript.
Carl Hetherington [Mon, 21 Mar 2016 01:13:55 +0000 (01:13 +0000)]
Try to support debug mode when building.
Carl Hetherington [Sun, 20 Mar 2016 15:35:09 +0000 (15:35 +0000)]
Hack configure to work with a cross compiler.
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.
Carl Hetherington [Sun, 20 Mar 2016 17:42:48 +0000 (17:42 +0000)]
Missing include for roundf().
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.
Carl Hetherington [Sat, 19 Mar 2016 21:15:52 +0000 (21:15 +0000)]
Report playback latency for PulseAudio.
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.
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.
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.
Gary Scavone [Mon, 22 Feb 2016 21:15:53 +0000 (16:15 -0500)]
Final documentation update before release 4.1.2.
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.
Gary Scavone [Mon, 22 Feb 2016 20:50:52 +0000 (15:50 -0500)]
A few more pre-release (4.1.2) updates.
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.
Stephen Sinclair [Thu, 18 Feb 2016 16:16:27 +0000 (13:16 -0300)]
Move version check up to beginning of configure.ac.
Gary Scavone [Wed, 17 Feb 2016 01:43:28 +0000 (20:43 -0500)]
Version number update in configure.ac in advance of new release.
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
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"
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
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).
Stephen Sinclair [Fri, 12 Feb 2016 14:11:41 +0000 (11:11 -0300)]
Update version number to 4.1.1 in configure.ac
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.
Stephen Sinclair [Fri, 12 Feb 2016 14:05:34 +0000 (11:05 -0300)]
Port the build system to automake.
Stephen Sinclair [Fri, 12 Feb 2016 14:04:59 +0000 (11:04 -0300)]
Rename librtaudio.pc to rtaudio.pc.
Stephen Sinclair [Fri, 12 Feb 2016 14:02:51 +0000 (11:02 -0300)]
Generate version number in Doxyfile with configure.
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.
Stephen Sinclair [Fri, 12 Feb 2016 13:58:08 +0000 (10:58 -0300)]
Add .gitignore
Gary Scavone [Thu, 11 Feb 2016 13:20:44 +0000 (08:20 -0500)]
Removed execute mode from RtAudio.cpp (why was it set?)
Gary Scavone [Thu, 11 Feb 2016 13:13:14 +0000 (08:13 -0500)]
Documentation updates in advance of new release
Gary Scavone [Wed, 10 Feb 2016 20:32:20 +0000 (15:32 -0500)]
WASAPI stream time update, as suggested by Patrice Taravel
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
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++
Guilherme Steinmann [Mon, 21 Dec 2015 12:29:26 +0000 (10:29 -0200)]
Release lock if GetCurrentPosition from DS failed
Berkus Decker [Tue, 22 Sep 2015 16:02:52 +0000 (19:02 +0300)]
Don't take address of boolean flag, use flag itself instead.
Berkus Decker [Tue, 22 Sep 2015 15:46:47 +0000 (18:46 +0300)]
Add ALSA include directories to fix compile on some systems.
Berkus Decker [Mon, 1 Sep 2014 21:13:26 +0000 (00:13 +0300)]
Disable policy change for cmake 3.0
Berkus Decker [Mon, 1 Sep 2014 21:13:17 +0000 (00:13 +0300)]
Register is no more in modern C++.
Gary Scavone [Fri, 8 May 2015 13:26:50 +0000 (09:26 -0400)]
Update optional stream name for playback in PulseAudio API.
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__
snori [Tue, 7 Apr 2015 17:02:09 +0000 (02:02 +0900)]
delete not needed line. (duplicated)
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
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.
Gary Scavone [Mon, 6 Apr 2015 19:42:01 +0000 (15:42 -0400)]
Commit of ALSA underrun warning message fix
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.
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.
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
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
Guilherme Steinmann [Wed, 25 Mar 2015 12:13:30 +0000 (09:13 -0300)]
Fix closeStream on Mac OS X
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.
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).
Gary Scavone [Mon, 3 Nov 2014 20:47:01 +0000 (15:47 -0500)]
Fixed some missing unlocks before calling error() in DS API.
garyscavone [Mon, 3 Nov 2014 19:02:02 +0000 (14:02 -0500)]
Merge pull request #25 from yedey/master
Fixes for WASAPI / ASIO
garyscavone [Mon, 3 Nov 2014 18:40:05 +0000 (13:40 -0500)]
Merge pull request #29 from tmatth/static_analysis_fixes
Static analysis fixes
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
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
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
Tristan Matthews [Sun, 2 Nov 2014 04:56:12 +0000 (00:56 -0400)]
rtaudio: avoid NULL dereference
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.
Harris Georgiou [Thu, 16 Oct 2014 12:12:16 +0000 (14:12 +0200)]
Fix for NULL options in PULSE audio backend in probeDeviceOpen
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.
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.
yedey [Mon, 6 Oct 2014 12:08:51 +0000 (14:08 +0200)]
Fixed major ASIO duplex initialization bug. Added "preferredSampleRate" to the device info.
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
yedey [Thu, 2 Oct 2014 19:29:48 +0000 (21:29 +0200)]
WASAPI device name encoding fix, fixed skipped samples in WASAPI buffer conversion
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
Rafael Vega [Sat, 17 May 2014 20:48:41 +0000 (15:48 -0500)]
Checking for pulseaudio on Debian
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)
Gary Scavone [Sat, 26 Apr 2014 18:39:15 +0000 (14:39 -0400)]
Added new setStreamTime function; Documentation updates for 4.1.1 release.
Gary Scavone [Sat, 26 Apr 2014 13:44:39 +0000 (09:44 -0400)]
Updates to test programs when specifying default device numbers.
Gary Scavone [Sat, 26 Apr 2014 13:26:44 +0000 (09:26 -0400)]
Merge branch 'master' of https://github.com/thestk/rtaudio
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)
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.
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.
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)
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.
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.
garyscavone [Fri, 18 Apr 2014 21:47:19 +0000 (17:47 -0400)]
Merge pull request #8 from MarcusTomlinson/master
Fix WASAPI shutdown crash
Marcus Tomlinson [Fri, 18 Apr 2014 14:14:54 +0000 (16:14 +0200)]
Removed now irrelevant comment
Marcus Tomlinson [Fri, 18 Apr 2014 14:03:11 +0000 (16:03 +0200)]
Support all sample rates for WASAPI
Marcus Tomlinson [Fri, 18 Apr 2014 14:02:56 +0000 (16:02 +0200)]
Fixed shutdown crash on certain sample rates
Marcus Tomlinson [Fri, 18 Apr 2014 14:01:48 +0000 (16:01 +0200)]
Added an author header to the WASAPI section
Gary Scavone [Wed, 16 Apr 2014 01:16:04 +0000 (21:16 -0400)]
Update for compiling WASAPI on both MinGW and VS.
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.
Gary Scavone [Wed, 16 Apr 2014 00:40:51 +0000 (20:40 -0400)]
Updates to WASAPI API to support MinGW compile.
Gary Scavone [Fri, 11 Apr 2014 00:24:09 +0000 (20:24 -0400)]
Update to CMake file for WASAPI; documentation update for CMake; finalized date for release 4.1.0
garyscavone [Fri, 11 Apr 2014 00:00:32 +0000 (20:00 -0400)]
Merge pull request #3 from berkus/master
Add CMake buildfile.
Gary Scavone [Thu, 10 Apr 2014 00:48:06 +0000 (20:48 -0400)]
Another small documentation change before the next release.
Gary Scavone [Wed, 9 Apr 2014 19:14:30 +0000 (15:14 -0400)]
Bug fix for DS enumeration when devices are unplugged; bug fix if an error occurs when opening a stream after a previous stream was closed; various documentation updates in preparation for release 4.1.0.
Gary Scavone [Wed, 2 Apr 2014 17:41:27 +0000 (13:41 -0400)]
Updated WASAPI code from v0.1 to v0.2.
Gary Scavone [Wed, 2 Apr 2014 17:06:01 +0000 (13:06 -0400)]
Various WASAPI-related changes.
Gary Scavone [Tue, 1 Apr 2014 16:03:38 +0000 (12:03 -0400)]
Added Wasapi code (though untested); Updates for better data format support in PulseAudio; Commented-out various unused function arguments in tests/ files.
Gary Scavone [Mon, 31 Mar 2014 20:46:04 +0000 (16:46 -0400)]
Fix for ALSA runnable flag update mistake; moved streamname declaration in PULSE code to avoid compiler complaint.
Gary Scavone [Wed, 12 Mar 2014 17:44:41 +0000 (13:44 -0400)]
Minor update to release.txt
Gary Scavone [Tue, 11 Mar 2014 16:45:13 +0000 (12:45 -0400)]
Bug fix for OS-X xrun reporting, plus small efficiency change to getVersion() function.
Berkus [Tue, 4 Feb 2014 12:58:26 +0000 (14:58 +0200)]
Build test programs.
Berkus [Tue, 4 Feb 2014 12:57:59 +0000 (14:57 +0200)]
Set some flags depending on compiler and environment.
Berkus [Tue, 4 Feb 2014 12:57:25 +0000 (14:57 +0200)]
Add full API selection mechanism.
Mostly copied from configure.ac.
Berkus [Tue, 4 Feb 2014 12:56:24 +0000 (14:56 +0200)]
Remove primitive API selection code.
Berkus [Tue, 4 Feb 2014 12:55:12 +0000 (14:55 +0200)]
Add options for manual selection of APIs.
Berkus [Tue, 4 Feb 2014 12:53:42 +0000 (14:53 +0200)]
Add prologue code.