thread in the following four ways:
Call the timer's Cancle method. You can call this method from anywhere in the program, even in a timer task's Run method.
Make the timer thread a daemon thread (you can use the new timer (true) to reach this point when you create the timer), so that when the program has only daemon threads, it will automatically terminate the run.
When all the tasks related to the timer have been executed, delete all references to this timer object (NULL) so t
examples. In some examples, I only provide some code. The complete code can be downloaded.
Simple Example
In the first example, we will call the Beep () API to make a sound. First, I need to write appropriate definitions for Beep. View MSDNI found it has the following prototype:
BOOL Beep {
DWORD dwFreq, // Audio Frequency
DWORD dwDuration // audio duratio
some of the code, and the complete code is available for download.
Simple example
In the first example, we will invoke the Beep () API to emit sound. First, I need to write the appropriate definition for Beep (). Looking at the definition in MSDN, I found that it has the following prototype:
BOOL Beep (DWORD Dwfreq,//Voice frequencyDWORD dwduration//Sound durati
some of the code, and the complete code is available for download.
Simple example
In the first example, we will invoke the Beep () API to emit sound. First, I need to write the appropriate definition for Beep (). Looking at the definition in MSDN, I found that it has the following prototype:
BOOL Beep (
DWORD Dwfreq,//Voice frequency
DWORD dwduration//Sound d
Introduction:GetActualDefaultRingtoneUri: Get the specified type of ringtoneGetCursor: returns the cursor of all available ringtones.GetDefaultType: gets the default ringtone type of the specified URI.GetRingtoneGetRingtonePosition: Get the ringtone positionGetRingtoneUriGetValidRingtoneUri: Get the URI of an available ringtoneIsDefault: Get whether the specified Uri is the default ringtoneSetActualDefault
Introduction:Getactualdefaultringtoneuri: Get the specified type of ringtoneGetcursor: returns the cursor of all available ringtones.Getdefaulttype: gets the default ringtone type of the specified Uri.GetringtoneGetringtoneposition: Get the ringtone positionGetringtoneuriGetvalidringtoneuri: Get the URI of an available ringtoneIsdefault: Get whether the specified URI is the default ringtoneSetactualdefault
1. Set the ringtone through the music player that comes with your mobile phone.1. Click application on the standby page ].2. Click [music player ].3. In the [all] list, hold down the music you want to set as the ringtone, and click [set ].4. Select [ringtones.2. Place the song in the specified ringtone folder for setting.To move a song from your computer to your
Cool Dog Music How to cut a song? Cool Dog Music not only has the function of listening to songs, but also can be used to intercept music, and then make ringtones, or the interception of music as a background music video. So, how does a cool dog cut a song? Let's take a look at the cool Dog music interception Music tutorial with Xiao Bian!
The first step, turn on the cool dog, choose your music, select the music you want to edit, then right-click, down menu, click Tools-"Make ringtones."
Itools is a third-party software based on itunes, there are many quick use features, especially the way to make ringtones is simple enough to understand the extent of the.
Download method:
Using itools, you need to install itunes first, and then go to
http://itools.hk to download the software. On the top left of the homepage there is an obvious "download Now" word, click to save it.
Installation method: Double-click the downloaded program, then click "
1. Recording ( P72 ): * 107 *4*# telephone transfer corresponding line:Playback: ①*107*4# 1701-86638839 ②*421*1*6# 1702-866490211703 -866315672. If you need an outside call to listen to a recording (P76): 1704-86697520*202*0*0*01# "Beep"*202*0*0*02# "du" 86649021*202*0*0*03# "Beep"*202*0*0*04# "Beep"3. If you do not need an outside call to listen to the recordin
WIN7/XP System
If your computer system is windows 7 or XP, first need to enter Device Manager, click on the menu bar to select "view → show hidden devices."
At this point, you will find a new line of "non-Plug and Play drivers" in the list of devices to find the "beep" inside.
At this point, the XP system simply click on the "beep" above the right mouse button, select "Deactivate"
This article is an example of how jquery controls background music switches and automatic playback of cue tones. Share to everyone for your reference. Specifically as follows:
A lot of people are beginners when the Web page to add a piece of background music, hear the music sounded at the moment will always have a trace of achievement.
Here for you to explain how to use JS control background music playback and stop. Specifically as follows:
One, jquery control background music switch
Co
This is the past DOS era of the compilation of source code, although has passed, but for the study of the assembly is still helpful, assembly language is just a basic programmer language, most people can grasp, not necessarily in-depth research.
CSEG segment para Public ' code 'Org 100hAlarm proc Far; Memory-resident to intercept the timer interrupt and display the; System time in the upper right-hand corner of the display.; This are run as ' ALARM hh:mm x ', where hh:mm is the ALARM time and;
1. The computer end installs the ringtone edition pp assistant, after the installation completes, will connect the handset to the computer.
2. In the ringtone to find the desired setting of the ring, click to download. Then follow the steps shown below, in the PP assistant, open the ringtone more documents, find just downloaded ringtones.
3. To download
MP3 Cutter (Cool dog) A beautiful, free green phone ringtones production software. Extract from the Cool Dog Music 2010 of a component, shielding interface ads, simply through a few steps to create a unique one of their own ringtones! It not only supports the fade out effect, but also can increase the ringtone and so on, and the use of gray often simple!
Software downloaded after the first decompression, run MakeRing.exe files. The following figure:
Ringtone Import Tutorial:
1, on the iphone through the "Help" audition and download ringtones (can download one or more), or on the computer to download the iphone ringtones (suffix of the. m4r file).
2. Download and run the "My Assistant Ringtones import Tool".
3, the data line will be the iphone and computer connection, select just on the phone to download the ringtone click "Im
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.