Robin Gareus
ebfd0782e1
add missing include
2015-09-05 11:36:16 +02:00
Robin Gareus
b66bf67030
fix bitwise enum parsing
2015-09-05 00:00:16 +02:00
Tim Mayberry
a272c50597
Move AudioBackend related debug bits into libardour
...
I put these in libpbd as that is where the debug bits are for the Waves backend
but I think it makes more sense for them to be in libardour as that is where
the AudioBackend class is defined
I left the Waves debug bits in libpbd for now.
2015-09-02 12:07:14 +10:00
Tim Mayberry
463cf1cf9c
Add PBD::DebugBit for debugging issues with undo history
2015-08-19 13:56:06 +10:00
Tim Mayberry
a2fbce0e7f
Change return type and name of get_win_special_folder
...
Rename it get_win_special_folder_path to indicate what it is returning
Move documentation for the function into the header and use doxygen style
comments.
Fixes a couple of memory leaks in ArdourVideoToolPaths class although it looks
as if there are more.
2015-08-18 15:33:03 +10:00
Tim Mayberry
ea32eecf3d
Fix Searchpath::operator+ to return by value rather than reference and not modify *this
...
ladspa_search_path was the only function using this API and it is unaffected by
the change
2015-08-18 15:09:44 +10:00
John Emmas
1d2938b162
Add '_xgetbv()' for MSVC-9 and earlier
2015-08-16 13:14:54 +01:00
Paul Davis
f77a409b0c
tweaks for AVX detection
2015-08-14 08:53:06 -04:00
Robin Gareus
5a304e9e33
fix PPC builds
2015-08-12 19:16:01 +02:00
Paul Davis
c86b82aa8a
comment tweak to show that the __cpuid() intrinsic belongs to MSVC and mingw
2015-08-11 23:45:52 -04:00
Robin Gareus
94b6e7ffe4
fix mingw compilation
2015-08-12 05:25:29 +02:00
Paul Davis
b6f9bbeb2f
can't use xgetbv instruction with apple gcc under OS X Lion
2015-08-11 23:06:47 -04:00
Paul Davis
41ccfee7a4
clean up FPU code with some ideas from Chromium and the web
2015-08-11 23:00:13 -04:00
Paul Davis
bb399c8787
fix stupid logic error in testing separate bits required for AVX support
2015-08-11 20:18:38 -04:00
Paul Davis
bb5c969ac0
improved solution for xgetbv() on windows and linux with all compilers
2015-08-11 17:45:41 -04:00
Paul Davis
53bc2ba2c1
#ifdef out AVX detection on APPLE
2015-08-11 17:30:33 -04:00
Paul Davis
c0ad97c179
add required test of OS support for AVX register use
2015-08-11 17:23:11 -04:00
Paul Davis
4079855507
add test for CPU/FPU AVX capabilities
2015-08-11 16:36:46 -04:00
Robin Gareus
9e918563df
remove cruft
2015-08-07 21:10:47 +02:00
Robin Gareus
e057b873b5
amend e09c620; now with semicolon :)
2015-08-03 23:09:51 +02:00
Robin Gareus
e09c62052d
fix backslashes in quotes (windows), fixes VST scan
2015-08-03 23:06:08 +02:00
Tim Mayberry
e258c827e2
WinMME based midi input/output for portaudio backend
...
TODO:
Use MMCSS to elevate thread priorities
Enable/test and fix SYSEX related code
2015-07-31 09:59:54 +10:00
Tim Mayberry
009a06a773
Move ARDOUR::touch_file to pbd/file_utils.h
2015-07-26 12:15:19 +10:00
Tim Mayberry
44cba53219
Revert "When saving a session (in a non-English locale) make sure that we use a locale-specific path"
...
This reverts commit cf5a8651d8 .
2015-07-25 23:14:50 +10:00
Tim Mayberry
b2ff1e1734
Add unit test to check that libxml2 expects utf-8 encoded file paths on Windows
2015-07-25 23:14:50 +10:00
Tim Mayberry
226087d06a
Only create one test output directory in file copy test
...
Rather than one directory for each file
2015-07-25 23:14:50 +10:00
Tim Mayberry
dfe2ac1d38
Add unit test to assert that using locale_from_utf8/::open will fail for some file paths on Windows
2015-07-25 23:14:45 +10:00
John Emmas
cf5a8651d8
When saving a session (in a non-English locale) make sure that we use a locale-specific path
2015-07-23 17:55:13 +01:00
Robin Gareus
7742d07b3a
fix compilation w/o posix_malign
2015-07-19 23:24:19 +02:00
Robin Gareus
2f10fb5b96
OSX 10.5/PPC compat
...
posix_memalign is 10.6 or later
2015-07-19 23:02:24 +02:00
John Emmas
e29fd9a2fd
Minor changes to ensure that MSVC knows about 'CaptureStackBackTrace()'
2015-07-18 15:22:43 +01:00
Robin Gareus
f1aa1a0a11
fix headers for case-sensitive FS.
2015-06-30 08:18:52 +02:00
Paul Davis
3392c05779
volatile should not be used to describe non-hardware lvalues, and fix const cast warning (which removes need for mutable)
2015-06-29 14:18:16 -04:00
Paul Davis
2e29e7ee62
increase debug bitset size to accomodate additional debug bits imported from Tracks
2015-06-29 14:18:15 -04:00
Paul Davis
943394a49a
add PBD::DEBUG bits for WavesAudio and WavesMIDI
2015-06-29 14:18:14 -04:00
Greg Zharun
320da29922
[Summary] AudioPort buffer does not need 64 byte alignment which cache_aligned_malloc provides.
...
Added new function which accepts argument to specify required alignment.
AudioPort buffer requires 32 byte alignment
[Review Required] YPosdnyakov
2015-06-29 14:18:14 -04:00
Paul Davis
480f1e4082
noop: fix indentation/whitespace
2015-06-29 14:18:14 -04:00
Paul Davis
6410aa896f
Added optimized AVX function for sample processing
...
Added AVX versions of existing 5 SSE functions. Added 6th AVX function to copy vectors which is 1.5 times faster then memcpy.
Data consistency and validness is fully tested after processing with new AVX functions on aligned and non aligned buffers.
2015-06-29 14:18:13 -04:00
Paul Davis
7fae6bcd87
copy all XCode project files from Tracks.
...
Rationale: the Waves team maintains the XCode project files, the Ardour crew doesn't. Thus, the Waves'
version is more canonical
2015-06-29 14:18:10 -04:00
Greg Zharun
92e4f227de
[Summary] Added correct memory alignment for Windows in ../pbd/malign.h
...
[Reviewed by] YPozdnyakov
2015-06-29 14:16:43 -04:00
GZharun
ef59fbffa1
[Summary] Added possibility to identify IO thread which does not have required resources initialized during process callback handling
...
Conflicts:
libs/ardour/ardour/audioengine.h
libs/backends/wavesaudio/waves_audiobackend.cc
libs/pbd/pbd/pool.h
2015-06-29 14:16:42 -04:00
Paul Davis
017e580c9f
add stacktrace() support for Windows (Grygorii Zharun)
2015-06-29 14:16:42 -04:00
Paul Davis
cc543280d9
We were 2 more debug "bits" away from overflow, so recast PBD::DEBUG mechanism away from a 64bit integer and toward std::bitset.
...
Clean up a few minor related PBD::DEBUG issues along the way
2015-06-12 18:14:09 -04:00
John Emmas
801af5df9e
Add the new (UINTSDEFINED) preprocessor directive to all out MSVC projects (just to be on the safe side)
2015-06-09 13:18:42 +01:00
Robin Gareus
2b294f0b43
add a sanity check
2015-04-30 21:15:35 +02:00
John Emmas
a3209b9b91
Correctly dereference 'fxbuf' when building with MSVC
2015-04-30 18:17:24 +01:00
John Emmas
fe3aafec1c
When testing for x86 / x64 architecture, don't forget the symbols that MSVC can understand
2015-04-30 18:17:23 +01:00
Robin Gareus
d75b27f6dc
allow to compile PBD::Signals w/o connection debugging
2015-04-27 17:19:58 +02:00
Robin Gareus
9687c756a6
const iterators
2015-04-27 17:19:57 +02:00
Robin Gareus
27dac7c31f
Expose “/route/trim” midi binding.
2015-04-26 19:07:45 +02:00