ardour.git
8 years agoAdded pt5 pt7 ptx initial format support
Damien Zammit [Sat, 8 Aug 2015 05:00:11 +0000 (15:00 +1000)]
Added pt5 pt7 ptx initial format support

Signed-off-by: Damien Zammit <damien@zamaudio.com>
8 years agoamend 0e3991e (can_support.. AND configure..)
Robin Gareus [Sat, 8 Aug 2015 00:08:27 +0000 (02:08 +0200)]
amend 0e3991e (can_support.. AND configure..)

8 years agoAU: discard relationship with master-bus channel count.
Robin Gareus [Fri, 7 Aug 2015 23:43:57 +0000 (01:43 +0200)]
AU: discard relationship with master-bus channel count.

8 years agoAU: fix debug output
Robin Gareus [Fri, 7 Aug 2015 23:41:44 +0000 (01:41 +0200)]
AU: fix debug output

8 years agoremove more cruft (dead assignments)
Robin Gareus [Fri, 7 Aug 2015 19:13:17 +0000 (21:13 +0200)]
remove more cruft (dead assignments)

8 years agoremove cruft
Robin Gareus [Fri, 7 Aug 2015 19:10:47 +0000 (21:10 +0200)]
remove cruft

8 years agogive copy_vector() another chance.
Robin Gareus [Fri, 7 Aug 2015 19:00:35 +0000 (21:00 +0200)]
give copy_vector() another chance.

last arguments in nsamples, not bytes

8 years agoVST use scratch buffers for processing.
Robin Gareus [Fri, 7 Aug 2015 18:10:15 +0000 (20:10 +0200)]
VST use scratch buffers for processing.

8 years agoonly bundle libstdc++ with OSX/PPC
Robin Gareus [Fri, 7 Aug 2015 17:30:07 +0000 (19:30 +0200)]
only bundle libstdc++ with OSX/PPC

8 years agoDon't call AudioBackend::enumerate_drivers for Backend states without driver selection
Tim Mayberry [Fri, 7 Aug 2015 11:29:18 +0000 (21:29 +1000)]
Don't call AudioBackend::enumerate_drivers for Backend states without driver selection

AudioBackend::enumerate_drivers is not supposed to be called for backends that
don't support driver selection. The wavesaudio backend asserts if the method is
called.

8 years agofix VST plugin crash (from 35a9c63)
Robin Gareus [Fri, 7 Aug 2015 01:07:50 +0000 (03:07 +0200)]
fix VST plugin crash (from 35a9c63)

depending on offset, the audio-buffer may not be
memory aligned, use memcpy() not SSE copy_vector.

8 years agoSet active text in buffer_size combo in EngineControl dialog
Tim Mayberry [Thu, 6 Aug 2015 14:15:49 +0000 (00:15 +1000)]
Set active text in buffer_size combo in EngineControl dialog

Fixes issue with empty buffer size combo when switching to the PA ASIO driver

8 years agoSet the default host api in PortaudioBackend when initializing portaudio
Tim Mayberry [Thu, 6 Aug 2015 12:22:18 +0000 (22:22 +1000)]
Set the default host api in PortaudioBackend when initializing portaudio

Not setting a default driver causes issues with the EngineControl dialog

8 years agoFixed pt import start offsets and samplerate mismatch offsets
Damien Zammit [Thu, 6 Aug 2015 07:29:37 +0000 (17:29 +1000)]
Fixed pt import start offsets and samplerate mismatch offsets

Signed-off-by: Damien Zammit <damien@zamaudio.com>
8 years agofix ptf library deplyoment
Robin Gareus [Wed, 5 Aug 2015 23:02:13 +0000 (01:02 +0200)]
fix ptf library deplyoment

8 years agoprepare for the future
Robin Gareus [Wed, 5 Aug 2015 22:50:54 +0000 (00:50 +0200)]
prepare for the future

