OSDN Git Service

Refactor USB HAL (audio_hw.c)
authorPaul McLean <pmclean@google.com>
Wed, 16 Jul 2014 16:48:34 +0000 (09:48 -0700)
committerPaul McLean <pmclean@google.com>
Fri, 25 Jul 2014 19:48:51 +0000 (12:48 -0700)
commitc88e6ae584a5f7ea65ab6df89e381c2c7bf8e84e
treec4f1b2e19543ff3ff3df89b113f843ad8292f2c3
parent962e9adc2f281b0669fbec2e7f8b011beb726d8c
Refactor USB HAL (audio_hw.c)

Refactoring alsa device attributes to alsa_device_profile.h/.c
Refactoring alsa device state to alsa_device_proxy.h/.c
Refactoring format functions into format.h/.c
Refactoring logging functions into logging.h/.c
Sundry (and extensive) code cleanup
Reworked locking on out_write() and in_read() to allow
  simultaneous input/output

Bug: 159868271585670212833166

Change-Id: I82c8d0ef252b2f95ee23f263dc175f4c883bfd64
modules/usbaudio/Android.mk
modules/usbaudio/alsa_device_profile.c [new file with mode: 0644]
modules/usbaudio/alsa_device_profile.h [new file with mode: 0644]
modules/usbaudio/alsa_device_proxy.c [new file with mode: 0644]
modules/usbaudio/alsa_device_proxy.h [new file with mode: 0644]
modules/usbaudio/audio_hw.c
modules/usbaudio/format.c [new file with mode: 0644]
modules/usbaudio/format.h [new file with mode: 0644]
modules/usbaudio/logging.c [new file with mode: 0644]
modules/usbaudio/logging.h [new file with mode: 0644]