An electronic device comprising: a USB Type-C connector , a processor operatively connected to the USB Type-C connector; and a memory operatively connected to the processor, wherein the processor is configured to: obtain, based on detecting connection of an audio output device to the USB Type-C connector by using a USB driver , first information and audio card information of the audio output device through the USB driver , wherein the first information is related to identification information of the audio output device and the audio card information is related to an interface generated by an audio driver ; transmit the first information and the audio card information of the audio output device to an audio framework through a USB framework ; control the audio framework to access the interface based on the first information and the audio card information of the audio output device; activate, when at least a portion of second information related to an attribute of the audio output device is obtained through the USB driver while accessing the interface , the interface by transmitting at least the portion of the second information to the audio framework through the USB framework; framework ; and transmit an audio signal to the audio output device through the activated interface . a USB Type-C connector , a processor operatively connected to the USB Type-C connector; and a memory operatively connected to the processor, wherein the processor is configured to: obtain, based on detecting connection of an audio output device to the USB Type-C connector by using a USB driver , first information and audio card information of the audio output device through the USB driver , wherein the first information is related to identification information of the audio output device and the audio card information is related to an interface generated by an audio driver ; transmit the first information and the audio card information of the audio output device to an audio framework through a USB framework ; control the audio framework to access the interface based on the first information and the audio card information of the audio output device; activate, when at least a portion of second information related to an attribute of the audio output device is obtained through the USB driver while accessing the interface , the interface by transmitting at least the portion of the second information to the audio framework through the USB framework; framework ; and transmit an audio signal to the audio output device through the activated interface . obtain, based on detecting connection of an audio output device to the USB Type-C connector by using a USB driver , first information and audio card information of the audio output device through the USB driver , wherein the first information is related to identification information of the audio output device and the audio card information is related to an interface generated by an audio driver ; transmit the first information and the audio card information of the audio output device to an audio framework through a USB framework ; control the audio framework to access the interface based on the first information and the audio card information of the audio output device; activate, when at least a portion of second information related to an attribute of the audio output device is obtained through the USB driver while accessing the interface , the interface by transmitting at least the portion of the second information to the audio framework through the USB framework; framework ; and transmit an audio signal to the audio output device through the activated interface . <EOS>