Skip to content

Instantly share code, notes, and snippets.

@pawitp
Last active December 16, 2015 14:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save pawitp/5449660 to your computer and use it in GitHub Desktop.
Save pawitp/5449660 to your computer and use it in GitHub Desktop.
From f7c0c6d9de40a3d221a5ee532092f8b9bbefb72d Mon Sep 17 00:00:00 2001
From: Pawit Pornkitprasan <p.pawit@gmail.com>
Date: Wed, 24 Apr 2013 11:05:24 +0700
Subject: [PATCH] libhardware: padding for samsung BCM audio blob
Change-Id: I156d25a85fc09413e67a8816f91af3d1db8e4159
---
include/hardware/audio.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/hardware/audio.h b/include/hardware/audio.h
index 3106738..d84b848 100644
--- a/include/hardware/audio.h
+++ b/include/hardware/audio.h
@@ -570,7 +570,7 @@ struct audio_hw_device {
void (*close_output_stream)(struct audio_hw_device *dev,
struct audio_stream_out* stream_out);
-#ifdef QCOM_HARDWARE
+#if defined(QCOM_HARDWARE) || defined(SAMSUNG_BCM_AUDIO_BLOB)
/** This method creates and opens the audio hardware output
* for broadcast stream */
int (*open_broadcast_stream)(struct audio_hw_device *dev, uint32_t devices,
--
1.7.3.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment