Skip to content

Conversation

@nwhasd
Copy link

@nwhasd nwhasd commented Feb 4, 2024

crash Set a breakpoint, debug the code step by step, and the program will crash. Commenting out the StopMusicStream function has a greater chance of crashing.
#include <iostream>
#include "raudio.h"

int main()
{
    InitAudioDevice();
    Music* pMusic = new Music();
    *pMusic = LoadMusicStream("C:/music.mp3");
    PlayMusicStream(*pMusic);
    UpdateMusicStream(*pMusic);
    // StopMusicStream(*pMusic);
    UnloadMusicStream(*pMusic);
    delete(pMusic);
    CloseAudioDevice();
    return 0;
}

2、raudio增加空指针判断。
3、raudio内存分配失败记录日志。
4、raudio修复miniaudio日志的显示。
5、raudio加入一些接口。
6、更新miniauido。
7、miniaudio修复未初始化com就调用com接口的问题。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant