Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: audio drivers cleanup #5789

Merged
merged 6 commits into from
Jan 17, 2025
Merged

chore: audio drivers cleanup #5789

merged 6 commits into from
Jan 17, 2025

Conversation

raphaelcoeffic
Copy link
Member

@raphaelcoeffic raphaelcoeffic commented Jan 15, 2025

Summary of changes:

  • removed unnecessary interrupt disable/re-enable
  • removed unnecessary bit shift for DAC audio by switching to "left-aligned" format
  • moved basic audio interface definition into hal/audio_driver.h
  • moved code for Xlites' shared DSC / audio jack into own files

@pfeerick pfeerick added the house keeping 🧹 Cleanup of code and house keeping label Jan 15, 2025
@3djc
Copy link
Collaborator

3djc commented Jan 16, 2025

Looks good to me, tested on T15 and GX12

radio/src/audio.cpp Show resolved Hide resolved
radio/src/audio.cpp Outdated Show resolved Hide resolved
radio/src/targets/simu/simpgmspace.cpp Show resolved Hide resolved
radio/src/targets/simu/simpgmspace.cpp Show resolved Hide resolved
radio/src/targets/simu/simpgmspace.cpp Outdated Show resolved Hide resolved
radio/src/audio.cpp Outdated Show resolved Hide resolved
gagarinlg
gagarinlg previously approved these changes Jan 17, 2025
@raphaelcoeffic raphaelcoeffic merged commit 5a15ffb into main Jan 17, 2025
49 checks passed
@raphaelcoeffic raphaelcoeffic deleted the audio-cleanup branch January 17, 2025 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
house keeping 🧹 Cleanup of code and house keeping
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants