forked from len0rd/rockbox
Add .oga as a valid file extension for Ogg vorbis files. Even though Xiph recommend against using .oga for vorbis (for compatibility reasons), they say that it may be used, and some applications (e.g. Gnome Media) are doing so.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18932 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8db3450d1b
commit
25d4f4bb7a
2 changed files with 2 additions and 1 deletions
|
|
@ -57,6 +57,7 @@ static const struct filetype inbuilt_filetypes[] = {
|
|||
/* Temporary hack to allow playlist creation */
|
||||
{ "mp1", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "ogg", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "oga", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "wma", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "wmv", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA },
|
||||
{ "asf", FILE_ATTR_AUDIO, Icon_Audio, VOICE_EXT_MPA },
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ const struct afmt_entry audio_formats[AFMT_NUM_CODECS] =
|
|||
AFMT_ENTRY("WAV", "wav", "wav_enc", "wav\0" ),
|
||||
/* Ogg Vorbis */
|
||||
[AFMT_OGG_VORBIS] =
|
||||
AFMT_ENTRY("Ogg", "vorbis", NULL, "ogg\0" ),
|
||||
AFMT_ENTRY("Ogg", "vorbis", NULL, "ogg\0oga\0" ),
|
||||
/* FLAC */
|
||||
[AFMT_FLAC] =
|
||||
AFMT_ENTRY("FLAC", "flac", NULL, "flac\0" ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue