clean ups
This commit is contained in:
parent
31fdeca0f4
commit
ff25c9a294
2 changed files with 1 additions and 2 deletions
|
|
@ -25,7 +25,6 @@ public class FileEncoder {
|
|||
this.context = context;
|
||||
this.in = in;
|
||||
this.encoder = encoder;
|
||||
|
||||
handler = new Handler();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ public class FormatMKA implements Encoder {
|
|||
format.setString(MediaFormat.KEY_MIME, Factory.MP4A);
|
||||
format.setInteger(MediaFormat.KEY_SAMPLE_RATE, info.sampleRate);
|
||||
format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, info.channels);
|
||||
format.setInteger(MediaFormat.KEY_BIT_RATE, 64 * 1024);
|
||||
format.setInteger(MediaFormat.KEY_BIT_RATE, 64000);
|
||||
format.setInteger(MediaFormat.KEY_AAC_PROFILE, MediaCodecInfo.CodecProfileLevel.AACObjectHE);
|
||||
format.setInteger(KEY_AAC_SBR_MODE, 0);
|
||||
create(info, format, out);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue