Qt4 tutorial (I)-use openal to help qt4 Play Sound Effects

Source: Internet
Author: User

1. First download the instance source code, address: http://download.csdn.net/source/2333153

2. After downloading the SDK, you can see the openal-SDK. You need to install it. Suppose you have installed it in E:/openal/SDK/

3. decompress the ALUT package. You do not need the SRC Source code package. directly use the bin package. decompress the bin package to E:/openal/ALUT/

4. decompress the instance tutorial qt4example. Open the project and configure the corresponding include and Lib.

 

Demo usage: There are four buttons on the main window. After clicking the button, the corresponding sound will be generated. The source code is very simple.

 

Have a good time... please contact me if you have any questions ..

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.