Home | Index | Dotnet4all Snippets | Submit resources
About | Mail us 





Playing Audio from a Filestream using MCI (Tuesday, January 03, 2006)



Found the following interesting discussion in the Newsgroups:

Playing Audio from a Filestream using MCI
by: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.

--------------------------------
From: Gidi Morris


 Reply:
by:hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP])

 

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/groups?selm=c71i55%24gvvlh%241%40ID-208219.news.uni-berlin.de>

--
Herfried K. Wagner [MVP]


 Reply:
by:waw@trfsys.com (Wayde Wyatt)

 hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP]) wrote in message news:<2je97iF10ncdeU6@uni-berlin.de>...

This might be just what you're looking for. A DotNet class wrapper for MCI.

http://www.mentalis.org/soft/class.qpx?id=1

--Wayde



Posted by Xander Zelders



0 Comments:

Post a Comment

<< Home

 
Previous Posts
    - Setup Project
    - WMI Com Interop exception handling
    - Problem With Mailto Start Process
    - Comboboxes in windows forms datagrid
    - Sometimes I want to skip a page - How to do that
    - FxCop Error on command button
    - How to scroll down on listView (programmatically)
    - Open a file save as byte
    - How to add a property to an inherited tool?
    - Retrieve Domain Names



Disclaimer & Terms of Use | DotNet4All.Com concept & © 2004 - 2007 by Zelders² - Holland