Carl Hetherington [Thu, 24 Dec 2020 21:40:37 +0000 (22:40 +0100)]
Fix arm64 build.
Carl Hetherington [Mon, 15 Apr 2019 21:53:49 +0000 (22:53 +0100)]
Fix mis-merge.
Carl Hetherington [Mon, 15 Apr 2019 20:23:08 +0000 (21:23 +0100)]
Windows build fix.
Carl Hetherington [Mon, 15 Apr 2019 20:18:41 +0000 (21:18 +0100)]
Fix include case.
Carl Hetherington [Mon, 15 Apr 2019 12:55:10 +0000 (13:55 +0100)]
Try to fix build by removing std:: qualifier.
Carl Hetherington [Mon, 15 Apr 2019 12:50:57 +0000 (13:50 +0100)]
Hack configure to work with a cross compiler.
Carl Hetherington [Mon, 15 Apr 2019 12:49:15 +0000 (13:49 +0100)]
Add autoconf stuff to git.
Carl Hetherington [Mon, 15 Apr 2019 11:44:27 +0000 (12:44 +0100)]
Hack pulseaudio channel map for 5.1 DCPs to see if it fixes multi-channel playback on Linux.
Carl Hetherington [Mon, 15 Apr 2019 11:42:29 +0000 (12:42 +0100)]
Try to support > 2 output channels with PulseAudio.
Carl Hetherington [Mon, 15 Apr 2019 11:36:47 +0000 (12:36 +0100)]
Add cscript.
Carl Hetherington [Mon, 15 Apr 2019 11:36:04 +0000 (12:36 +0100)]
Missing include for roundf().
Carl Hetherington [Mon, 15 Apr 2019 11:34:47 +0000 (12:34 +0100)]
Fix case of include filename.
This shouldn't matter for Windows hosts but it is necessary
for cross compiling from Linux.
Carl Hetherington [Mon, 15 Apr 2019 11:34:06 +0000 (12:34 +0100)]
Report playback latency for PulseAudio.
Carl Hetherington [Mon, 15 Apr 2019 11:30:52 +0000 (12:30 +0100)]
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 [Mon, 15 Apr 2019 11:24:46 +0000 (12:24 +0100)]
Stop PulseAudio callback busy-waiting when stream is stopped.
Stephen Sinclair [Mon, 25 Feb 2019 15:22:03 +0000 (16:22 +0100)]
Changes to CMakeLists to make use with add_subdirectory easier.
Analog of pr #190 for RtMidi.
Marcus Tomlinson [Sun, 24 Feb 2019 16:15:29 +0000 (16:15 +0000)]
WASAPI : Ring buffer in/out index fix
Marcus Tomlinson [Sun, 24 Feb 2019 15:56:50 +0000 (15:56 +0000)]
WASAPI : Call tickStreamTime() only once per callback
Marcus Tomlinson [Sun, 24 Feb 2019 17:58:43 +0000 (17:58 +0000)]
Check for '#if defined( WIN32 )' in test apps
Marcus Tomlinson [Sun, 24 Feb 2019 15:18:51 +0000 (15:18 +0000)]
Fix CMake VS build
garyscavone [Wed, 13 Feb 2019 15:34:30 +0000 (10:34 -0500)]
Merge pull request #185 from jleben/fix-alsa-get-device-count-error
Alsa 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
Marcus Tomlinson [Mon, 28 Jan 2019 09:41:16 +0000 (09:41 +0000)]
Merge pull request #183 from MarcusTomlinson/master
WASAPI : Fixed #180 and reduced latency
Marcus Tomlinson [Sun, 27 Jan 2019 23:25:57 +0000 (23:25 +0000)]
WASAPI : Fixed issue where latency was introduced on stream stop / start
Marcus Tomlinson [Sun, 27 Jan 2019 23:22:31 +0000 (23:22 +0000)]
WASAPI : Removed unnecessary latency in I/O ring buffers
Marcus Tomlinson [Sun, 27 Jan 2019 16:25:03 +0000 (16:25 +0000)]
WASAPI: calloc stream buffers to ensure unused channels are left silent
Stephen Sinclair [Thu, 24 Jan 2019 14:16:28 +0000 (15:16 +0100)]
Ensure a warning in asiolist.cpp does not become error with -Wall.
Stephen Sinclair [Thu, 24 Jan 2019 14:12:16 +0000 (15:12 +0100)]
Fix warning about casting result of GetProcAddress.
Stephen Sinclair [Thu, 24 Jan 2019 14:05:52 +0000 (15:05 +0100)]
Fix warning re S24 not trivially copyable by removing copy constructor.
Stephen Sinclair [Thu, 24 Jan 2019 11:43:47 +0000 (12:43 +0100)]
automake: fix inconsistency between --with-ds and --with-dsound
Go with --with-dsound.
Stephen Sinclair [Thu, 24 Jan 2019 11:43:25 +0000 (12:43 +0100)]
automake: add configuration for mingw64 and msys/msys2
Stephen Sinclair [Thu, 24 Jan 2019 11:42:57 +0000 (12:42 +0100)]
automake: fix repeated defines and libs for WASAPI and DSound.
Stephen Sinclair [Sat, 29 Dec 2018 14:38:02 +0000 (15:38 +0100)]
Update lastTickTimestamp in startStream.
Fixes #144.
Stephen Sinclair [Sat, 29 Dec 2018 14:03:27 +0000 (15:03 +0100)]
Windows: include stdint.h for ThreadHandle.
Fixes #142.
Marcus Tomlinson [Thu, 13 Dec 2018 23:16:42 +0000 (23:16 +0000)]
#170 : Insert missing render memcpy when !doConvertBuffer in WASAPI
Stephen Sinclair [Thu, 13 Dec 2018 22:44:30 +0000 (23:44 +0100)]
Merge remote-tracking branch 'upstream/pr/174'
Marcus Tomlinson [Thu, 13 Dec 2018 22:40:29 +0000 (22:40 +0000)]
#170 : Enable WASAPI doConvertBuffer when userInterleaved is enabled
Stephen Sinclair [Thu, 13 Dec 2018 22:27:27 +0000 (23:27 +0100)]
Merge remote-tracking branch 'upstream/pr/173'
Marcus Tomlinson [Thu, 13 Dec 2018 21:25:23 +0000 (21:25 +0000)]
#172 : Fix hang in closing logic of wasapiThread()
sonoro1234 [Thu, 13 Dec 2018 16:32:52 +0000 (17:32 +0100)]
rename in header also
sonoro1234 [Thu, 13 Dec 2018 16:27:12 +0000 (17:27 +0100)]
rtaudio_num_comiled_api renamed rtaudio_get_num_compiled_apis
sonoro1234 [Wed, 5 Dec 2018 09:58:13 +0000 (10:58 +0100)]
drop const from return
sonoro1234 [Wed, 5 Dec 2018 09:08:10 +0000 (10:08 +0100)]
rtaudio_c: add rtaudio_num_compiled_api()
sonoro1234 [Thu, 15 Nov 2018 09:20:36 +0000 (10:20 +0100)]
CMakeLists.txt: only change include in WASAPI
sonoro1234 [Thu, 15 Nov 2018 08:47:24 +0000 (09:47 +0100)]
CMakeLists: avoid include error: C:\luaGL\gitsources\luaRtAudio\rtaudio\RtAudio.cpp:3758:43: fatal error: functiondiscoverykeys_devpkey.h: No s
uch file or directory
#include <functiondiscoverykeys_devpkey.h>
garyscavone [Mon, 12 Nov 2018 13:19:58 +0000 (08:19 -0500)]
Merge pull request #165 from MarcusTomlinson/master
WASAPI : Allow loopback without output parameters
Marcus Tomlinson [Fri, 2 Nov 2018 19:44:31 +0000 (19:44 +0000)]
Fix potential memory leak
Marcus Tomlinson [Fri, 2 Nov 2018 16:01:49 +0000 (16:01 +0000)]
Allow loopback without having to define output parameters
Taylor Holberton [Sun, 10 Jun 2018 21:24:37 +0000 (17:24 -0400)]
removed getStreamLatency() from derived API classes
Ryan Schmidt [Sun, 26 Aug 2018 02:29:46 +0000 (21:29 -0500)]
Change "Direct Sound" to "DirectSound"
Marcus Tomlinson [Fri, 26 Oct 2018 19:10:11 +0000 (20:10 +0100)]
Add loopback support to WASAPI
Serge Zaitsev [Tue, 30 Oct 2018 11:17:42 +0000 (12:17 +0100)]
Fix Go build due to enum casting (#164)
* fix go build due to enum casts by casting enum array explicitly
Stephen Sinclair [Tue, 16 Oct 2018 13:09:53 +0000 (15:09 +0200)]
Merge remote-tracking branch 'upstream/pr/141'
Stephen Sinclair [Tue, 16 Oct 2018 13:04:54 +0000 (15:04 +0200)]
Merge remote-tracking branch 'upstream/pr/154'
Stephen Sinclair [Tue, 16 Oct 2018 13:01:30 +0000 (15:01 +0200)]
Merge remote-tracking branch 'upstream/pr/136'
Stephen Sinclair [Tue, 16 Oct 2018 12:59:30 +0000 (14:59 +0200)]
Merge remote-tracking branch 'upstream/pr/139'
Stephen Sinclair [Tue, 16 Oct 2018 12:58:45 +0000 (14:58 +0200)]
Merge remote-tracking branch 'upstream/pr/159'
Marcus Tomlinson [Fri, 12 Oct 2018 21:27:33 +0000 (22:27 +0100)]
Merge branch 'master' of https://github.com/thestk/rtaudio
Benjamin Brown [Tue, 2 Oct 2018 06:36:36 +0000 (02:36 -0400)]
Use current directory.
Marcus Tomlinson [Fri, 28 Sep 2018 22:14:14 +0000 (23:14 +0100)]
Fix linker flags
Marcus Tomlinson [Fri, 28 Sep 2018 21:56:08 +0000 (22:56 +0100)]
More fixes to MinGW build
Marcus Tomlinson [Fri, 28 Sep 2018 21:48:54 +0000 (22:48 +0100)]
More fixes
Marcus Tomlinson [Fri, 28 Sep 2018 21:00:15 +0000 (22:00 +0100)]
Fix mingw32 WASAPI build
garyscavone [Mon, 27 Aug 2018 21:30:42 +0000 (17:30 -0400)]
Merge pull request #156 from spmp/feature/spmp-changes
Add device id to audioprobe output
Ryan Schmidt [Sun, 26 Aug 2018 02:14:48 +0000 (21:14 -0500)]
Change "ex." to "e.g."
Ryan Schmidt [Sun, 26 Aug 2018 02:13:54 +0000 (21:13 -0500)]
Add missing apostrophe and parentheses
And capitalize and add a period at the end of the next sentence.
Ryan Schmidt [Sun, 26 Aug 2018 02:12:45 +0000 (21:12 -0500)]
Change "eg." to "e.g."
Ryan Schmidt [Sun, 26 Aug 2018 02:11:17 +0000 (21:11 -0500)]
Change "eg:" to "e.g."
Stephen Sinclair [Fri, 24 Aug 2018 11:13:23 +0000 (08:13 -0300)]
Don't error on unused-function.
Because of convertCharPointerToStdString for example.
Marcus Tomlinson [Fri, 20 Apr 2018 16:37:02 +0000 (18:37 +0200)]
Move stream_.state update to the end of wasapiThread()
Marcus Tomlinson [Sun, 15 Apr 2018 07:40:48 +0000 (09:40 +0200)]
Fix conversion between different format types in resampler
Marcus Tomlinson [Sat, 23 Dec 2017 13:57:51 +0000 (15:57 +0200)]
Only autolink on VS
Marcus Tomlinson [Sat, 23 Dec 2017 12:46:16 +0000 (14:46 +0200)]
Case sensitive header perhaps?
Marcus Tomlinson [Sat, 23 Dec 2017 09:37:08 +0000 (11:37 +0200)]
Fix indentation
Marcus Tomlinson [Sat, 23 Dec 2017 09:28:25 +0000 (11:28 +0200)]
Fix setting stream_.doConvertBuffer[mode]
Marcus Tomlinson [Sat, 23 Dec 2017 09:22:43 +0000 (11:22 +0200)]
Replace convertBufferWasapi() calls with renderResampler->Convert()
Marcus Tomlinson [Sat, 23 Dec 2017 09:10:28 +0000 (11:10 +0200)]
Init resamplers
Marcus Tomlinson [Sat, 23 Dec 2017 08:59:28 +0000 (10:59 +0200)]
Replace convertBufferWasapi with new WasapiResampler
Marcus Tomlinson [Sat, 23 Dec 2017 08:45:10 +0000 (10:45 +0200)]
Revert strict sample rate selection in WASAPI API
Stephen Sinclair [Wed, 15 Aug 2018 18:25:06 +0000 (15:25 -0300)]
automake: Fix rtaudio.pc prefix variable
JP Cimalando [Fri, 10 Aug 2018 13:24:46 +0000 (15:24 +0200)]
allow to obtain api names regardless of being compiled or not
Stephen Sinclair [Sat, 11 Aug 2018 01:45:56 +0000 (21:45 -0400)]
Merge branch 'separate-os-api-testing'
Stephen Sinclair [Sat, 11 Aug 2018 01:07:15 +0000 (21:07 -0400)]
Update availability of platforms in configure help.
Stephen Sinclair [Thu, 9 Aug 2018 19:55:57 +0000 (15:55 -0400)]
Remove the compiledApis vector.
JP Cimalando [Thu, 9 Aug 2018 14:45:07 +0000 (16:45 +0200)]
Jack: allow unconnected streams to have more ports than device
JP Cimalando [Thu, 9 Aug 2018 11:27:45 +0000 (13:27 +0200)]
make some data extern C and const
JP Cimalando [Thu, 9 Aug 2018 11:16:54 +0000 (13:16 +0200)]
replace with something nicer: init_compiledApis
JP Cimalando [Thu, 9 Aug 2018 11:04:07 +0000 (13:04 +0200)]
enable selective exports in CMake builds
JP Cimalando [Thu, 9 Aug 2018 10:49:45 +0000 (12:49 +0200)]
fix the link step on Windows
Stephen Sinclair [Wed, 8 Aug 2018 23:28:12 +0000 (19:28 -0400)]
Fix typo in previous commit.
Stephen Sinclair [Wed, 8 Aug 2018 19:01:18 +0000 (15:01 -0400)]
Fix api name functions for C, replace map with array.
Stephen Sinclair [Wed, 8 Aug 2018 18:15:00 +0000 (14:15 -0400)]
Export C API symbols when compiled with g++
JP Cimalando [Wed, 8 Aug 2018 16:51:45 +0000 (18:51 +0200)]
reference return for API names
Stephen Sinclair [Wed, 8 Aug 2018 15:55:39 +0000 (11:55 -0400)]
Use a map for API names
Stephen Sinclair [Wed, 8 Aug 2018 14:30:51 +0000 (10:30 -0400)]
Merge remote-tracking branch 'upstream/pr/136'
Jasper Mackenzie [Wed, 8 Aug 2018 06:28:57 +0000 (18:28 +1200)]
add device id to audioprobe output
JP Cimalando [Tue, 7 Aug 2018 22:36:22 +0000 (00:36 +0200)]
Use short lower-case names as API identifiers
JP Cimalando [Tue, 7 Aug 2018 20:12:06 +0000 (22:12 +0200)]
Add the C interface for the name API
Stephen Sinclair [Sat, 14 Jul 2018 23:37:40 +0000 (19:37 -0400)]
cmake: forgot the C API!
Stephen Sinclair [Sat, 14 Jul 2018 22:46:12 +0000 (18:46 -0400)]
cmake: make CMakeLists.txt more similar to RtMidi's