using namespace std;
using namespace ARDOUR;
+using namespace PBD;
static char* SOUNDFILE = "http://ardour.org/ontology/Soundfile";
{
// sfdb_paths.push_back("/Users/taybin/sounds");
- src = "file:" + Config->get_user_ardour_path() + "sfdb";
+ src = "file:" + get_user_ardour_path() + "sfdb";
// workaround for possible bug in raptor that crashes when saving to a
// non-existant file.
- touch_file(Config->get_user_ardour_path() + "sfdb");
+ touch_file(get_user_ardour_path() + "sfdb");
lrdf_read_file(src.c_str());
lrdf_add_triple(src.c_str(), SOUNDFILE, RDF_TYPE, RDFS_CLASS, lrdf_uri);
// add intergral fields
- add_field("channels");
- add_field("samplerate");
- add_field("resolution");
- add_field("format");
+ add_field(_("channels"));
+ add_field(_("samplerate"));
+ add_field(_("resolution"));
+ add_field(_("format"));
}
void