Home
last modified time | relevance | path

Searched refs:outputDeviceChange (Results 1 – 25 of 25) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/spatialization/
H A Daudio_spatialization_service.cpp485 UpdateHeadTrackingDeviceState(outputDeviceChange, preDeviceAddress); in UpdateSpatializationStateReal()
493 HandleSpatializationStateChange(outputDeviceChange); in UpdateSpatializationStateReal()
494 UpdateHeadTrackingDeviceState(outputDeviceChange, preDeviceAddress); in UpdateSpatializationStateReal()
562 void AudioSpatializationService::HandleSpatializationStateChange(bool outputDeviceChange) in HandleSpatializationStateChange() argument
580 if (!outputDeviceChange) { in HandleSpatializationStateChange()
585 if (!outputDeviceChange) { in HandleSpatializationStateChange()
592 if (!outputDeviceChange) { in HandleSpatializationStateChange()
696 void AudioSpatializationService::UpdateHeadTrackingDeviceState(bool outputDeviceChange, std::string… in UpdateHeadTrackingDeviceState() argument
699 if (outputDeviceChange && !preDeviceAddress.empty() && isHeadTrackingDataRequested_) { in UpdateHeadTrackingDeviceState()
705 ((!outputDeviceChange && (isHeadTrackingDataRequested_ != isRequested)) || in UpdateHeadTrackingDeviceState()
[all …]
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/spatialization/
H A Daudio_spatialization_service.h91 … int32_t UpdateSpatializationStateReal(bool outputDeviceChange, std::string preDeviceAddress = "");
95 void HandleSpatializationStateChange(bool outputDeviceChange);
98 void UpdateHeadTrackingDeviceState(bool outputDeviceChange, std::string preDeviceAddress = "");
/ohos5.0/docs/zh-cn/application-dev/media/avsession/
H A Dusing-avsession-developer.md296 - outputDeviceChange: 播放设备变化的事件。
317 session.on('outputDeviceChange', (device) => {
318 console.info(`on outputDeviceChange , the device info is ${JSON.stringify(device)}`);
376 session.off('outputDeviceChange');
H A Dusing-avsession-controller.md166 - outputDeviceChange:播放设备变化事件。
222 controller.on('outputDeviceChange', (state, device) => {
223 console.info(`outputDeviceChange device are : ${JSON.stringify(device)}`);
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-multimedia.md162 …ype: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>访问级别:系统API|类名:A…
163 …pe: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>访问级别:系统API|类名:A…
244 …'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>访问级别:系统API|类名:AVSess…
245outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>访问级别:系统API|类名:AVSess…
/ohos5.0/docs/zh-cn/release-notes/api-diff/Beta5 to v3.2-Release/
H A Djs-apidiff-multimedia.md22 …pe: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>访问级别:公开API|类名:A…
28outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>访问级别:公开API|类名:AVSess…
208 …ype: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>起始版本:N/A|类名:AV…
214 …'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>起始版本:N/A|类名:AVSessi…
232 |新增(错误码)|NA|类名:AVSession<br>方法 or 属性:off(type: 'outputDeviceChange', callback?: (device: OutputDevi…
238 |新增(错误码)|NA|类名:AVSessionController<br>方法 or 属性:off(type: 'outputDeviceChange', callback?: (device: …
/ohos5.0/docs/en/application-dev/media/avsession/
H A Dusing-avsession-developer.md298 - **outputDeviceChange**: triggered when the output device changes.
319 session.on('outputDeviceChange', (device) => {
320 console.info(`on outputDeviceChange , the device info is ${JSON.stringify(device)}`);
379 session.off('outputDeviceChange');
H A Dusing-avsession-controller.md166 - **outputDeviceChange**: triggered when the output device changes.
222 controller.on('outputDeviceChange', (state, device) => {
223 console.info(`outputDeviceChange device are : ${JSON.stringify(device)}`);
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-multimedia.md6 |删除|类名:AVSession;<br>方法or属性:on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => …
7 |删除|类名:AVSessionController;<br>方法or属性:on(type: 'outputDeviceChange', callback: (device: OutputDevic…
9 |删除|类名:AVSession;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) =…
10 |删除|类名:AVSessionController;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (device: OutputDev…
60 |新增|NA|类名:AudioRenderer;<br>方法or属性:on(type: 'outputDeviceChange', callback: Callback\<AudioDeviceDe…
61 |新增|NA|类名:AudioRenderer;<br>方法or属性:off(type: 'outputDeviceChange', callback?: Callback\<AudioDevice…
104 |新增|NA|类名:AVSession;<br>方法or属性:on(type: 'outputDeviceChange', callback: (state: ConnectionState, de…
105 |新增|NA|类名:AVSessionController;<br>方法or属性:on(type: 'outputDeviceChange', callback: (state: Connectio…
113 |新增|NA|类名:AVSession;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (state: ConnectionState, …
114 |新增|NA|类名:AVSessionController;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (state: Connect…
/ohos5.0/foundation/multimedia/av_session/test/resource/
H A Dcontroller_index_js.md588 this.avSessionCtrl.on('outputDeviceChange', () => {
589 this.log('outputDeviceChange success');
590 … console.info('[ttt] AVSessionController[IndexPage] AVSessionCtrl outputDeviceChange callback.');
598 this.avSessionCtrl.off("outputDeviceChange");
/ohos5.0/docs/zh-cn/application-dev/reference/apis-avsession-kit/
H A Djs-apis-avsession.md2187 ### on('outputDeviceChange')<sup>10+</sup>
2189 on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void…
2218 console.info(`on outputDeviceChange device : ${device}`);
2713 ### off('outputDeviceChange')<sup>10+</sup>
2715 off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => vo…
2743 currentAVSession.off('outputDeviceChange');
7114 ### on('outputDeviceChange')<sup>10+</sup>
7116 on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void…
7145 console.info(`on outputDeviceChange state: ${state}, device : ${device}`);
7149 ### off('outputDeviceChange')<sup>10+</sup>
[all …]
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-multimedia.md162outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: system …
163outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Access level: system…
244outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: system …
245outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Access level: system…
/ohos5.0/docs/en/release-notes/api-diff/Beta5-to-v3.2-Release/
H A Djs-apidiff-multimedia.md22outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Access level: public…
28outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Access level: public…
208outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Initial version: N/A…
214outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;<br>Initial version: N/A…
232 …d|NA|Class name: AVSession<br>Method or attribute name: off(type: 'outputDeviceChange', callback?:…
238 … name: AVSessionController<br>Method or attribute name: off(type: 'outputDeviceChange', callback?:…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-multimedia.md6 |Deleted|Class name: AVSession;<br>Method or attribute name: on(type: 'outputDeviceChange', callbac…
7 |Deleted|Class name: AVSessionController;<br>Method or attribute name: on(type: 'outputDeviceChange
9 |Deleted|Class name: AVSession;<br>Method or attribute name: off(type: 'outputDeviceChange', callba…
10 …name: AVSessionController;<br>Method or attribute name: off(type: 'outputDeviceChange', callback?:…
60 |Added|NA|Class name: AudioRenderer;<br>Method or attribute name: on(type: 'outputDeviceChange', ca…
61 |Added|NA|Class name: AudioRenderer;<br>Method or attribute name: off(type: 'outputDeviceChange', c…
104 |Added|NA|Class name: AVSession;<br>Method or attribute name: on(type: 'outputDeviceChange', callba…
105 … name: AVSessionController;<br>Method or attribute name: on(type: 'outputDeviceChange', callback: …
113 |Added|NA|Class name: AVSession;<br>Method or attribute name: off(type: 'outputDeviceChange', callb…
114 …name: AVSessionController;<br>Method or attribute name: off(type: 'outputDeviceChange', callback?:…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-multimedia.md6 |删除|类名:AVSession;<br>方法or属性:on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => …
7 |删除|类名:AVSessionController;<br>方法or属性:on(type: 'outputDeviceChange', callback: (device: OutputDevic…
9 |删除|类名:AVSession;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) =…
10 |删除|类名:AVSessionController;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (device: OutputDev…
115 |新增|NA|类名:AudioRenderer;<br>方法or属性:on(type: 'outputDeviceChange', callback: Callback\<AudioDeviceDe…
116 |新增|NA|类名:AudioRenderer;<br>方法or属性:off(type: 'outputDeviceChange', callback?: Callback\<AudioDevice…
174 |新增|NA|类名:AVSession;<br>方法or属性:on(type: 'outputDeviceChange', callback: (state: ConnectionState, de…
175 |新增|NA|类名:AVSessionController;<br>方法or属性:on(type: 'outputDeviceChange', callback: (state: Connectio…
185 |新增|NA|类名:AVSession;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (state: ConnectionState, …
186 |新增|NA|类名:AVSessionController;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (state: Connect…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-audio-kit/
H A Djs-apis-audio.md7692 ### on('outputDeviceChange')<sup>10+</sup>
7694 on(type: 'outputDeviceChange', callback: Callback\<AudioDeviceDescriptors>): void
7704 | type | string | 是 | 监听事件,固定为:'outputDeviceChange'。 |
7719 audioRenderer.on('outputDeviceChange', (deviceInfo: audio.AudioDeviceDescriptors) => {
7726 ### off('outputDeviceChange')<sup>10+</sup>
7728 off(type: 'outputDeviceChange', callback?: Callback\<AudioDeviceDescriptors>): void
7738 | type | string | 是 | 监听事件,固定为:'outputDeviceChange'。 |
7754 audioRenderer.off('outputDeviceChange');
7763 audioRenderer.on('outputDeviceChange', outputDeviceChangeCallback);
7765 audioRenderer.off('outputDeviceChange', outputDeviceChangeCallback);
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta5/
H A Djs-apidiff-multimedia.md413 …ype: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>访问级别:公开API|类名:A…
452 …'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>访问级别:公开API|类名:AVSess…
611 …ype: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>访问级别:公开API|类名:A…
650 …'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>访问级别:公开API|类名:AVSess…
/ohos5.0/docs/en/application-dev/reference/apis-avsession-kit/
H A Djs-apis-avsession.md2187 ### on('outputDeviceChange')<sup>10+</sup>
2189 on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void…
2218 console.info(`on outputDeviceChange device : ${device}`);
2713 ### off('outputDeviceChange')<sup>10+</sup>
2715 off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => vo…
2743 currentAVSession.off('outputDeviceChange');
7114 ### on('outputDeviceChange')<sup>10+</sup>
7116 on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void…
7145 console.info(`on outputDeviceChange state: ${state}, device : ${device}`);
7149 ### off('outputDeviceChange')<sup>10+</sup>
[all …]
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta5/
H A Djs-apidiff-multimedia.md413outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: public …
452outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: public …
611outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: public …
650outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;<br>Access level: public …
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-multimedia.md6 |Deleted|Class name: AVSession;<br>Method or attribute name: on(type: 'outputDeviceChange', callbac…
7 |Deleted|Class name: AVSessionController;<br>Method or attribute name: on(type: 'outputDeviceChange
9 |Deleted|Class name: AVSession;<br>Method or attribute name: off(type: 'outputDeviceChange', callba…
10 …name: AVSessionController;<br>Method or attribute name: off(type: 'outputDeviceChange', callback?:…
115 |Added|NA|Class name: AudioRenderer;<br>Method or attribute name: on(type: 'outputDeviceChange', ca…
116 |Added|NA|Class name: AudioRenderer;<br>Method or attribute name: off(type: 'outputDeviceChange', c…
174 |Added|NA|Class name: AVSession;<br>Method or attribute name: on(type: 'outputDeviceChange', callba…
175 … name: AVSessionController;<br>Method or attribute name: on(type: 'outputDeviceChange', callback: …
185 |Added|NA|Class name: AVSession;<br>Method or attribute name: off(type: 'outputDeviceChange', callb…
186 …name: AVSessionController;<br>Method or attribute name: off(type: 'outputDeviceChange', callback?:…
/ohos5.0/docs/en/application-dev/reference/apis-audio-kit/
H A Djs-apis-audio.md7695 ### on('outputDeviceChange')<sup>10+</sup>
7697 on(type: 'outputDeviceChange', callback: Callback\<AudioDeviceDescriptors>): void
7707 … | string | Yes | Event type. The value is fixed at **'outputDeviceChange'**.|
7722 audioRenderer.on('outputDeviceChange', (deviceInfo: audio.AudioDeviceDescriptors) => {
7729 ### off('outputDeviceChange')<sup>10+</sup>
7731 off(type: 'outputDeviceChange', callback?: Callback\<AudioDeviceDescriptors>): void
7741 … | string | Yes | Event type. The value is fixed at **'outputDeviceChange'**.|
7757 audioRenderer.off('outputDeviceChange');
7766 audioRenderer.on('outputDeviceChange', outputDeviceChangeCallback);
7768 audioRenderer.off('outputDeviceChange', outputDeviceChangeCallback);
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-multimedia.md276 |新增|NA|类名:AVSession;<br>方法or属性:on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) …
277 |新增|NA|类名:AVSessionController;<br>方法or属性:on(type: 'outputDeviceChange', callback: (device: OutputDe…
284 |新增|NA|类名:AVSession;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo…
285 |新增|NA|类名:AVSessionController;<br>方法or属性:off(type: 'outputDeviceChange', callback?: (device: Output…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-multimedia.md276 |Added|NA|Class name: AVSession;<br>Method or attribute name: on(type: 'outputDeviceChange', callba…
277 … name: AVSessionController;<br>Method or attribute name: on(type: 'outputDeviceChange', callback: …
284 |Added|NA|Class name: AVSession;<br>Method or attribute name: off(type: 'outputDeviceChange', callb…
285 …name: AVSessionController;<br>Method or attribute name: off(type: 'outputDeviceChange', callback?:…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-media-kit/
H A Djs-apis-media.md2491 | type | string | 是 | 事件回调类型,支持的事件为:'outputDeviceChange'。 |
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/
H A Djs-apis-media.md2488 | type | string | Yes | Event type, which is **'outputDeviceChange'** in t…