Skip to content

expand format support for audio processors used by DefaultAudioSink #2259

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

Merged
merged 3 commits into from
May 19, 2025

Conversation

nift4
Copy link
Contributor

@nift4 nift4 commented Mar 23, 2025

This allows future extensions such as direct 24 bit / 32 bit (int) playback in DefaultAudioSink, and is a step towards Issue: #1931

Run audio processors possibly discarding data first to avoid wasting CPU on data that'll be discarded anyway.

@tonihei
Copy link
Collaborator

tonihei commented Apr 2, 2025

@ivanbuper Could you take a look at this extension?

@nift4
Copy link
Contributor Author

nift4 commented May 7, 2025

@ivanbuper ping since it has been a month, any chance you could take a look at this PR?

@ivanbuper
Copy link
Contributor

@nift4 Apologies for the delay. I was OOO for a while and currently solving some high-priority bugs. This PR is on my TODO list and I'll try to take a look very soon.

@ivanbuper
Copy link
Contributor

I'm going to send this for internal review now. You may see some more commits being added as I make changes in response to review feedback (e.g. formatting). Please refrain from pushing any more substantive changes as it will complicate the internal review - thanks!

ivanbuper added a commit to nift4/media that referenced this pull request May 9, 2025
ivanbuper added a commit to nift4/media that referenced this pull request May 15, 2025
ivanbuper added a commit to nift4/media that referenced this pull request May 15, 2025
This change is in preparation of github.com/androidx/pull/2259.
ivanbuper added a commit to nift4/media that referenced this pull request May 15, 2025
This change is in preparation of github.com/androidx/pull/2259.
@ivanbuper ivanbuper force-pushed the audiofmtproc branch 2 times, most recently from 15ec015 to 614d830 Compare May 15, 2025 16:21
ivanbuper added a commit to nift4/media that referenced this pull request May 15, 2025
This change is in preparation of github.com/androidx/pull/2259.
ivanbuper added a commit to nift4/media that referenced this pull request May 16, 2025
This change is in preparation of github.com/androidx/pull/2259.
ivanbuper added a commit to nift4/media that referenced this pull request May 16, 2025
ivanbuper added a commit to nift4/media that referenced this pull request May 16, 2025
This change is in preparation of github.com/androidx/pull/2259.
ivanbuper added a commit to nift4/media that referenced this pull request May 16, 2025
ivanbuper added a commit to nift4/media that referenced this pull request May 16, 2025
This change is in preparation of github.com/androidx/pull/2259.
nift4 and others added 3 commits May 19, 2025 14:03
This allows future extensions such as direct 24 bit / 32 bit (int)
playback in DefaultAudioSink, and is a step towards Issue: androidx#1931

Run audio processors possibly discarding data first to avoid wasting
CPU on data that'll be discarded anyway.
This change is in preparation of github.com/androidx/pull/2259.
@copybara-service copybara-service bot merged commit 54057b1 into androidx:main May 19, 2025
1 check passed
@nift4 nift4 deleted the audiofmtproc branch May 19, 2025 14:25
@nift4
Copy link
Contributor Author

nift4 commented May 19, 2025

Thanks :)

@androidx androidx locked and limited conversation to collaborators Jul 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants