File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
app/src/main/java/protect/videotranscoder/media Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 22
33import android .support .annotation .Nullable ;
44
5+ import java .util .Arrays ;
6+ import java .util .Collections ;
7+ import java .util .List ;
8+
59/**
610 * List of audio codecs which the application may support
711 */
812public enum AudioCodec
913{
10- AAC ("aac" ),
11- MP3 ("mp3" ),
12- VORBIS ("vorbis" ),
14+ AAC ("aac" , Arrays . asList ( "1" , "2" ) ),
15+ MP3 ("mp3" , Arrays . asList ( "1" , "2" ) ),
16+ VORBIS ("vorbis" , Collections . singletonList ( "2" ) ),
1317 ;
1418
1519 public final String ffmpegName ;
20+ public final List <String > supportedChannels ;
1621
17- AudioCodec (String ffmpegName )
22+ AudioCodec (String ffmpegName , List < String > supportedChannels )
1823 {
1924 this .ffmpegName = ffmpegName ;
25+ this .supportedChannels = Collections .unmodifiableList (supportedChannels );
2026 }
2127
2228 @ Nullable
You can’t perform that action at this time.
0 commit comments