| Summary: | make Mix_ChannelFinished work in C++ | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Daniel Sobe <daniel.sobe> |
| Component: | misc | Assignee: | Ryan C. Gordon <icculus> |
| Status: | ASSIGNED --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | isage.dna |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Daniel Sobe
2014-03-23 13:38:43 UTC
This is a good idea, but needs to wait for a breaking ABI rev Having userdata in callback would be great not only from c++ POV. But, you can use this in c++ even now by utilizing std::bind and some more magic. See https://github.com/falltergeist/falltergeist/blob/develop/src/Audio/Mixer.cpp#L154 for example. |