Ticket #163 (closed defect: fixed)
Audio Profile Management
| Reported by: | lg@… | Owned by: | mickeyl |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | openmoko-libs | Version: | unspecified |
| Severity: | wishlist | Keywords: | |
| Cc: | buglog@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
There needs to be audio profile management (possibly part of libmokocore) that
will switch the audio profile depending on the active phone profile. This will
require loading a new audio state file with alsactl to change the neo1973 audio
routing to match the new profile.
Audio profile change can sometimes cause the volume mixers to change. e.g. the
volume controls for headset and handset volumes may be different alsa controls.
The audio profile manager must be aware of this and notify the mixer GUI
application of any changes when the profile is changed.
The audio manager will also be required to start and stop the BT <--> WM8753
voice interface. This can be started by a couple of alsa-lib calls or by running
a small program. e.g.
http://opensource.wolfsonmicro.com/~gg/bluetooth-pcm/bluetooth_pcm.c
