摘要 |
The present invention relates to a method and an apparatus for controlling an audio output, and more specifically, to a method and an apparatus for controlling an output volume of an audio output of a headphone depending on impedance of the headphone when the headphone is connected to a portable terminal. More Specifically, the method for controlling an audio output in a portable terminal comprises the steps of: outputting a test audio signal to the headphone for preset amount of playback time when the headphone is connected to the portable terminal; collecting ambient noise interval information and impedance interval information of the headphone while the test audio signal is output to the headphone; determining impedance of the headphone based on the ambient noise interval information and the impedance interval information; determining a gain of an audio signal based on the determined impedance; and amplifying the audio signal in proportion to the determined gain and outputting the amplified audio signal to the headphone. [Reference numerals] (310) Headphone connected?; (320) Output a test audio signal; (330) Collect neighboring noise interval information and impedance interval information; (340) Determine impedance of the headphone based on above two information; (350) Determine gain value based on determined impedance; (360) Amplify an audio signal in proportion to the gain value; (AA) START; (BB) NO; (CC) YES; (DD) END |