projects
/
maemo-recorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wavs saved as wavs, pumped up version
[maemo-recorder]
/
src
/
maemo-recorder.h
diff --git
a/src/maemo-recorder.h
b/src/maemo-recorder.h
index
7f8ade9
..
d878a4e
100644
(file)
--- a/
src/maemo-recorder.h
+++ b/
src/maemo-recorder.h
@@
-27,6
+27,7
@@
#include <osso-log.h>
#include <hildon-widgets/hildon-program.h>
#include <hildon-widgets/hildon-window.h>
#include <osso-log.h>
#include <hildon-widgets/hildon-program.h>
#include <hildon-widgets/hildon-window.h>
+#include <gconf/gconf-client.h>
#include <gtk/gtk.h>
#include <gst/gst.h>
#include <gtk/gtk.h>
#include <gst/gst.h>
@@
-77,6
+78,11
@@
typedef enum
FORMAT_WAV
} AudioFormat;
FORMAT_WAV
} AudioFormat;
+#define FORMAT_NAME_WAV "WAV"
+#define FORMAT_NAME_PCMA "PCM A-law"
+#define FORMAT_NAME_PCMU "PCM u-law"
+#define FORMAT_NAME_ILBC "iLBC"
+
/* TODO: this kind of struct might be more handy when passing around audioformat info */
#if 0
struct _AudioFormatSpec
/* TODO: this kind of struct might be more handy when passing around audioformat info */
#if 0
struct _AudioFormatSpec
@@
-126,6
+132,7
@@
typedef struct _AppDataStr
gint playPipelineType;
osso_context_t *osso;
gint playPipelineType;
osso_context_t *osso;
+ GConfClient *gconf_client;
gchar * openFileName;
gchar * saveFileName;
gchar * openFileName;
gchar * saveFileName;