8 years agoAdded PT .ptf session audio import functionality
Damien Zammit [Sat, 1 Aug 2015 03:41:26 +0000 (13:41 +1000)]
Added PT .ptf session audio import functionality

Signed-off-by: Damien Zammit <damien@zamaudio.com>
8 years agorework VST processing/buffering (no more alloca).
Robin Gareus [Wed, 5 Aug 2015 21:24:52 +0000 (23:24 +0200)]
rework VST processing/buffering (no more alloca).

TODO: check Bufferset/VSTBuffer, eventually remove
the VST_IN_PLACE ifdef’s

8 years agoVST replaceProcessing () != in-place processing.
Robin Gareus [Wed, 5 Aug 2015 20:14:57 +0000 (22:14 +0200)]
VST replaceProcessing () != in-place processing.

8 years agoupdate unit-tests (new Dummy backend name since a9b6277)
Robin Gareus [Wed, 5 Aug 2015 18:24:57 +0000 (20:24 +0200)]
update unit-tests (new Dummy backend name since a9b6277)

8 years agoadjust click box size - fixes #6499
Robin Gareus [Wed, 5 Aug 2015 17:51:58 +0000 (19:51 +0200)]
adjust click box size - fixes #6499

8 years agoadd synth when drag/drop importing .mid - fixes #6474
Robin Gareus [Wed, 5 Aug 2015 15:53:03 +0000 (17:53 +0200)]
add synth when drag/drop importing .mid - fixes #6474

8 years agoRemove "Default" devices from the PortaudioBackend
Tim Mayberry [Wed, 5 Aug 2015 13:37:20 +0000 (23:37 +1000)]
Remove "Default" devices from the PortaudioBackend

These are not really necessary now that input and output devices can be
selected separately.

8 years agoUse ASIO specific device channel names for port properties/pretty names
Tim Mayberry [Tue, 4 Aug 2015 05:29:03 +0000 (15:29 +1000)]
Use ASIO specific device channel names for port properties/pretty names

8 years agoAdd code to use ASIO supplied min/max buffer sizes but don't use it
Tim Mayberry [Tue, 4 Aug 2015 03:36:29 +0000 (13:36 +1000)]
Add code to use ASIO supplied min/max buffer sizes but don't use it

RME HDSP: min == max == preferred size with granularity == 0
Focusrite scarlett 2i2: min = current ASIO setting and max = max buffersize the
device supports with a granularity of 1 which means hundreds of entries in the
dropdown menu.

8 years agoRefactor methods in PortaudioBackend to get ASIO buffer sizes
Tim Mayberry [Tue, 4 Aug 2015 02:25:46 +0000 (12:25 +1000)]
Refactor methods in PortaudioBackend to get ASIO buffer sizes

8 years agoAdd ASIO specific code to query preferred buffer size for device
Tim Mayberry [Tue, 4 Aug 2015 02:02:06 +0000 (12:02 +1000)]
Add ASIO specific code to query preferred buffer size for device

8 years agoDummy -> Audio system: "None"
Robin Gareus [Tue, 4 Aug 2015 22:41:57 +0000 (00:41 +0200)]
Dummy -> Audio system: "None"

check if gettext() static initialization works with all compilers.

8 years agopass complete blocksize range to LV2 plugin. fixes #6498
Robin Gareus [Tue, 4 Aug 2015 22:02:31 +0000 (00:02 +0200)]
pass complete blocksize range to LV2 plugin. fixes #6498

the buffersize may change anytime (split cycles),
also plugin analysis uses a 4096 sample window.

8 years agosort the Stem Export route list
Ben Loftis [Tue, 4 Aug 2015 20:33:44 +0000 (15:33 -0500)]
sort the Stem Export route list

8 years ago(hopefully) less ambiguous wording of processed stem exports. Update the info text...
Ben Loftis [Tue, 4 Aug 2015 19:49:27 +0000 (14:49 -0500)]
(hopefully) less ambiguous wording of processed stem exports.  Update the info text when checkbox state is changed

