#define GST_TIME_TO_SECS(t) \
(gdouble) (((gdouble)(t)) / (gdouble) GST_SECOND) /* GST_SECOND should be 1e9 */
+#define NOTES_BASEDIR_MMC1 "/media/mmc1/MapperAudioNotes"
+#define NOTES_BASEDIR_MMC2 "/media/mmc2/MapperAudioNotes"
+
static void
audio_note_set_length(audio_note_ui *ui, gdouble secs)
{
/* XXX: Make this a configuration option */
#ifdef WITH_DEVICE_770
-basedir="/media/mmc1/MapperAudioNotes";
+basedir=NOTES_BASEDIR_MMC1;
if (g_mkdir_with_parents(basedir, 0775)==-1) {
MACRO_BANNER_SHOW_INFO(_window, _("Failed to create directory for sound files!"));
return TRUE;