If the patent application is successful and others want to use this patent, they need to pay you a patent royalty.
As far as the communication between two MP3s you mentioned is concerned, this function is too simple. Similar technology existed 20 years ago, but the carrier was not MP3. If it's just this technology, you can apply, but basically you can't get the approval. You can consult the local patent agency for details.