Playing Audio from a Filestream using MCI

  • Thread starter Thread starter Gidi Morris via .NET 247
  • Start date Start date
G

Gidi Morris via .NET 247

Hi,

Is there a way to play audio using MCI (I preffer MCI, but if you know of any others I'll be greatful) from a Filestream?

I mean, I have a filestream to an audio file, can I play the audio? I can't access the file directly, so just using the MCI's MCI_OPEN command won't work.
 
* Gidi Morris via .NET 247 said:
Is there a way to play audio using MCI (I preffer MCI, but if you know
of any others I'll be greatful) from a Filestream?

I mean, I have a filestream to an audio file, can I play the audio? I
can't access the file directly, so just using the MCI's MCI_OPEN command
won't work.

This code should work after doing some changes (reading the byte array
from the filestream instead of loading it from a resource):

<URL:http://www.google.de/[email protected]>
 
Back
Top