Commit graph

143 commits

Author SHA1 Message Date
GZharun
7d5e2bc0cb [Summary] Extended list of supported sample rates on MAC and for None device according to PRD 2014-09-23 12:41:05 +03:00
Greg Zharun
3cc0c8d569 [Summary] Added handlers for events in Port Audio which where not handled. For all "Resynck Request", "Latency Changed" and "Buffer size Changed" events restart is required.
NOTE: Other devices, unlike Sound Grid, trigger "Restart Request" event for all above cases.
2014-09-11 11:12:19 +03:00
Greg Zharun
3d7a062215 [Summary] Fixed main callback input data size issue: incorrect size of the buffer was provided during memory copy procedure 2014-09-10 19:18:24 +03:00
GZharun
ccc2f07fb3 [Summary] Corrected comment 2014-09-09 12:35:50 +03:00
Paul Davis
bd1cb0ce46 Revert "Add a couple of pthread helper macros"
This reverts commit 6dd4d411b3.

Conflicts:
	libs/pbd/MSVCpbd/pbd.vcproj
2014-09-08 10:41:51 -04:00
Paul Davis
8f213aefb0 missed merge conflict resolution, now fixed 2014-09-05 07:49:53 -04:00
Paul Davis
65dd500200 Revert "[Summary] Fixed broken windows backend build. Made wavesaudio the only backend for Tracks"
The wavesaudio backend only runs on OS X and Windows. This change
makes it impossible to run Tracks on Linux.

This reverts commit a6e33a0e25.
2014-09-05 07:47:57 -04:00
Greg Zharun
a6e33a0e25 [Summary] Fixed broken windows backend build. Made wavesaudio the only backend for Tracks 2014-09-05 14:34:00 +03:00
Paul Davis
58698640af fix 2nd argument to audio backend constructor for Waves backend; remove 2nd definition of descriptor() function 2014-09-03 09:32:20 -04:00
Paul Davis
c7af2444a7 Merge branch 'master' into ardour-merge
Conflicts:
	gtk2_ardour/time_axis_view_item.cc
	libs/backends/wavesaudio/waves_audiobackend.h
	libs/backends/wavesaudio/wavesapi/devicemanager/WCMRPortAudioDeviceManager.cpp
2014-09-02 10:28:52 -04:00
GZharun
bb54afa59f [Summary] Removed redundant output 2014-09-02 14:23:11 +03:00
Greg Zharun
6e204c337c [Summary] Cleaned up temporary code 2014-08-31 16:37:19 +03:00
Greg Zharun
91fcacd150 [Summary] Improved backend workflow, added synchronization for cases when device reset happens on device parameter change 2014-08-31 13:42:18 +03:00
Paul Davis
9c24d10862 Merge branch 'master' into ardour-merge
Conflicts:
	gtk2_ardour/editor.cc
	gtk2_ardour/editor_mouse.cc
	gtk2_ardour/public_editor.h
	gtk2_ardour/time_axis_view_item.cc
	gtk2_ardour/time_axis_view_item.h
2014-08-28 10:58:49 -04:00
GZharun
6009b609f6 [Summary] Simplified device information retrieving. Previous complicity was related to previous workflow which has nothing to do with current workflow. 2014-08-28 10:47:01 +03:00
Robin Gareus
0e6b9e25c3 add AudioEngine API to configure individual MIDI devices 2014-08-17 15:19:55 -04:00
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