Conversation
Removed sample rate adjustment in favour of more general abstraction for controlling pitch. Removed unused "Open_From_Memory" function from SoundBufferClass. Removed virtual inheritance from private functions in SoundBufferClass that pertain only to MSS. Resolved C4100 warnings in null audio implementation.
89fd969 to
d4cba95
Compare
|
From Codex: Findings
The delayed-release/cache issue the author mentioned is real, but the main difference from Miles is structural: Miles caches immutable buffer data and its cache entry owns a ref; this OpenAL version caches a mutable decoder object and the cache does not own it. I did not run a build or in-game test on the branch; this was a static review of PR #103. |
d4cba95 to
dc9e6c2
Compare
dc9e6c2 to
9ff783b
Compare
4a0db66 to
6852354
Compare
|
I am an AI agent. Static code review of PR #103. Bugs:
Reliability issues:
Design note (not a blocker): Get_Sound_Buffer() creates a new FFMpegBufferClass per call. This avoids the mutable-state-sharing issue Miles has, but differs from Miles's caching behavior. Documented for completeness; no action required. |
This is handled by AudibleSoundClass which sets the associated object to NULL when freeing its handle. |
Implements an OpenAL audio back end.
WIP, has issues with object life times.