mirror of
https://github.com/openharmony/third_party_jsframework.git
synced 2026-07-19 14:33:33 -04:00
add missing mock for audio interfaces
Signed-off-by: magekkkk <lixin113@huawei.com>
This commit is contained in:
@@ -70,7 +70,16 @@ export function mockMultimediaAudio() {
|
||||
}
|
||||
const AudioState = '[PC Preview] unknow AudioState'
|
||||
const AudioRendererRate = '[PC Preview] unknow AudioRendererRate'
|
||||
const InterruptEvent = '[PC Preview] unknow InterruptEvent'
|
||||
const InterruptEvent = {
|
||||
eventType: "[PC Preview] unknow eventType",
|
||||
forceType: "[PC Preview] unknow forceType",
|
||||
hintType: "[PC Preview] unknow hintType",
|
||||
}
|
||||
const AudioInterrupt = {
|
||||
streamUsage: "[PC Preview] unknow streamUsage",
|
||||
contentType: "[PC Preview] unknow contentType",
|
||||
pauseWhenDucked: "[PC Preview] unknow pauseWhenDucked",
|
||||
}
|
||||
const AudioRendererChangeInfo = {
|
||||
streamId: "[PC Preview] unknow streamId",
|
||||
clientUid: "[PC Preview] unknow clientUid",
|
||||
|
||||
Reference in New Issue
Block a user