Skip to content

Optimise Sound Engine #1542

@DavidMansolino

Description

@DavidMansolino

Describe the Bug
Currently the sound engine is initialised when Webots is started, but in 99% of the cases this is not needed (sound is disabled by default).

This is therefore not efficient because it takes time and consume resources uselessly, furthermore sound cause many disturbing 'ALSA' warnings in Webots on computer without sound devices (on travis for example, but also reported by many users).

Instead, we should initialise the sound engine only the first time it is actually used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImplementation of a minor featureoptimizationMake the code faster to execute

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions