Method and device for muting WMP assembly and player

A player and mute technology, applied in the field of players, can solve the problem of mute failure of WMP components, and achieve the effect of solving mute failure

Active Publication Date: 2014-01-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

The technology described in this patented solution helps prevent failures caused when certain parts are used on different objects like an operating system (OS). By setting specific values for both functions at once, it prevents them from working together too much with each other's capabilities. This improves overall performance and reliability over time without requiring maintenance work.

Problems solved by technology

The technical problem addressed in this patented text relates to how to prevent malfunctions caused when playing media on windows like Winntown Mobile or Netbook due to differences between objects called WMV components used for displaying content on devices' screens during browsing sessions.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for muting WMP assembly and player
  • Method and device for muting WMP assembly and player
  • Method and device for muting WMP assembly and player

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 The implementation flow of the WMP component mute method provided by Embodiment 1 of the present invention is shown, and the method process is described in detail as follows:

[0026] In step S101, the function of creating an instance object of WMP is called to create an object.

[0027] In this embodiment, the concrete process of calling WMP to create an instance object function to create an object includes:

[0028] Create a create instance object function (eg CreateInstance function), the created instance object function and the WMP create instance object function contain the same parameters;

[0029] The pointer to the function of creating an instance object of WMP is replaced with the pointer of the function of creating an instance object to complete the HooK of the function of creating an instance object in WMP.

[0030] The purpose of creating an instance object function in the HooK WMP in this embodiment is to make subsequent calls to the instance object

Embodiment 2

[0045] figure 2 The specific flow of the WMP component mute method provided by the second embodiment of the present invention is shown, and the method process is described in detail as follows:

[0046] In step S201, HooK DllGetClassObject function.

[0047] In this embodiment, the DllGetClassObject function is the derived function of the com component program. After receiving the object creation instruction, the com component library calls the DllGetClassObject function of the com component in the process to create the class factory object and returns the class factory pointer.

[0048] In step S202, it is judged whether the class factory object created by the DllGetClassObject function after the HooK is WMP, if the judgment result is "yes", then step S203 is executed, otherwise, the process ends.

[0049] In this embodiment, the parameters of the DllGetClassObject function are (REFCLSID, REFIID, void**). According to the REFCLSID, it is judged whether the currently created c

Embodiment 3

[0075] image 3 The composition structure of the device for muting the WMP component provided by the third embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.

[0076] The WMP component mute device may be a software unit, a hardware unit or a combination of software and hardware running in each player, or it may be integrated into the player or the application system of the player as an independent pendant.

[0077] The WMP component muting device includes a calling unit 31 , a judging unit 32 and a muting unit 33 . Among them, the specific functions of each unit are as follows:

[0078] The calling unit 31 is used to call the function of creating an instance object of WMP to create an object;

[0079] A judging unit 32, configured to judge whether the object created by the function of creating an instance object called by the calling unit 31 is the first object;

[0

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention belongs to the technical field of players and provides a method and device for muting a WMP assembly and a player. The method comprises the steps that a creating instance object function of a WMP is called so as to create an object; whether the object created through the creating instance object function is a first object or not is judged; if yes, a first muting function or a second muting function of the first object is called and muting is set according to the called first muting function or the second muting function. According to the method and device for muting the WMP assembly and the player, the problem of failure of muting of the WMP assembly under a webkit kernel can be effectively solved.

Description

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products