fix misreported audiolenght, playback timer
[maemo-recorder] / src / maemo-recorder.h
index 35e6196..ad450f7 100644 (file)
@@ -37,7 +37,7 @@
 #define SERVICE_NAME_FULL "com.nokia.maemo_recorder"
 
 #define DEFAULT_CHANNELS 1
-#define DEFAULT_RATE 16000
+#define DEFAULT_RATE 22050
 
 #define GST_TYPE_ILBC "audio/x-iLBC"
 #define ILBC_RATE DEFAULT_RATE
@@ -57,7 +57,7 @@
 #define GST_TYPE_PCMA "audio/x-alaw"
 #define GST_TYPE_PCMU "audio/x-mulaw"
 #define GST_TYPE_PCM "audio/x-raw-int"
-#define PCM_RATE 16000
+#define PCM_RATE 22050
 #define PCM_WIDTH 16
 #define PCM_DEPTH 16
 #define PCM_ENDIANNESS 1234