OSDN Git Service

Quick hack fix for USB accessory audio support
authorMike Lockwood <lockwood@google.com>
Thu, 14 Aug 2014 16:34:54 +0000 (09:34 -0700)
committerGlenn Kasten <gkasten@google.com>
Thu, 21 Aug 2014 14:51:29 +0000 (14:51 +0000)
commit7de76b2d4d597b6984567e66208c9c0268ceaac9
tree56802292446bf8a47e75fc7e6af5d8dd9aca0604
parentaf5187efbddfe7d47238ed28e48b13ca4b96b9fe
Quick hack fix for USB accessory audio support

tinyalsa fails to retrieve the correct value for the period count
from the f_audio_source driver and tries to use zero instead.
This wasn't a problem before because the usb audio HAL used hard coded values
that were compatible with the driver.

Bug: 16799652
Change-Id: I6f5b907a0699c58b071e9f419ed8e053a7d9dc77
modules/usbaudio/alsa_device_proxy.c