An electronic device comprising: a speaker; a communication circuit; a processor operatively connected to the speaker and the communication circuit; and a memory operatively connected to the processor, wherein the memory stores one or more instructions that, when executed, cause the processor to: receive, from an external electronic device, a first data packet including a first audio frame including first audio data with a length corresponding to a first connection interval and a second audio frame including second audio data with a length corresponding to a second connection interval subsequent to the first connection interval, using the communication circuit; store the second audio frame in the memory in response to reception of the first data packet; output a first audio signal generated based on the first audio frame, through the speaker; when a second data packet including the second audio frame and a third audio frame corresponding to a third connection interval subsequent to the second connection interval is received using the communication circuit, store the third audio frame in the memory and output a second audio signal generated based on the second audio frame of the second data packet through the speaker and flush away the second audio frame of the first data packet from the memory; and when at least part of the second data packet is not received using the communication circuit, output the second audio signal generated based on the second audio frame of the first data packet stored in the memory, through the speaker, wherein the electronic device is configured to communicate with the external electronic device according to Bluetooth communication protocol, and wherein a type of each of the first data packet and the second data packet is a type of the data packet is 2-extended voice3, 2-EV3. a speaker; a communication circuit; a processor operatively connected to the speaker and the communication circuit; and a memory operatively connected to the processor, wherein the memory stores one or more instructions that, when executed, cause the processor to: receive, from an external electronic device, a first data packet including a first audio frame including first audio data with a length corresponding to a first connection interval and a second audio frame including second audio data with a length corresponding to a second connection interval subsequent to the first connection interval, using the communication circuit; store the second audio frame in the memory in response to reception of the first data packet; output a first audio signal generated based on the first audio frame, through the speaker; when a second data packet including the second audio frame and a third audio frame corresponding to a third connection interval subsequent to the second connection interval is received using the communication circuit, store the third audio frame in the memory and output a second audio signal generated based on the second audio frame of the second data packet through the speaker and flush away the second audio frame of the first data packet from the memory; and when at least part of the second data packet is not received using the communication circuit, output the second audio signal generated based on the second audio frame of the first data packet stored in the memory, through the speaker, wherein the electronic device is configured to communicate with the external electronic device according to Bluetooth communication protocol, and wherein a type of each of the first data packet and the second data packet is a type of the data packet is 2-extended voice3, 2-EV3. receive, from an external electronic device, a first data packet including a first audio frame including first audio data with a length corresponding to a first connection interval and a second audio frame including second audio data with a length corresponding to a second connection interval subsequent to the first connection interval, using the communication circuit; store the second audio frame in the memory in response to reception of the first data packet; output a first audio signal generated based on the first audio frame, through the speaker; when a second data packet including the second audio frame and a third audio frame corresponding to a third connection interval subsequent to the second connection interval is received using the communication circuit, store the third audio frame in the memory and output a second audio signal generated based on the second audio frame of the second data packet through the speaker and flush away the second audio frame of the first data packet from the memory; and when at least part of the second data packet is not received using the communication circuit, output the second audio signal generated based on the second audio frame of the first data packet stored in the memory, through the speaker, wherein the electronic device is configured to communicate with the external electronic device according to Bluetooth communication protocol, and wherein a type of each of the first data packet and the second data packet is a type of the data packet is 2-extended voice3, 2-EV3.