match upstream name for direct play

This commit is contained in:
dkanada 2020-07-23 14:34:28 +09:00
commit 613edf239a
11 changed files with 68 additions and 69 deletions

View file

@ -1,12 +1,12 @@
package com.dkanada.gramophone.model;
public class DirectplayCodec {
public class DirectPlayCodec {
public String codecName;
public String title;
public String value;
public boolean selected;
public DirectplayCodec(String codecName, String title, String value, boolean selected) {
public DirectPlayCodec(String codecName, String title, String value, boolean selected) {
this.codecName = codecName;
this.title = title;
this.value = value;
@ -14,12 +14,11 @@ public class DirectplayCodec {
}
public enum Codec {
// These are all non-translatable so just keep them here.
FLAC("FLAC","flac|flac"),
MP3("MP3", "mp3|mp3"),
AAC("AAC (.m4a)", "m4a|aac"),
OPUS("OPUS (.mka)", "mka|opus"),
VORBIS("VORBIS (.ogg)", "ogg|vorbis");
AAC("AAC", "m4a|aac"),
OGG("OGG", "ogg|vorbis"),
MKA("MKA", "mka|opus");
public final String title;
public final String value;