Ask an audio question?

Source: Internet
Author: User
Ask an audio question? -- Linux general technology-Linux programming and kernel information. The following is a detailed description. I used fedora6. I just wrote a sound playing applet.

This program is to make some simple control on the playing sound, adjust the volume, switch the sound and so on, now the basic functions have been achieved, but there is still a small problem. that is, when the sound is disabled, the response is not timely enough. my approach is to use the close () function to close the dsp device (the device name may be different in different versions). I don't know if there are other methods to cut the sound playing in time.

I see in sound. there are many Macros in the H file, but I don't know the meaning of each one. I guess there may be ways to immediately close the sound. Please give me some advice...

Urgent ......: 0 wszxc
Related Article

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.