Diff between e32f2f1ada69ae6fda182e87b72da874019b4125 and da79a4534b7dc6c75203b56ada4cf7ac761ecfb3
Changed Files
| File | Additions | Deletions | Status |
| android/hal-audio.c | +2 | -1 | modified |
Full Patch
diff --git a/android/hal-audio.c b/android/hal-audio.c
index 04615d9..d5e2069 100644
--- a/android/hal-audio.c
+++ b/android/hal-audio.c
@@ -282,8 +282,9 @@ static int audio_open_output_stream(struct audio_hw_device *dev,
static void audio_close_output_stream(struct audio_hw_device *dev,
struct audio_stream_out *stream)
{
+ struct a2dp_audio_dev *a2dp_dev = (struct a2dp_audio_dev *) dev;
+
DBG("");
- struct a2dp_audio_dev *a2dp_dev = (struct a2dp_audio_dev *)dev;
free(stream);
a2dp_dev->out = NULL;