2 * This file is part of mapper
4 * Copyright (C) 2007 Kaj-Michael Lang
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 typedef struct _note_pipeline note_pipeline;
28 struct _note_pipeline {
39 typedef struct _audio_note_ui audio_note_ui;
40 struct _audio_note_ui {
43 GtkWidget *btn_record;
49 note_pipeline *note_play;
50 note_pipeline *note_record;
53 audio_note_ui *audio_note_new(void);
55 gboolean audio_note_init(void);
56 void audio_note_deinit(void);
58 void audio_note_set_basedir(audio_note_ui *ui, const gchar *basedir);
60 gboolean audio_note_record(gchar *file);
61 gboolean audio_note_play(gchar *file);