You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently integrated libacm in our Descent 3 game project (https://github.com/DescentDevelopers/Descent3). It uses ACM audio files in both mono and stereo. After integration, we encountered a problem that samples with one channel were cut off during playback. We found that in this case acm_open_decoder() with force_chans = 0 forces two channels despite the correct ACM header.
Although we can do force_chans = 1/2, this requires separate processing of the ACM header, which is not optimal from the point of view of the logic of our code. Is it possible to remove this check in the code?
Hello!
We recently integrated libacm in our Descent 3 game project (https://github.com/DescentDevelopers/Descent3). It uses ACM audio files in both mono and stereo. After integration, we encountered a problem that samples with one channel were cut off during playback. We found that in this case acm_open_decoder() with force_chans = 0 forces two channels despite the correct ACM header.
Although we can do force_chans = 1/2, this requires separate processing of the ACM header, which is not optimal from the point of view of the logic of our code. Is it possible to remove this check in the code?
Proposed changes here.
The text was updated successfully, but these errors were encountered: