Skip to content

Commit

Permalink
Audio configuration for remote submix
Browse files Browse the repository at this point in the history
Change-Id: I0a9fa3f79e7c7bd3716d7789003aba68211d1fb4
  • Loading branch information
jmtrivi committed Sep 7, 2012
1 parent 329c2f7 commit a27f9cb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions audio_policy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,22 @@ audio_hw_modules {
}
}
}
r_submix {
outputs {
submix {
sampling_rates 44100|48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX
}
}
inputs {
submix {
sampling_rates 44100|48000
channel_masks AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_REMOTE_SUBMIX
}
}
}
}
3 changes: 2 additions & 1 deletion device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ PRODUCT_PACKAGES += \
audio_policy.msm8960 \
audio.primary.msm8960 \
audio.a2dp.default \
audio.usb.default
audio.usb.default \
audio.r_submix.default

PRODUCT_PACKAGES += \
hci_qcomm_init
Expand Down

0 comments on commit a27f9cb

Please sign in to comment.