(3rd week)

Source: Internet
Author: User

I. screen recording

1. GDI capture desktop Images

2. You can use Windows Media Format to record video files and mix audio and video files.

 

WMF msdn:

Http://msdn.microsoft.com/en-us/library/windows/desktop/dd758048 (V = vs.85). aspx

 

Ii. Notes

1. Sound mixing

To be continued

2. Read WebRTC, an open-source Google Project. Voice_engine, the core module of this project, was born out of the well-known gips project. Therefore, it does not fully comply with Google C ++ code style. For some of the design methods and coding styles, take the essence of them and get rid of it. The following are some rules that I have not fully followed and intend to use in the future.

 

A. the callback interface class is named xxxobserver, And the xxxsink name is abolished. Register and use a separate function registerxxxobserver. Abolish the Set Name and no longer pass the callback object during create. This rule is also used when only one observer exists.

B. The interface header file is named voice_manager.h, the instance header file is named voice_manager_impl.h, and voice_manager_ I .h is abolished. The C ++ source code file uses the. CC suffix. The Interface Class Name Is voicemanager. I and C are not added in the front. The implementation class name is voicemanagerimpl.

 

C. Class data members use the prefix underline format without M.

 

D. # ifndef # define # The macro definition in endif is named solution_project_head_h _ in upper case.

 

E. The header file contains the sequence C/C ++ library-> system library-> other library-> Self library.

 

F. In the constructor, only simple assignment Initialization is required. In the complex constructor, The init function should be written separately. You can call the init function in the constructor.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.