def player_for(audio_source):
return PyAudioPlayer(audio_source.get_sampling_rate(),<EOL>audio_source.get_sample_width(),<EOL>audio_source.get_channels())<EOL>
Return a :class:`PyAudioPlayer` that can play data from `audio_source`.

:Parameters:

    `audio_source` : 
        an `AudioSource` object.

:Returns:

    `PyAudioPlayer` that has the same sampling rate, sample width and number of channels
    as `audio_source`.