An adapter includes a first USB interface, a second USB interface, and an audio interface. The first and the second USB interfaces each have a power pin, a first data pin, a second data pin, and a ground pin. The pins of the first USB interface respectively connected to the pins of the second USB interface correspondingly. The audio interface includes a left ear audio pin, a right ear audio pin, and a ground pin. The left ear audio pin of the audio interface is connected to the first data pin of the second USB interface. The right ear audio pin of the audio interface is connected to the second data pin of the second USB interface.