Bug 1102703 - Extend internal interfaces to sync with android lollipop and bluez 5.26 (a2dp). r=shawnjohnjr

This commit is contained in:
Bruce Sun 2015-01-08 11:46:10 +08:00
parent 11a23df117
commit e44f886222
2 changed files with 12 additions and 0 deletions

View File

@ -263,6 +263,12 @@ public:
const nsAString& aBdAddr)
{ }
virtual void
AudioConfigNotification(const nsAString& aBdAddr,
uint32_t aSampleRate,
uint8_t aChannelCount)
{ }
protected:
BluetoothA2dpNotificationHandler()
{ }

View File

@ -75,6 +75,12 @@ struct BluetoothA2dpHALCallback
BluetoothA2dpAudioState, const nsAString&>
AudioStateNotification;
typedef BluetoothNotificationHALRunnable3<
A2dpNotificationHandlerWrapper, void,
nsString, uint32_t, uint8_t,
const nsAString&, uint32_t, uint8_t>
AudioConfigNotification;
// Bluedroid A2DP callbacks
static void