MediaPlayer setDataSource, better to use path or FileDescriptor?
<p>Let's say I have a full path to a file.  Which is the better approach to loading that file into a MediaPlayer?  </p>

<pre><code>String filePath = "somepath/somefile.mp3";
mediaPlayer.setDataSource(filePath);
</code></pre>

<p><strong>OR</strong></p>

<pre><code>String filePath = "somepath/somefile.mp3";
File file = new File(filePath);
FileInputStream inputStream = new FileInputStream(file);
mediaPlayer.setDataSource(inputStream.getFD());
inputStream.close();
</code></pre>

<p>Does it matter? Simply using the path seems easier but is there a reason to do the extra work to use a FileDescriptor?</p>