8 years agoupdate routing wires display
Robin Gareus [Tue, 4 Aug 2015 16:42:27 +0000 (18:42 +0200)]
update routing wires display

8 years agoself-test add missing newline
Robin Gareus [Tue, 4 Aug 2015 16:25:10 +0000 (18:25 +0200)]
self-test add missing newline

8 years agopackage portaudio w/WASAPI for Vista or later
Robin Gareus [Tue, 4 Aug 2015 05:36:35 +0000 (07:36 +0200)]
package portaudio w/WASAPI for Vista or later

8 years agoProper solution to replace 9cabc1b hack.
Robin Gareus [Mon, 3 Aug 2015 23:03:57 +0000 (01:03 +0200)]
Proper solution to replace 9cabc1b hack.

Initialize uninitialized variable (m_started), remove cruft.

8 years agoamend e09c620; now with semicolon :)
Robin Gareus [Mon, 3 Aug 2015 21:09:51 +0000 (23:09 +0200)]
amend e09c620; now with semicolon :)

8 years agofix backslashes in quotes (windows), fixes VST scan
Robin Gareus [Mon, 3 Aug 2015 21:06:08 +0000 (23:06 +0200)]
fix backslashes in quotes (windows), fixes VST scan

8 years agoclose file before unlink
Robin Gareus [Mon, 3 Aug 2015 21:05:33 +0000 (23:05 +0200)]
close file before unlink

8 years agoVST cache file transition.
Robin Gareus [Mon, 3 Aug 2015 21:03:48 +0000 (23:03 +0200)]
VST cache file transition.

8 years agodon’t set paClipOff, have portaudio clip to -1,+1
Robin Gareus [Mon, 3 Aug 2015 20:57:10 +0000 (22:57 +0200)]
don’t set paClipOff, have portaudio clip to -1,+1

Fixes issues with some integer drivers where overflow wraps
(values > 1.0 end up at -1, producing a hard click)

8 years agoWindows XP compat
Robin Gareus [Mon, 3 Aug 2015 20:53:53 +0000 (22:53 +0200)]
Windows XP compat

8 years agoFix MIDI input on Portaudio Backend with 32bit Windows release/optimized builds
Tim Mayberry [Mon, 3 Aug 2015 13:26:54 +0000 (23:26 +1000)]
Fix MIDI input on Portaudio Backend with 32bit Windows release/optimized builds

MIDI input doesn't work with -O3 or -O2 optimization levels, no real idea why
at this point. So just append -O0 to CXXFLAGS to override previous optimization
flags for compiling the PortaudioBackend files

8 years agodon't resize plugin-scan-report window, use sensitivity.
Robin Gareus [Mon, 3 Aug 2015 13:54:55 +0000 (15:54 +0200)]
don't resize plugin-scan-report window, use sensitivity.

8 years agodump VST blacklist at end of scan
Robin Gareus [Mon, 3 Aug 2015 13:45:31 +0000 (15:45 +0200)]
dump VST blacklist at end of scan

8 years agotranslatable VST error/info messages
Robin Gareus [Mon, 3 Aug 2015 13:17:25 +0000 (15:17 +0200)]
translatable VST error/info messages

8 years agofix byte-order detection for gcc < v4.4.
Robin Gareus [Mon, 3 Aug 2015 13:16:29 +0000 (15:16 +0200)]
fix byte-order detection for gcc < v4.4.

8 years agoFix typo in 8c45d4 preventing compile
Tim Mayberry [Mon, 3 Aug 2015 03:00:00 +0000 (13:00 +1000)]
Fix typo in 8c45d4 preventing compile

8 years agosha1: cleanup & separate unit test
Robin Gareus [Mon, 3 Aug 2015 00:13:35 +0000 (02:13 +0200)]
sha1: cleanup & separate unit test

