Skip to content

Vorbis stereo -> mono conversion #7

@lannior

Description

@lannior

Right now we only support loading stereo .ogg files. OpenAL expects us to use mono - so right now we just rip the second channel out of stereo to turn it into mono.

The implementation is hacky and it would be a lot better if we just supported loading mono .ogg files instead, or at least have it merge the 2 stereo channels into 1 mono channel instead of discarding one of them.

https://github.com/Weldify/prospect/blob/7d2e207740a0a5f606c993c9e8db46a4548f3976/src/Prospect.Engine/Audio/OpenAL/AudioBuffer.cs#L28C9-L28C9

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions