| CPC H04S 5/02 (2013.01) [G06F 3/162 (2013.01); H04S 1/007 (2013.01); H04S 3/008 (2013.01); H04S 2400/01 (2013.01)] | 14 Claims |

|
1. An electronic device comprising:
an output device configured to output audio;
an audio output interface configured to receive the audio from the output device and to forward the audio to an external electronic device;
an Application Processor (AP) comprising a Central Processing Unit (CPU); and
an audio processing unit configured to:
receive an audio stream of M channels from the CPU,
convert the M-channel audio stream into an N-channel audio stream, the N-channel being different from the M-channel,
output the N-channel audio stream through the output device, wherein the audio processing unit is further configured to:
detect a connection with the external electronic device through the audio output interface;
determine whether to stop the converting the M-channel audio stream into the N-channel audio stream, based on information received from the CPU; and
transmit, via the audio output interface, the M-channel audio stream to the external electronic device in response to the determination of stopping the converting the M-channel audio stream into the N-channel audio stream,
wherein the audio processing unit is further configured to:
generate N-M dummy data;
generate audio streams of N-M channels by copying the N-M dummy data to the the M-channel audio stream; and
convert the N-channel audio stream on the basis of the M-channel audio stream and the audio streams of N-M channels.
|