Commit graph

127 commits

Author SHA1 Message Date
Robin Gareus
050618c5da enforce style-guide #3, #26 and #27
Conflicts:
	libs/backends/wavesaudio/wscript
2014-08-16 17:01:40 -04:00
Robin Gareus
f3b2c02749 fix type typo 2014-08-16 17:00:01 -04:00
Robin Gareus
6eaa121474 outline portable implementation to replace clock_gettime() 2014-08-16 16:49:11 -04:00
John Emmas
cc944dd940 Add some more missing #includes 2014-08-16 16:34:48 -04:00
John Emmas
4c10034682 'atomic_ops' to use glib, rather than Waves's inbuilt atomic operations
Note that the following source files can be removed once we know this works on all platforms:-
backends/wavesaudio/wavesapi/akupara/threading/atomic_ops.hpp
backends/wavesaudio/wavesapi/akupara/threading/atomic_ops_gcc_x96.hpp
backends/wavesaudio/wavesapi/akupara/basics.hpp
backends/wavesaudio/wavesapi/akupara/compiletime_functions.hpp
2014-08-16 16:34:40 -04:00
John Emmas
e15ba3cd69 Add a return value to 'WCMRPortAudioDeviceManager::getDeviceAvailableSampleRates()'
(whilst technically, it doesn't report any encountered errors, it should nevertheless be returning some kind of error status)
2014-08-16 16:34:33 -04:00
John Emmas
6dd4d411b3 Add a couple of pthread helper macros
(to accommodate the fact that in ptw-win32, 'pthread_t' is subtlely different from its non-Windows counterparts)

Conflicts:
	libs/pbd/MSVCpbd/pbd.vcproj
2014-08-16 16:34:17 -04:00
John Emmas
fbc9d19cb2 Add the 'porttime' source file for Windows
Conflicts:
	libs/backends/wavesaudio/portmidi/src/porttime/ptwinmm.c
2014-08-16 16:33:49 -04:00
John Emmas
3dd30eef03 Add some type guards to 'wstdint.h' (in case we previously #included some headers which already define those types) 2014-08-16 16:33:27 -04:00
John Emmas
7d80809c3d Add some casting and namespace specifiers to keep MSVC happy 2014-08-16 16:33:22 -04:00
John Emmas
216d8d5a00 Add a couple of missing header files (needed for cin /cout etc) 2014-08-16 16:33:17 -04:00
Paul Davis
8b2f9b8aa1 fix install path for ./waf install of waves backend
Conflicts:
	libs/backends/wavesaudio/wscript
2014-08-16 16:29:41 -04:00
Paul Davis
e39b66fb7c second part of windows/osx macro change - forgot *.cpp files 2014-08-16 16:29:13 -04:00
Paul Davis
12d5a33626 alter platform-dependent preprocessor macros to use the same names as the rest of the ardour codebase 2014-08-16 16:29:07 -04:00
Paul Davis
b7d2338351 Add AudioBackend::info() method to retrieve AudioBackendInfo object
Goal is to be able to call AudioBackendInfo::already_configured() from the right place.

Conflicts:
	libs/backends/jack/jack_api.cc
	libs/backends/jack/jack_audiobackend.cc
	libs/backends/jack/jack_audiobackend.h
	libs/backends/wavesaudio/waves_audiobackend.cc
2014-08-16 16:17:48 -04:00
Paul Davis
937c0764be finish unfinished work at basing all install paths on the program name
Conflicts:
	libs/backends/jack/wscript
	libs/backends/wavesaudio/wscript
	libs/canvas/wscript
	wscript
2014-08-16 16:10:15 -04:00
Greg Zharun
b5c08b6984 [Summary] Improved Port audio Waves API on Windows
[Details] Fixed issue when device sample rate changed by device but not updated in client (tracks engine state controller)
Added PA stream opening retry attempts, because PA needs some time to apply changes and may not successfully open stream at once
2014-08-13 19:39:00 +03:00
GZharun
9c67a37f60 [Summary] Fixed issue with incorrect Mac OS string decoding on Maverics for device channel names 2014-07-30 16:25:29 +03:00
VKamyshniy
5c39b2e283 [Summary] Fixing the (C) info 2014-07-18 21:57:41 +03:00
Greg Zharun
e20ca80c44 [Summary] Added channel name prefix according to PRD 2014-07-18 14:07:13 +03:00
GZharun
4e8c702e9a [Summary] Fixed Mavericks specific backend issue 2014-07-16 12:54:56 +03:00
GZharun
8c69a972b2 [Summary] Made Tracks buildable on MAC OS X 10.9 Maverricks.
[Details] Important: On Mavericks Tracks could be successfully built with static library linkage so far.
Use --internal-static-libs flag configuring the build.
[Reviewed by] Partially reviewed by Paul Davis. Some Improvements may be promoted in future.
2014-07-15 15:14:08 +03:00
nikolay
baa41a5907 [Summary] Fixed potential bug
[Review] GZharun
2014-07-15 13:54:18 +03:00
Greg Zharun
e6f3b19674 [Summary] Corrected log in waves API on Windows 2014-07-09 11:24:41 +03:00
Greg Zharun
cfe2b3c17c [Summary] Fixed windows error with retrieving available sample rates from the device:
error code was not returned when eNoError value should be.
2014-07-08 13:00:32 +03:00
GZharun
0cf788ef12 [Summary] Added possibility to update sample rate list for devices on the fly on MAC 2014-07-08 12:27:20 +03:00
GZharun
daf365ced0 [Summary] Implemented Condition/Lock synchronization for Engine HW enevt handling 2014-07-03 17:12:51 +03:00
grygoriiz
489ead12ba [Summary] Added backend/engine update mechanism when device configuration changes (I/O layout, etc.)
[Reviewed by] The idea of event handling queue has been reviewed by Paul Davis
2014-07-02 13:46:53 +03:00
Greg Zharun
9cdb799f3b Implemented Tracks backend/engine reaction on device configuration changes (like I/O layout changes etc.) on Windows 2014-07-01 14:25:03 +03:00
Paul Davis
41aa608ad0 fix wscript for wavesaudio backend so that it uses the correct name for the CoreM[iI][dD][iI] framework on Lion and other OS X versions.
Thanks, Apple.
2014-06-24 13:07:22 -04:00
grygoriiz
bf2dc8fdb8 [Summary] Used older version of CoreAudio API by Paul's suggestion to support MAC OS X version older then 10.8 2014-06-24 18:29:46 +03:00
Greg Zharun
301b9b13bf [Summary] Added PortAudio device channels names retrieving from the driver 2014-06-24 16:43:26 +03:00
grygoriiz
3493d2ccb3 Added Device channel names retrieving on MAC. 2014-06-23 11:59:59 +03:00
Nikolay Polyanovskii
2cf7eafb21 Improve handler of Device_Control_Panel button
[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 467536]
2014-06-16 11:31:35 -04:00
Greg Zharun
7fb8bdd046 Added Visual Studio project for waves audiobackend 2014-06-16 16:02:25 +03:00
grygoriiz
4c06256bc9 Removed project files which should not be tracked by VCS 2014-06-16 13:27:43 +03:00
grygoriiz
c655ba8467 Moved waves_audiobackend project to the lib's folder 2014-06-16 13:18:52 +03:00
grygoriiz
864514e557 Added generic MAC OS identification when linking backend to CoreMidi 2014-06-12 14:43:24 +03:00
Paul Davis
514a0c3e93 fix wavesaudio backend wscript so that it can build on Lion
1. C code based on MS extensions requires -fms-extensions (readbinaryplist.c in port* code)
2. CoreMidi framework is not required on Lion and breaks linkage
2014-05-28 15:20:22 -04:00
Valeriy Kamyshniy
f2e5c2428d Setting MIDI support ON by default (when construction)
[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 446494]
2014-03-26 14:41:40 -05:00
Grygorii Zharun
f300eaba93 [Summary] Fixed MAC build
[Details] Added fixes to make the code cross platform compilable
[Reviewed by] N/A

[git-p4: depot-paths = "//Abdaw/dev_main/tracks/": change = 446294]
2014-03-26 06:31:34 -05:00
Paul Davis
3bd97e0e9a copy over several files that are missing terminal newlines in the tracks p4 446170 code 2014-05-28 07:57:02 -04:00
Valeriy Kamyshniy
3f80a13de2 [P4/git history rebuild] 2014-05-27 22:52:57 -04:00
Valeriy Kamyshniy
607447366a [P4/git history rebuild] 2014-05-27 22:52:52 -04:00
Valeriy Kamyshniy
4ed84f1847 [P4/git history rebuild] 2014-05-27 22:52:49 -04:00
Valeriy Kamyshniy
ff9af52eee [P4/git history rebuild] 2014-05-27 22:52:46 -04:00
Valeriy Kamyshniy
c7d60b19d2 [P4/git history rebuild] 2014-05-27 22:52:42 -04:00
Valeriy Kamyshniy
dbf7563d5e [P4/git history rebuild] 2014-05-27 22:52:36 -04:00
Valeriy Kamyshniy
1fecf08aaa [P4/git history rebuild] 2014-05-27 22:52:33 -04:00
Valeriy Kamyshniy
979e5707b3 [P4/git history rebuild] 2014-05-27 22:52:29 -04:00