Add a custom MIME type for MIDI
PiperOrigin-RevId: 466032455
This commit is contained in:
parent
2315a39f52
commit
579f25802a
@ -91,11 +91,15 @@ public final class MimeTypes {
|
|||||||
public static final String AUDIO_AMR_NB = BASE_TYPE_AUDIO + "/3gpp";
|
public static final String AUDIO_AMR_NB = BASE_TYPE_AUDIO + "/3gpp";
|
||||||
public static final String AUDIO_AMR_WB = BASE_TYPE_AUDIO + "/amr-wb";
|
public static final String AUDIO_AMR_WB = BASE_TYPE_AUDIO + "/amr-wb";
|
||||||
public static final String AUDIO_FLAC = BASE_TYPE_AUDIO + "/flac";
|
public static final String AUDIO_FLAC = BASE_TYPE_AUDIO + "/flac";
|
||||||
public static final String AUDIO_MIDI = BASE_TYPE_AUDIO + "/midi";
|
|
||||||
public static final String AUDIO_ALAC = BASE_TYPE_AUDIO + "/alac";
|
public static final String AUDIO_ALAC = BASE_TYPE_AUDIO + "/alac";
|
||||||
public static final String AUDIO_MSGSM = BASE_TYPE_AUDIO + "/gsm";
|
public static final String AUDIO_MSGSM = BASE_TYPE_AUDIO + "/gsm";
|
||||||
public static final String AUDIO_OGG = BASE_TYPE_AUDIO + "/ogg";
|
public static final String AUDIO_OGG = BASE_TYPE_AUDIO + "/ogg";
|
||||||
public static final String AUDIO_WAV = BASE_TYPE_AUDIO + "/wav";
|
public static final String AUDIO_WAV = BASE_TYPE_AUDIO + "/wav";
|
||||||
|
public static final String AUDIO_MIDI = BASE_TYPE_AUDIO + "/midi";
|
||||||
|
|
||||||
|
@UnstableApi
|
||||||
|
public static final String AUDIO_EXOPLAYER_MIDI = BASE_TYPE_AUDIO + "/x-exoplayer-midi";
|
||||||
|
|
||||||
@UnstableApi public static final String AUDIO_UNKNOWN = BASE_TYPE_AUDIO + "/x-unknown";
|
@UnstableApi public static final String AUDIO_UNKNOWN = BASE_TYPE_AUDIO + "/x-unknown";
|
||||||
|
|
||||||
// text/ MIME types
|
// text/ MIME types
|
||||||
|
@ -8,7 +8,8 @@ track 0:
|
|||||||
total output bytes = 96
|
total output bytes = 96
|
||||||
sample count = 96
|
sample count = 96
|
||||||
format 0:
|
format 0:
|
||||||
sampleMimeType = audio/midi
|
sampleMimeType = audio/x-exoplayer-midi
|
||||||
|
codecs = audio/midi
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 1
|
flags = 1
|
||||||
|
@ -8,7 +8,8 @@ track 0:
|
|||||||
total output bytes = 96
|
total output bytes = 96
|
||||||
sample count = 96
|
sample count = 96
|
||||||
format 0:
|
format 0:
|
||||||
sampleMimeType = audio/midi
|
sampleMimeType = audio/x-exoplayer-midi
|
||||||
|
codecs = audio/midi
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 1
|
flags = 1
|
||||||
|
@ -8,7 +8,8 @@ track 0:
|
|||||||
total output bytes = 43
|
total output bytes = 43
|
||||||
sample count = 19
|
sample count = 19
|
||||||
format 0:
|
format 0:
|
||||||
sampleMimeType = audio/midi
|
sampleMimeType = audio/x-exoplayer-midi
|
||||||
|
codecs = audio/midi
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 1
|
flags = 1
|
||||||
|
@ -8,7 +8,8 @@ track 0:
|
|||||||
total output bytes = 78
|
total output bytes = 78
|
||||||
sample count = 31
|
sample count = 31
|
||||||
format 0:
|
format 0:
|
||||||
sampleMimeType = audio/midi
|
sampleMimeType = audio/x-exoplayer-midi
|
||||||
|
codecs = audio/midi
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = 1
|
flags = 1
|
||||||
|
@ -8,7 +8,8 @@ track 0:
|
|||||||
total output bytes = 31
|
total output bytes = 31
|
||||||
sample count = 23
|
sample count = 23
|
||||||
format 0:
|
format 0:
|
||||||
sampleMimeType = audio/midi
|
sampleMimeType = audio/x-exoplayer-midi
|
||||||
|
codecs = audio/midi
|
||||||
sample 0:
|
sample 0:
|
||||||
time = 0
|
time = 0
|
||||||
flags = -2147483647
|
flags = -2147483647
|
||||||
|
Loading…
x
Reference in New Issue
Block a user