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

[WIP] [DO NOT MERGE] yoshino: audio: prepare aaudio and HiFi routes for better pl… #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lzlrd
Copy link
Contributor

@lzlrd lzlrd commented Jun 23, 2019

…ayback

AAudio is a new playback method introduced in Oreo for low latency with
the ability to write directly to ALSA buffers. Explained here
https://web.archive.org/web/20190531163856/https://source.android.com/devices/audio/aaudio.
Also add in HiFi playback routes from stock to allow improved playback
with apps that do not dedicate exclusive access to the audio platform.

General cleanup and merging of BT SCO paths into one is also part of
this commit. The extra file allows older apps and apps using proaudio
route to take better advantage of our audio subsystem too.

Signed-off-by: Laster K. (lazerl0rd) [email protected]

…ayback

AAudio is a new playback method introduced in Oreo for low latency with
the ability to write directly to ALSA buffers. Explained here
https://web.archive.org/web/20190531163856/https://source.android.com/devices/audio/aaudio.
Also add in HiFi playback routes from stock to allow improved playback
with apps that do not dedicate exclusive access to the audio platform.

General cleanup and merging of BT SCO paths into one is also part of
this commit. The extra file allows older apps and apps using proaudio
route to take better advantage of our audio subsystem too.

Signed-off-by: Laster K. (lazerl0rd) <[email protected]>
@lzlrd
Copy link
Contributor Author

lzlrd commented Jun 23, 2019

Pairing with sonyxperiadev/device-sony-maple#63

@jerpelea
Copy link
Collaborator

please rebase and split the patch in functionality patches

@lzlrd lzlrd changed the title [SQUASH] yoshino: audio: prepare aaudio and HiFi routes for better pl… [WIP] [DO NOT MERGE] yoshino: audio: prepare aaudio and HiFi routes for better pl… Jun 25, 2019
@@ -57,12 +57,13 @@
<mixPorts>
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100,48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
samplingRates="41000,48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
Copy link

Choose a reason for hiding this comment

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

sample rate 41000, maybe 44100

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.

3 participants