зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1102703: (2/10) Extend internal interfaces to sync with android lollipop and bluez 5.26 (a2dp) r=shawnjohnjr
This commit is contained in:
Родитель
6b9eecaa70
Коммит
0581a40170
|
@ -263,6 +263,12 @@ public:
|
||||||
const nsAString& aBdAddr)
|
const nsAString& aBdAddr)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
virtual void
|
||||||
|
AudioConfigNotification(const nsAString& aBdAddr,
|
||||||
|
uint32_t aSampleRate,
|
||||||
|
uint8_t aChannelCount)
|
||||||
|
{ }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
BluetoothA2dpNotificationHandler()
|
BluetoothA2dpNotificationHandler()
|
||||||
{ }
|
{ }
|
||||||
|
|
|
@ -75,6 +75,12 @@ struct BluetoothA2dpHALCallback
|
||||||
BluetoothA2dpAudioState, const nsAString&>
|
BluetoothA2dpAudioState, const nsAString&>
|
||||||
AudioStateNotification;
|
AudioStateNotification;
|
||||||
|
|
||||||
|
typedef BluetoothNotificationHALRunnable3<
|
||||||
|
A2dpNotificationHandlerWrapper, void,
|
||||||
|
nsString, uint32_t, uint8_t,
|
||||||
|
const nsAString&, uint32_t, uint8_t>
|
||||||
|
AudioConfigNotification;
|
||||||
|
|
||||||
// Bluedroid A2DP callbacks
|
// Bluedroid A2DP callbacks
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Загрузка…
Ссылка в новой задаче