Skip to content

move auqttimer out of audio module #9821

Open

Description

@luapmartin

Description

from #9806 (comment)

auqttimer should be moved out of the audio module

Activity

  1. self-assigned this
    on Nov 4, 2025
  2. added theissue type on Nov 4, 2025
  3. added
    Task
    on Nov 4, 2025
  4. kryksyh commented on Nov 18, 2025

    @kryksyh
    Member

    most likely it should be removed in favor of framework's timer.h

  5. igorkorsukov commented on Nov 18, 2025

    @igorkorsukov
    Collaborator

    I wouldn't recommend using timers... if they're used, it's a bit concerning...
    If we do need to do something periodically, like reading a message queue from another thread... then it's better to use the Ticker from the framework.

  6. saintmatthieu commented on Nov 20, 2025

    @saintmatthieu
    Contributor

    @kryksyh the intention of this abstraction was to provide an opportunity to mock the timer so as to be able to test the classes using it (AudioMeter).

    @igorkorsukov what's the difference to using a QTimer, which is what AudioMeter was originally using? QTimers usage is very wide-spread.

  7. igorkorsukov commented on Nov 20, 2025

    @igorkorsukov
    Collaborator

    @saintmatthieu Using a timer there was a quick, hacky solution, just to make it work...
    But now you're trying to do it right, design the solution as it should be... refactoring...

  8. saintmatthieu commented on Nov 20, 2025

    @saintmatthieu
    Contributor

    So is this a 👍 proceed or a 👎 change ? 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Task

Type

Fields

Priority

None yet

Effort

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions