The application provides an audio sharing method and related equipment, and relates to the technical field of communication. The audio sharing method comprises the following steps:
copying audio data to be played to obtain first audio data corresponding to a first
wireless earphone and second audio data corresponding to a second
wireless earphone; using a first
protocol stack processing module to
encode the first audio data based on an
audio coding format of the first
wireless earphone and send the first audio data to the first wireless earphone; and using a second
protocol stack processing module to
encode the second audio data based on an
audio coding format of the second wireless earphone and send the second audio data to the second wireless earphone. By using the above method, the audio data to be played is divided into multiple parts, each part corresponding to a wireless earphone, and the virtualized multiple
protocol stack processing modules can perform differentiated processing on each part of the audio data. Each part of the audio data can be independently encoded and adjusted in volume and
sound quality, so that multiple wireless earphones can play audio with different coding formats, different volumes and different sound qualities.