add missing mock for audio interfaces

Signed-off-by: magekkkk <lixin113@huawei.com>
This commit is contained in:
magekkkk
2022-07-15 15:14:43 +08:00
parent 2fda758537
commit 49f291d5a0
@@ -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",