8 years agoVST cache rework (part one)
Robin Gareus [Sun, 2 Aug 2015 22:25:19 +0000 (00:25 +0200)]
VST cache rework (part one)

Don’t clutter up actual vst-plugin dirs with additional files.

Use dedicated folder for VST info-cache; use sha1-hash (of absolute dll
path) for .fsi file.

Use a single blacklist file (one path per line) instead of individual
.fsb files per plugin.

8 years agoadd sha1-hash calc.
Robin Gareus [Sun, 2 Aug 2015 22:13:46 +0000 (00:13 +0200)]
add sha1-hash calc.

8 years agoquiet unzip
Robin Gareus [Fri, 31 Jul 2015 11:18:32 +0000 (13:18 +0200)]
quiet unzip

8 years agoSpecifically #include <mmsystem.h> to get us TIMECAPS
John Emmas [Fri, 31 Jul 2015 12:48:25 +0000 (13:48 +0100)]
Specifically #include <mmsystem.h> to get us TIMECAPS

(not sure why windows.h isn't already #including this for us - but it doesn't seem to be)

8 years agoAdd some newly introduced sources to our MSVC project (portaudio_backend)
John Emmas [Fri, 31 Jul 2015 12:45:18 +0000 (13:45 +0100)]
Add some newly introduced sources to our MSVC project (portaudio_backend)

8 years agoUse llabs (rather than std::abs) for compatibility with MSVC
John Emmas [Fri, 31 Jul 2015 12:43:22 +0000 (13:43 +0100)]
Use llabs (rather than std::abs) for compatibility with MSVC

MSVC doesn't offer an override which accepts int64_t (at least, the 32-bit compiler doesn't)

8 years agoUse BOOL (rather than WINBOOL) for compatibility with MSVC
John Emmas [Fri, 31 Jul 2015 12:41:16 +0000 (13:41 +0100)]
Use BOOL (rather than WINBOOL) for compatibility with MSVC

(WINBOOL is MinGW specific)

8 years agoadd missing pthread.h includes
Robin Gareus [Fri, 31 Jul 2015 00:28:12 +0000 (02:28 +0200)]
add missing pthread.h includes

8 years agoAdd functionality to show ASIO control panel
Tim Mayberry [Mon, 20 Jul 2015 11:44:46 +0000 (21:44 +1000)]
Add functionality to show ASIO control panel

8 years agoUse MMCSS to elevate the thread priorities for audio and MIDI threads
Tim Mayberry [Thu, 30 Jul 2015 02:09:43 +0000 (12:09 +1000)]
Use MMCSS to elevate the thread priorities for audio and MIDI threads

use AVRT_PRIORITY_NORMAL for audio threads and AVRT_PRIORITY_HIGH for MIDI
threads

8 years agoAdd MMCSS related code for raising thread priority on Windows
Tim Mayberry [Wed, 29 Jul 2015 22:40:41 +0000 (08:40 +1000)]
Add MMCSS related code for raising thread priority on Windows

8 years agoImplement AudioBackend::driver_name() in PortaudioBackend
Tim Mayberry [Wed, 29 Jul 2015 03:28:17 +0000 (13:28 +1000)]
Implement AudioBackend::driver_name() in PortaudioBackend

This was missing and is necessary for EngineControl dialog to work properly

8 years agoAdd extra DEBUG_TRACE output to PortaudioBackend
Tim Mayberry [Thu, 30 Jul 2015 02:12:10 +0000 (12:12 +1000)]
Add extra DEBUG_TRACE output to PortaudioBackend

8 years agoWinMME based midi input/output for portaudio backend
Tim Mayberry [Sun, 17 May 2015 10:55:04 +0000 (20:55 +1000)]
WinMME based midi input/output for portaudio backend

TODO:

Use MMCSS to elevate thread priorities
Enable/test and fix SYSEX related code

