mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-07 11:58:13 +00:00
Minor tweaks
This commit is contained in:
@@ -2064,7 +2064,7 @@ static Wave LoadFLAC(const char *fileName)
|
|||||||
Wave wave;
|
Wave wave;
|
||||||
|
|
||||||
// Decode an entire FLAC file in one go
|
// Decode an entire FLAC file in one go
|
||||||
uint64_t totalSampleCount;
|
unsigned long long int totalSampleCount;
|
||||||
wave.data = drflac_open_file_and_read_pcm_frames_s16(fileName, &wave.channels, &wave.sampleRate, &totalSampleCount);
|
wave.data = drflac_open_file_and_read_pcm_frames_s16(fileName, &wave.channels, &wave.sampleRate, &totalSampleCount);
|
||||||
|
|
||||||
wave.sampleCount = (unsigned int)totalSampleCount;
|
wave.sampleCount = (unsigned int)totalSampleCount;
|
||||||
@@ -2088,7 +2088,7 @@ static Wave LoadMP3(const char *fileName)
|
|||||||
Wave wave = { 0 };
|
Wave wave = { 0 };
|
||||||
|
|
||||||
// Decode an entire MP3 file in one go
|
// Decode an entire MP3 file in one go
|
||||||
uint64_t totalFrameCount = 0;
|
unsigned long long int totalFrameCount = 0;
|
||||||
drmp3_config config = { 0 };
|
drmp3_config config = { 0 };
|
||||||
wave.data = drmp3_open_file_and_read_f32(fileName, &config, &totalFrameCount);
|
wave.data = drmp3_open_file_and_read_f32(fileName, &config, &totalFrameCount);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user