File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ APP_TITLE := 3DShell
4444APP_DESCRIPTION := Multi-purpose file manager
4545APP_AUTHOR := Joel16
4646VERSION_MAJOR := 4
47- VERSION_MINOR := 0
48- VERSION_MICRO := 1
47+ VERSION_MINOR := 1
48+ VERSION_MICRO := 0
4949GITVERSION := $(shell git log -1 --pretty='% h')
5050ICON := res/ic_launcher_filemanager.png
5151
Original file line number Diff line number Diff line change @@ -29,12 +29,13 @@ static u8 Opus_GetChannels(void) {
2929 return 2 ;
3030}
3131
32- static u64 Opus_FillBuffer (s16 * buffer ) {
32+ static u64 Opus_FillBuffer (void * buffer ) {
3333 u64 samplesRead = 0 ;
3434 int samplesToRead = buffSize ;
35+ s16 * buf = buffer ;
3536
3637 while (samplesToRead > 0 ) {
37- int samplesJustRead = op_read_stereo (opusFile , buffer , samplesToRead > 120 * 48 * 2 ? 120 * 48 * 2 : samplesToRead );
38+ int samplesJustRead = op_read_stereo (opusFile , buf , samplesToRead > 120 * 48 * 2 ? 120 * 48 * 2 : samplesToRead );
3839
3940 if (samplesJustRead < 0 )
4041 return samplesJustRead ;
@@ -45,7 +46,7 @@ static u64 Opus_FillBuffer(s16 *buffer) {
4546
4647 samplesRead += samplesJustRead * 2 ;
4748 samplesToRead -= samplesJustRead * 2 ;
48- buffer += samplesJustRead * 2 ;
49+ buf += samplesJustRead * 2 ;
4950 }
5051
5152 return samplesRead ;
You can’t perform that action at this time.
0 commit comments