Clearing the assets folder before going to the initialisation , worked for me :
await AudioPlayer.clearAssetCache();
await _player.setAsset('assets/sounds/gunsound.mp3');