Skip to content

Audio meter in auaudio - #9806

Merged
saintmatthieu merged 7 commits into
audacity:masterfrom
saintmatthieu:audio_meter_in_auaudio
Nov 5, 2025
Merged

saintmatthieu merged 7 commits into
audacity:masterfrom
saintmatthieu:audio_meter_in_auaudio

Conversation

@saintmatthieu

@saintmatthieu saintmatthieu commented Nov 3, 2025 •

Copy link
Copy Markdown
Contributor

The fact that IMeterSender is an Au3 API has been propagating Au3 implementations and includes in Au4 modules.
Now we have an adapter that implements IMeterSender and whose internal object is an Au4-only IAudioMeter, whose implementation is Au3-agnostic.
To make this possible without duplicating types, audiotypes.h was also migrated from au3audio to auaudio. This change has its own commit.

Follow-up on #9613

  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Autobot test cases have been run

@saintmatthieu saintmatthieu self-assigned this Nov 3, 2025
@saintmatthieu saintmatthieu moved this from Design - Todo to Code Review in [AU4] Main Board(archive) Nov 3, 2025
@luapmartin

Copy link
Copy Markdown
Contributor

first glance what I found a bit strange is the module naming, maybe that would we worth it to tidy up things,

  • auaudio/ is module auaudio
  • au3wrap/ is module au3wrap
  • au3audio/ is module audio

we don't have much au module auaudio is the first one, is this a new category of modules, should it be au4audio, should it be audio and should au3audio be module au3audio instead of audio?

@saintmatthieu

Copy link
Copy Markdown
Contributor Author

@luapmartin I first wanted to use audio, but unfortunately the au3audio module directory actually defines the audio module already.
Probably I should do audio -> au3audio, then auaudio -> audio wouldn't be a problem. WDYT ?

@saintmatthieu
saintmatthieu force-pushed the audio_meter_in_auaudio branch from d1196d5 to 9b38286 Compare November 3, 2025 13:27
Comment thread src/app/CMakeLists.txt Resolved
Comment thread src/au3audio/au3audiomodule.h Resolved
@luapmartin

Copy link
Copy Markdown
Contributor

this will conflict with #9692
what should we do ? in which order should we proceed?

Comment thread src/app/CMakeLists.txt Outdated
context
effects_audio_unit
effects_lv2
effects_vst
project
projectscene
audio
au3audio

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please move au3audio near au3wrap

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't care so much.

Comment thread src/audio/CMakeLists.txt
Comment on lines +16 to +18
${CMAKE_CURRENT_LIST_DIR}/internal/auqttimer.cpp
${CMAKE_CURRENT_LIST_DIR}/internal/auqttimer.h
${CMAKE_CURRENT_LIST_DIR}/internal/itimer.h

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auqttimer, itimer aren't audio related maybe introduce a common or global or something in those line module : see #9800

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and my personal preference would be this: #9800 (comment)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, but not in this PR. Within or after 9800, certainly.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok here then : #9821

@saintmatthieu
saintmatthieu force-pushed the audio_meter_in_auaudio branch from b542e4c to a29725f Compare November 5, 2025 08:02
@saintmatthieu
saintmatthieu merged commit 515f955 into audacity:master Nov 5, 2025
@github-project-automation github-project-automation Bot moved this from Code Review to Done in [AU4] Main Board(archive) Nov 5, 2025
@saintmatthieu
saintmatthieu deleted the audio_meter_in_auaudio branch August 28, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants