========================================================================================*/
#include <gio/gio.h>
#include <linux/magic.h>
+#include <storage.h>
#ifdef __cplusplus
int param;
int is_playing;
guint subscribe_id;
+ void *mm_handle;
} _MMCamcorderGDbusCbInfo;
/**
GMutex lock; /**< mutex for item */
} _MMCamcorderMsgItem;
+/**
+ * Structure of storage information
+ */
+typedef struct {
+ storage_type_e type;
+ int id;
+} _MMCamcorderStorageInfo;
+
/*=======================================================================================
| CONSTANT DEFINITIONS |
gboolean _mmcamcorder_update_composition_matrix(FILE *f, int orientation);
/* File system */
-int _mmcamcorder_get_freespace(const gchar *path, const gchar *root_directory, guint64 *free_space);
+int _mmcamcorder_get_storage_info(const gchar *path, const gchar *root_directory, _MMCamcorderStorageInfo *storage_info);
+int _mmcamcorder_get_freespace(storage_type_e type, guint64 *free_space);
int _mmcamcorder_get_file_size(const char *filename, guint64 *size);
int _mmcamcorder_get_file_system_type(const gchar *path, int *file_system_type);
int _mmcamcorder_send_sound_play_message(GDBusConnection *conn, _MMCamcorderGDbusCbInfo *gdbus_info,
const char *sample_name, const char *stream_role, const char *volume_gain, int sync_play);
+/* dbus signal emit */
+void _mmcamcorder_emit_dbus_signal(GDBusConnection *conn, const char *object_name,
+ const char *interface_name, const char *signal_name, int value);
+
+/* audio buffer */
+int _mmcamcorder_get_audiosrc_blocksize(int samplerate, int format, int channel, int interval, int *blocksize);
+
#ifdef __cplusplus
}
#endif