diff options
Diffstat (limited to 'apps/metadata.c')
-rw-r--r-- | apps/metadata.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/metadata.c b/apps/metadata.c index 36e97268ea..fe25bbc074 100644 --- a/apps/metadata.c +++ b/apps/metadata.c | |||
@@ -168,6 +168,9 @@ const struct afmt_entry audio_formats[AFMT_NUM_CODECS] = | |||
168 | /* SMAF (Synthetic music Mobile Application Format) */ | 168 | /* SMAF (Synthetic music Mobile Application Format) */ |
169 | [AFMT_SMAF] = | 169 | [AFMT_SMAF] = |
170 | AFMT_ENTRY("SMAF", "smaf", NULL, "mmf\0" ), | 170 | AFMT_ENTRY("SMAF", "smaf", NULL, "mmf\0" ), |
171 | /* Sun Audio file */ | ||
172 | [AFMT_AU] = | ||
173 | AFMT_ENTRY("AU", "au", NULL, "au\0snd\0" ), | ||
171 | #endif | 174 | #endif |
172 | }; | 175 | }; |
173 | 176 | ||
@@ -458,6 +461,14 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname) | |||
458 | return false; | 461 | return false; |
459 | } | 462 | } |
460 | break; | 463 | break; |
464 | |||
465 | case AFMT_AU: | ||
466 | if (!get_au_metadata(fd, id3)) | ||
467 | { | ||
468 | DEBUGF("get_au_metadata error\n"); | ||
469 | return false; | ||
470 | } | ||
471 | break; | ||
461 | 472 | ||
462 | #endif /* CONFIG_CODEC == SWCODEC */ | 473 | #endif /* CONFIG_CODEC == SWCODEC */ |
463 | 474 | ||