div class="block">Discards buffered media up to the specified position.

 <p>This method is only called after the period has been prepared.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MediaPeriod.html#discardBuffer(long,boolean)">discardBuffer</a></code>&nbsp;in interface&nbsp;<code><a href="MediaPeriod.html" title="interface in com.google.android.exoplayer2.source">MediaPeriod</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>p