8 years agoFix for PortAudioBackend::available_sample_rates
Tim Mayberry [Tue, 19 May 2015 03:58:35 +0000 (13:58 +1000)]
Fix for PortAudioBackend::available_sample_rates

Was being called without initializing PA. PA should probably be initialized in
ctor but PA backend also needs to support hot-plugging devices at some point so
this will do for now

8 years agoSupport selecting separate input and output devices in portaudio backend
Tim Mayberry [Sat, 9 May 2015 01:42:46 +0000 (11:42 +1000)]
Support selecting separate input and output devices in portaudio backend

8 years agoRefactor PortAudioIO::discover into three private methods
Tim Mayberry [Mon, 4 May 2015 03:28:41 +0000 (13:28 +1000)]
Refactor PortAudioIO::discover into three private methods

8 years agoSet default input/output device based on selected host api rather than global default
Tim Mayberry [Wed, 1 Apr 2015 12:56:45 +0000 (22:56 +1000)]
Set default input/output device based on selected host api rather than global default

8 years agoFix crash when unable to open portaudio stream
Tim Mayberry [Wed, 1 Apr 2015 12:43:39 +0000 (22:43 +1000)]
Fix crash when unable to open portaudio stream

Calling Pa_Terminate after failing to open stream causes an assertion

8 years agoAdd host api/driver selection to PortaudioBackend
Tim Mayberry [Wed, 1 Apr 2015 06:55:34 +0000 (16:55 +1000)]
Add host api/driver selection to PortaudioBackend

8 years agoFix state restoration in Engine dialog for Backends with driver selection
Tim Mayberry [Wed, 29 Jul 2015 05:46:26 +0000 (15:46 +1000)]
Fix state restoration in Engine dialog for Backends with driver selection

Connect to the backend_combo changed signal after setting state as calling
backend_combo.set_active_text() in set_state was triggering backend_changed(),
which would then see the driver_combo had not been set and set it to the
incorrect value.

The value/name of the backend needs to be restored first then we can populate
the driver combo and set the correct active entry from the saved state. After
which backend_changed() will populate the device combo's etc so they can then
be set to the correct active values from the saved state.

8 years agomake it easier to get errors out of GTK + Glib
Robin Gareus [Thu, 30 Jul 2015 17:05:12 +0000 (19:05 +0200)]
make it easier to get errors out of GTK + Glib

8 years agoReplace "%z" modifier with glib macro for portability.
Robin Gareus [Thu, 30 Jul 2015 15:00:03 +0000 (17:00 +0200)]
Replace "%z" modifier with glib macro for portability.

8 years agofix file metadata tagging on windows.
Robin Gareus [Thu, 30 Jul 2015 03:28:25 +0000 (05:28 +0200)]
fix file metadata tagging on windows.

This allows TagLib to open the file and create a Tag object (see 2a0365c)
Tagging still fails later (taglib seek/SetFilePointer fails when writing)

8 years agouse “CPU family” to match ppc, ppc7400, etc.
Robin Gareus [Thu, 30 Jul 2015 01:17:33 +0000 (03:17 +0200)]
use “CPU family” to match ppc, ppc7400, etc.

8 years agoprepare for MB/PPC
Robin Gareus [Wed, 29 Jul 2015 22:00:19 +0000 (00:00 +0200)]
prepare for MB/PPC

8 years agoDon’t create MTC debug string if it’s not needed.
Robin Gareus [Wed, 29 Jul 2015 15:54:32 +0000 (17:54 +0200)]
Don’t create MTC debug string if it’s not needed.

Removes periodic call to operator<< (and eventually loadlocale)
in RT-thread in the debug version.

8 years agooops.
Robin Gareus [Wed, 29 Jul 2015 01:34:27 +0000 (03:34 +0200)]
oops.

