Skip to content

Commit

Permalink
libhardware: Don't always include set_fm_volume
Browse files Browse the repository at this point in the history
 * Stop breaking mah ABI!

Change-Id: I1ee7c41b764c72a6780c5990390ce5377b4780f8
  • Loading branch information
hyperb1iss committed Jun 22, 2012
1 parent c003f5c commit e37a70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/hardware/audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ struct audio_hw_device {
*/
int (*set_master_volume)(struct audio_hw_device *dev, float volume);

#ifdef QCOM_HARDWARE
#if defined(QCOM_HARDWARE) && defined(FM_RADIO)
/** set the fm audio volume. Range is between 0.0 and 1.0 */
int (*set_fm_volume)(struct audio_hw_device *dev, float volume);
#endif
Expand Down

0 comments on commit e37a70c

Please sign in to comment.