Skip to content

Commit a664e6d

Browse files
James Chenminggo
authored andcommitted
Fixes missing return value of onWavClose function. (#18544)
1 parent e127c35 commit a664e6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cocos/audio/android/AudioDecoderWav.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ int AudioDecoderWav::onWavSeek(void* datasource, long offset, int whence)
5252

5353
int AudioDecoderWav::onWavClose(void* datasource)
5454
{
55+
return 0;
5556
}
5657

5758
bool AudioDecoderWav::decodeToPcm()

0 commit comments

Comments
 (0)