소스 검색

Tweaks

pull/1113/head
Ray 5 년 전
부모
커밋
05992a6fce
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -0
      src/raudio.c
  2. +1
    -1
      src/raylib.h

+ 1
- 0
src/raudio.c 파일 보기

@ -745,6 +745,7 @@ void ExportWave(Wave wave, const char *fileName)
// Export raw sample data (without header)
// NOTE: It's up to the user to track wave parameters
SaveFileData(fileName, wave.data, wave.sampleCount*wave.channels*wave.sampleSize/8);
success = true;
}
if (success) TRACELOG(LOG_INFO, "Wave exported successfully: %s", fileName);

+ 1
- 1
src/raylib.h 파일 보기

@ -104,7 +104,7 @@
#define RL_MALLOC(sz) malloc(sz)
#endif
#ifndef RL_CALLOC
#define RL_CALLOC(ptr,sz) calloc(ptr,sz)
#define RL_CALLOC(n,sz) calloc(n,sz)
#endif
#ifndef RL_REALLOC
#define RL_REALLOC(ptr,sz) realloc(ptr,sz)

불러오는 중...
취소
저장