Commits

Anonymous committed ee56ff7 Merge

Merge "Add USB audio HAL to the build" into jb-dev

Comments (0)

Files changed (2)

audio/audio_policy.conf

       }
     }
   }
+  usb {
+    outputs {
+      usb_accessory {
+        sampling_rates 44100
+        channel_masks AUDIO_CHANNEL_OUT_STEREO
+        formats AUDIO_FORMAT_PCM_16_BIT
+        devices AUDIO_DEVICE_OUT_USB_ACCESSORY
+      }
+      usb_device {
+        sampling_rates 44100
+        channel_masks AUDIO_CHANNEL_OUT_STEREO
+        formats AUDIO_FORMAT_PCM_16_BIT
+        devices AUDIO_DEVICE_OUT_USB_DEVICE
+      }
+    }
+  }
 }
 # Audio
 PRODUCT_PACKAGES += \
 	audio.primary.tuna \
-	audio.a2dp.default
+	audio.a2dp.default \
+	audio.usb.default
 
 PRODUCT_COPY_FILES += \
 	device/samsung/tuna/audio/audio_policy.conf:system/etc/audio_policy.conf