8 years agowork-around OSX loadlocale thread safety.
Robin Gareus [Tue, 28 Jul 2015 18:54:43 +0000 (20:54 +0200)]
work-around OSX loadlocale thread safety.

This is not a real fix; just a stop-gap for the worst offender.

iostream on OSX is not thread safe.
Sadly no crash report so far managed to catch the 2nd thread in action.
looks like the GUI thread is preempted, 2nd thread succeeds, and the
crash occurs later).

see also https://discussions.apple.com/thread/3479591

crash in
   s << c->internal_to_user (c->get_value ());

ardour-4.1.335(5000,0x7fff777f5300) malloc: *** error for object 0x7fe2f3e06170: pointer being freed was not allocated
1   libsystem_c.dylib       abort + 129
2   libsystem_malloc.dylib  free + 428
3   libsystem_c.dylib       __numeric_load_locale + 544
4   libsystem_c.dylib       loadlocale + 216
5   libstdc++.6.dylib       std::__convert_from_v(int* const&, char*, int, char const*, ...) + 193
6   libstdc++.6.dylib       std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const + 193
7   libstdc++.6.dylib       std::ostream& std::ostream::_M_insert<double>(double) + 221
8   ardour-4.1.335          ProcessorEntry::Control::set_tooltip() + 854 (processor_box.cc:578)
9   ardour-4.1.335          ProcessorEntry::Control::control_changed() + 446 (processor_box.cc:637)
10  ibpbd.dylib             PBD::StandardTimer::on_elapsed()

8 years agoRevert "debug/fix LV2 state loading on OSX 10.5/PPC"
Robin Gareus [Tue, 28 Jul 2015 16:58:17 +0000 (18:58 +0200)]
Revert "debug/fix LV2 state loading on OSX 10.5/PPC"

This reverts commit 22bc62ed4360aaea29c131cc7dead87fa25ef228.
forwarded upstream: http://dev.drobilla.net/ticket/1073

8 years agodon't crash if taglib cannot open file
Robin Gareus [Mon, 27 Jul 2015 22:44:50 +0000 (00:44 +0200)]
don't crash if taglib cannot open file

8 years agoMerge branch 'ovenwerks-master'
Paul Davis [Mon, 27 Jul 2015 20:17:51 +0000 (16:17 -0400)]
Merge branch 'ovenwerks-master'

8 years agoClean up extra white space added by editor.
Len Ovens [Sat, 25 Jul 2015 00:42:47 +0000 (17:42 -0700)]
Clean up extra white space added by editor.

8 years agoHandle the 4 common encoder types.
Len Ovens [Sat, 25 Jul 2015 00:34:22 +0000 (17:34 -0700)]
Handle the 4 common encoder types.

8 years agoAdded MasterPosition value=0 to all mcp device files as this is saved and will not...
Len Ovens [Thu, 23 Jul 2015 02:28:45 +0000 (19:28 -0700)]
Added MasterPosition value=0 to all mcp device files as this is saved and will not default

8 years agoAdd enc to midi map for mcp style encoders.
Len Ovens [Tue, 21 Jul 2015 06:15:53 +0000 (23:15 -0700)]
Add enc to midi map for mcp style encoders.

8 years agoMake program change toggle or 1 only.
Len Ovens [Mon, 20 Jul 2015 20:34:11 +0000 (13:34 -0700)]
Make program change toggle or 1 only.

8 years agoAllow any one midi event to control only one thing.
Len Ovens [Mon, 20 Jul 2015 19:37:53 +0000 (12:37 -0700)]
Allow any one midi event to control only one thing.

8 years agofix LV2 freewheeling port, explicit cast bool to float.
Robin Gareus [Mon, 27 Jul 2015 17:08:29 +0000 (19:08 +0200)]
fix LV2 freewheeling port, explicit cast bool to float.

http://lv2plug.in/ns/lv2core/#freeWheeling mentions "true"
and http://lv2plug.in/ns/lv2core/#toggled defines true as > 0.
false as <= 0.

