Skip to content

Audio does not pan on native #2033

@Digivorix

Description

@Digivorix

Version

Lime 8.3.1, Haxe 4.3.2, hxcpp 4.3.2, Windows 10 22H2

Problem

When building for native (currently only tested on Windows), the position property of AudioSources does not work. The position value appears to be set correctly if you check it, but it just has no affect. On HTML5, the position value pans the audio as expected.

This was tested on a regular, non-static build that uses OpenAL on native.

Sample Project

This is a modified version of the SimpleAudio project. The x position of the ambience audio is set to -1 after it starts in the play function. It does not seem to matter whether the position value is set before or after the AudioSource begins playing.
LimeAudioPosition.zip

Any help is appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions