Related subject matter is disclosed in co-pending U.S. patents application with an Attorney Docket Number US38365 and a title of AUDIO DEVICE AND METHOD FOR AUDIO OUTPUTTING, which have the same assignees as the current application and were concurrently filed.
1. Technical Field
The present disclosure relates to audio devices and methods for audio outputting of the audio devices.
2. Description of the Related Art
When a headphone is plugged into a headphone jack of an audio device when the audio device is already on and playing, the audio device may output an unpleasant noise.
Therefore, there is room for improvement within the art.
The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of an audio device and a method for audio outputting. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Referring to
In the embodiment, when the detecting unit 130 detects voltage at the headphone jack 110 changes from a high level (such as 5V) to a low level (such as 1V), the detecting unit 130 determines the insertion of a headphone plug from the headphone jack 110. When the detecting unit 130 detects voltage at the headphone jack 110 changes from a low level (such as 1V) to a high level (such as 5V), the detecting unit 130 determines the removal of the headphone plug from the headphone jack 110. The control unit 140 decreases the output power of the output unit 120 to the first preset within the preset time period when the detecting unit 130 determines that a headphone is being plugged into the headphone jack 110, and increases the output power of the output unit 120 to the second preset value when the preset time period elapses. The first preset value may be greater than zero or equal to zero. If the output power of the audio output unit 120 becomes zero, the audio output unit 120 in fact has no output and is mute.
In step S20, the detecting unit 130 detects insertion of a headphone plug into the headphone jack 110 of the audio device 100 when playing an audio file. If the a detecting unit 130 detects insertion of a headphone plug into the headphone jack 110 of the audio device 100, the procedure goes to step S21, otherwise, the procedure repeats step S20.
In this embodiment, when the detecting unit 130 detects signals from the headphone jack 110 changes from a high level such as 5V to a low level such as 1V, the detecting unit 130 determines the insertion of a headphone plug.
In step S21, the control unit 140 decreases the output power of the output unit 120 to a first preset value within the preset time period in response to the detected insertion of the headphone plug into the headphone jack 110. The preset value may be greater than zero or equal to zero.
In step S22, the control unit 140 gradually increases the output power of the output unit 120 to a second preset value after the preset period is elapsed.
In the embodiment, the second preset value is equal to an initial value of the output power of the output unit 120 before a headphone is plugged into the headphone jack 110. The control unit 140 gradually increases the output power to be the second preset value at a preset rate.
It is understood that the present disclosure may be embodied in other forms without departing from the spirit thereof. Thus, the present examples and embodiments are to be considered in all respects as illustrative and not restrictive, and the disclosure is not to be limited to the details given herein.
Number | Date | Country | Kind |
---|---|---|---|
201110082264.2 | Apr 2011 | CN | national |