Skip to content

Rename AudioInfo.h/.cpp to AudioFormat.h/.cpp - #1782

Merged
Mysticial merged 1 commit into
mainfrom
rename-audioformat
Oct 31, 2026
Merged

Mysticial merged 1 commit into
mainfrom
rename-audioformat

Conversation

@pa-devbot

Copy link
Copy Markdown
Collaborator

After the AudioDeviceInfo (#1779) and AudioInputChoice (#1781) splits, AudioInfo.h/.cpp only holds the AudioSampleFormat alias, sample_size / sample_format_of and the AudioFormat class — so name it after that class.

  • git mv both files (rename detected: .h 83% / .cpp 93% similarity).
  • Include guard PokemonAutomation_AudioPipeline_AudioInfo_H → ..._AudioFormat_H; file header comments → "Audio Format".
  • Updated all 12 includes of the header (AudioInputChoice.h, AudioPassthroughPair.h, AudioSource.h, the IO/ and Backends/ headers + AudioInputFile.cpp, SinkPipeline_Tests.cpp, AudioInfo_Tests.cpp, Recording/StreamHistorySession.cpp) and the SourceFiles.cmake entries.

14 files changed, +18/−18. Builds clean; pa-test passes (20,150 passed, 0 failed).

The file now only holds the AudioSampleFormat alias, sample_size /
sample_format_of and the AudioFormat class, so name it after that
class. Updates the include guard, the file header comments, all
includes of the header, and the SourceFiles.cmake entries.
@Mysticial
Mysticial merged commit 08a8895 into main Oct 31, 2026
7 checks passed
@Mysticial
Mysticial deleted the rename-audioformat branch October 31, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants