summaryrefslogtreecommitdiff
path: root/libs/ardour/audiosource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/audiosource.cc')
-rw-r--r--libs/ardour/audiosource.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/libs/ardour/audiosource.cc b/libs/ardour/audiosource.cc
index 083cf3bea9..9af388c1cd 100644
--- a/libs/ardour/audiosource.cc
+++ b/libs/ardour/audiosource.cc
@@ -48,7 +48,6 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
-using Glib::ustring;
bool AudioSource::_build_missing_peakfiles = false;
@@ -57,7 +56,7 @@ bool AudioSource::_build_peakfiles = false;
#define _FPP 256
-AudioSource::AudioSource (Session& s, ustring name)
+AudioSource::AudioSource (Session& s, string name)
: Source (s, DataType::AUDIO, name)
, _length (0)
{
@@ -196,11 +195,11 @@ AudioSource::touch_peakfile ()
}
int
-AudioSource::rename_peakfile (ustring newpath)
+AudioSource::rename_peakfile (string newpath)
{
/* caller must hold _lock */
- ustring oldpath = peakpath;
+ string oldpath = peakpath;
if (access (oldpath.c_str(), F_OK) == 0) {
if (rename (oldpath.c_str(), newpath.c_str()) != 0) {
@@ -215,7 +214,7 @@ AudioSource::rename_peakfile (ustring newpath)
}
int
-AudioSource::initialize_peakfile (bool newfile, ustring audio_path)
+AudioSource::initialize_peakfile (bool newfile, string audio_path)
{
struct stat statbuf;