Skip to content

Commit

Permalink
Merge google#53
Browse files Browse the repository at this point in the history
  • Loading branch information
TacoTheDank committed Jun 23, 2020
1 parent 28037a1 commit 22543a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/ringdroid/soundfile/MP4Header.java
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,13 @@ public MP4Header(int sampleRate, int numChannels, int[] frame_size, int bitrate)
durationMS++;
}
mNumSamples= new byte[] {
(byte)((numSamples >> 26) & 0XFF),
(byte)((numSamples >> 24) & 0XFF),
(byte)((numSamples >> 16) & 0XFF),
(byte)((numSamples >> 8) & 0XFF),
(byte)(numSamples & 0XFF)
};
mDurationMS = new byte[] {
(byte)((durationMS >> 26) & 0XFF),
(byte)((durationMS >> 24) & 0XFF),
(byte)((durationMS >> 16) & 0XFF),
(byte)((durationMS >> 8) & 0XFF),
(byte)(durationMS & 0XFF)
Expand Down

0 comments on commit 22543a5

Please sign in to comment.