Play WAV audio files in Android's Exoplayer
<p>I implemented my Exoplayer and I'm playing songs using this code:</p>

<pre><code>    Allocator allocator = new DefaultAllocator(BUFFER_SEGMENT_SIZE);
    DataSource dataSource = new DefaultUriDataSource(mService, null, "useragent");
    ExtractorSampleSource sampleSource = new ExtractorSampleSource(Uri.parse(url), dataSource, allocator, BUFFER_SEGMENT_COUNT * BUFFER_SEGMENT_SIZE);
    MediaCodecAudioTrackRenderer audioRenderer = new MediaCodecAudioTrackRenderer(sampleSource, MediaCodecSelector.DEFAULT);
    mExoPlayer.prepare(audioRenderer);
</code></pre>

<p>I want to play not only MP3 audio files, but also WAV files. I read that I should create my custom Extractor but I really can not find any documentation for it. </p>

<p>Does anybody know how can I play WAV audio files in my Exoplayer?</p>