[tracker/cuesheets] tracker-extract: Rename public functions to prefix tracker_cue_sheet_
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/cuesheets] tracker-extract: Rename public functions to prefix tracker_cue_sheet_
- Date: Thu, 29 Sep 2011 16:44:23 +0000 (UTC)
commit 21ab9438d6028c027e29ecd1fe526d4c07b1e989
Author: Martyn Russell <martyn lanedo com>
Date: Thu Sep 29 17:32:58 2011 +0100
tracker-extract: Rename public functions to prefix tracker_cue_sheet_
src/tracker-extract/tracker-cue-sheet.c | 10 +++++-----
src/tracker-extract/tracker-cue-sheet.h | 4 ++--
src/tracker-extract/tracker-extract-gstreamer.c | 4 ++--
3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/tracker-extract/tracker-cue-sheet.c b/src/tracker-extract/tracker-cue-sheet.c
index e98891b..44827a7 100644
--- a/src/tracker-extract/tracker-cue-sheet.c
+++ b/src/tracker-extract/tracker-cue-sheet.c
@@ -284,7 +284,7 @@ parse_cue_sheet_for_file (const gchar *cue_sheet,
}
TrackerToc *
-tracker_parse_cue_sheet (const gchar *cue_sheet)
+tracker_cue_sheet_parse (const gchar *cue_sheet)
{
TrackerToc *result;
@@ -354,7 +354,7 @@ find_local_cue_sheets (GFile *audio_file)
}
TrackerToc *
-tracker_process_external_cue_sheets (const gchar *audio_uri)
+tracker_cue_sheet_parse_uri (const gchar *uri)
{
GFile *audio_file;
gchar *audio_file_name;
@@ -363,7 +363,7 @@ tracker_process_external_cue_sheets (const gchar *audio_uri)
GError *error = NULL;
GList *n;
- audio_file = g_file_new_for_uri (audio_uri);
+ audio_file = g_file_new_for_uri (uri);
audio_file_name = g_file_get_basename (audio_file);
cue_sheet_list = find_local_cue_sheets (audio_file);
@@ -411,13 +411,13 @@ tracker_process_external_cue_sheets (const gchar *audio_uri)
#else /* ! HAVE_LIBCUE */
TrackerToc *
-tracker_parse_cue_sheet (const gchar *cue_sheet)
+tracker_cue_sheet_parse (const gchar *cue_sheet)
{
return NULL;
}
TrackerToc *
-tracker_process_external_cue_sheets (const gchar *audio_uri)
+tracker_cue_sheet_parse_uri (const gchar *uri)
{
return NULL;
}
diff --git a/src/tracker-extract/tracker-cue-sheet.h b/src/tracker-extract/tracker-cue-sheet.h
index 79b7a24..0044a75 100644
--- a/src/tracker-extract/tracker-cue-sheet.h
+++ b/src/tracker-extract/tracker-cue-sheet.h
@@ -42,8 +42,8 @@ typedef struct {
void tracker_toc_free (TrackerToc *toc);
-TrackerToc *tracker_parse_cue_sheet (const gchar *cue_sheet);
-TrackerToc *tracker_process_external_cue_sheets (const gchar *audio_uri);
+TrackerToc *tracker_cue_sheet_parse (const gchar *cue_sheet);
+TrackerToc *tracker_cue_sheet_parse_uri (const gchar *uri);
G_END_DECLS
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index 6d55dc7..bb29738 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -1867,13 +1867,13 @@ tracker_extract_gstreamer (const gchar *uri,
if (cue_sheet) {
g_debug ("Using embedded CUE sheet.");
- extractor->toc = tracker_parse_cue_sheet (cue_sheet);
+ extractor->toc = tracker_cue_sheet_parse (cue_sheet);
g_free (cue_sheet);
}
}
if (extractor->toc == NULL) {
- extractor->toc = tracker_process_external_cue_sheets (uri);
+ extractor->toc = tracker_cue_sheet_parse_uri (uri);
}
album_artist = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]