Click here to Skip to main content
15,890,995 members
Home / Discussions / C#
   

C#

 
GeneralRe: custom controls and design time Pin
Jay Shankar27-Dec-04 14:47
Jay Shankar27-Dec-04 14:47 
GeneralRe: custom controls and design time Pin
Tyrus18227-Dec-04 16:40
Tyrus18227-Dec-04 16:40 
GeneralRe: custom controls and design time Pin
Jay Shankar27-Dec-04 18:11
Jay Shankar27-Dec-04 18:11 
GeneralRe: custom controls and design time Pin
Heath Stewart27-Dec-04 19:56
protectorHeath Stewart27-Dec-04 19:56 
GeneralDoes anybody have the C# Sorted ListView by Carlos H. Perez Pin
dfsgdsfgdfg27-Dec-04 9:56
dfsgdsfgdfg27-Dec-04 9:56 
GeneralRe: Does anybody have the C# Sorted ListView by Carlos H. Perez Pin
J. Dunlap27-Dec-04 10:08
J. Dunlap27-Dec-04 10:08 
GeneralPlay Sound from Memory Pin
notacake27-Dec-04 8:29
notacake27-Dec-04 8:29 
GeneralRe: Play Sound from Memory Pin
Heath Stewart27-Dec-04 19:52
protectorHeath Stewart27-Dec-04 19:52 
Of course it can be read from memory - that's how media players play files; they read them into memory and play them. The question is what are you using to play the sound? Are you interop'ing with the Windows Media Player typelib (having created an RCW, or Runtime Callable Wrapper - i.e., an "interop assembly")? If so, then no. Typelibs are meant to expose functionality to callers in a typically simple manner. Most callers would never need to play a file from memory.

If you were using the Managed DirectX[^] assemblies, however, you could use a MemoryStream as input to a DirectSound Buffer or another suitable class. Download and install the DirectX SDK, along with the managed assemblies for interoperability with the .NET Framework written from the ground up (not just simple inteorp assemblies or wrappers like some projects used before Managed DirectX 9).

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: Play Sound from Memory Pin
notacake28-Dec-04 2:22
notacake28-Dec-04 2:22 
GeneralRe: Play Sound from Memory Pin
Heath Stewart28-Dec-04 5:20
protectorHeath Stewart28-Dec-04 5:20 
GeneralRe: Play Sound from Memory Pin
notacake28-Dec-04 7:16
notacake28-Dec-04 7:16 
GeneralRe: Play Sound from Memory Pin
Heath Stewart28-Dec-04 7:19
protectorHeath Stewart28-Dec-04 7:19 
GeneralTraversing a parent-child chain... Pin
new_phoenix27-Dec-04 8:10
new_phoenix27-Dec-04 8:10 
GeneralRe: Traversing a parent-child chain... Pin
Robert Rohde27-Dec-04 8:53
Robert Rohde27-Dec-04 8:53 
GeneralRe: Traversing a parent-child chain... Pin
new_phoenix29-Dec-04 15:37
new_phoenix29-Dec-04 15:37 
GeneralAbout timers... Pin
sagmam27-Dec-04 8:06
sagmam27-Dec-04 8:06 
GeneralRe: About timers... Pin
Dennis C. Dietrich27-Dec-04 8:49
Dennis C. Dietrich27-Dec-04 8:49 
GeneralRe: About timers... Pin
sagmam27-Dec-04 21:02
sagmam27-Dec-04 21:02 
Generalcombo box Pin
webhay27-Dec-04 7:53
webhay27-Dec-04 7:53 
GeneralRe: combo box Pin
AVaka27-Dec-04 17:37
AVaka27-Dec-04 17:37 
GeneralStore Multiple Objects - XML Serialization Pin
Jedimark27-Dec-04 6:21
Jedimark27-Dec-04 6:21 
GeneralRe: Store Multiple Objects - XML Serialization Pin
Robert Rohde27-Dec-04 8:08
Robert Rohde27-Dec-04 8:08 
GeneralMicrosoft Loopback Adapter Pin
Member 157147527-Dec-04 3:08
Member 157147527-Dec-04 3:08 
GeneralUpdation issue Pin
sreejith ss nair27-Dec-04 1:00
sreejith ss nair27-Dec-04 1:00 
GeneralDrawing images on a panel Pin
Nitin Jain26-Dec-04 23:47
Nitin Jain26-Dec-04 23:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.