8 years agodebug/fix LV2 state loading on OSX 10.5/PPC
Robin Gareus [Mon, 27 Jul 2015 15:11:35 +0000 (17:11 +0200)]
debug/fix LV2 state loading on OSX 10.5/PPC

8 years agoadd Session::routes_solo_changed(), a plural method which makes changing many route...
Paul Davis [Mon, 27 Jul 2015 13:41:42 +0000 (09:41 -0400)]
add Session::routes_solo_changed(), a plural method which makes changing many route solo states much faster.

Code originally by Grygorii Zharun in Tracks

8 years agofixes/updates for move to ::open()
Robin Gareus [Sun, 26 Jul 2015 22:41:28 +0000 (00:41 +0200)]
fixes/updates for move to ::open()

8 years agoMove ARDOUR::touch_file to pbd/file_utils.h
Tim Mayberry [Sun, 26 Jul 2015 02:07:41 +0000 (12:07 +1000)]
Move ARDOUR::touch_file to pbd/file_utils.h

8 years agoUse g_open instead of ::open in ARDOUR::touch_file for portability
Tim Mayberry [Sun, 26 Jul 2015 01:18:20 +0000 (11:18 +1000)]
Use g_open instead of ::open in ARDOUR::touch_file for portability

8 years agoUse g_open and sf_open_fd in SndFileSource for portability
Tim Mayberry [Sat, 25 Jul 2015 12:15:47 +0000 (22:15 +1000)]
Use g_open and sf_open_fd in SndFileSource for portability

8 years agoUse g_open and sf_open_fd in SndFileImportable instead of sf_open and Glib::locale_fr...
Tim Mayberry [Sat, 25 Jul 2015 11:31:42 +0000 (21:31 +1000)]
Use g_open and sf_open_fd in SndFileImportable instead of sf_open and Glib::locale_from_utf8

8 years agoUse g_open instead of ::open in translation related utility functions
Tim Mayberry [Sat, 25 Jul 2015 10:58:29 +0000 (20:58 +1000)]
Use g_open instead of ::open in translation related utility functions

This is for portability on Windows

8 years agoUse g_open instead of ::open in AudioSource for portability
Tim Mayberry [Sat, 25 Jul 2015 10:52:52 +0000 (20:52 +1000)]
Use g_open instead of ::open in AudioSource for portability

This is only really for Windows as g_open and ::open are the same thing on
other platforms

8 years agoUse GStatBuf in AudioSource::initialize_peakfile for portability
Tim Mayberry [Sat, 25 Jul 2015 10:17:17 +0000 (20:17 +1000)]
Use GStatBuf in AudioSource::initialize_peakfile for portability

This was initially part of f89a976f that got reverted

8 years agoRevert "When peakfiles get opened using a non-glib function (in a non-English locale...
Tim Mayberry [Sat, 25 Jul 2015 10:09:34 +0000 (20:09 +1000)]
Revert "When peakfiles get opened using a non-glib function (in a non-English locale) make sure that we pass locale-specific paths"

This reverts commit f89a976f1a0477fba30bd7117310e6d04b370d68.

8 years agoRevert "When saving a session (in a non-English locale) make sure that we use a local...
Tim Mayberry [Sat, 25 Jul 2015 10:09:32 +0000 (20:09 +1000)]
Revert "When saving a session (in a non-English locale) make sure that we use a locale-specific path"

This reverts commit cf5a8651d848fa5333e1c567286fc0eec2b0a0f7.

8 years agoRevert "A few more instances of non-glib 'open()' getting used without locale-specifi...
Tim Mayberry [Sat, 25 Jul 2015 10:09:23 +0000 (20:09 +1000)]
Revert "A few more instances of non-glib 'open()' getting used without locale-specific input paths"

This reverts commit 52ef02b387d8267315547129f7f100048a5c1166.