Click here to Skip to main content
15,913,941 members
Home / Discussions / C#
   

C#

 
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 
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 
I understood that you didn't know how to play it. Follow the link I already gave you in my first reply for documentation, downloads, and articles. If you are looking for addition tutorials I suggest you search either this site using the search textbox above (although I'll warn you that most of the articles about DirectX wrap the older APIs themselves instead of using Managed DirectX) or google.

If you're sure this sound will always be a simple PCM audio clip you could P/Invoke the rather extensive set of Windows Multimedia APIs, which you can read about at http://msdn.microsoft.com/library/en-us/dnanchor/html/anch_WindowsMultimedia.asp[^].

If you're not sure about the encoding of the file (i.e., whether it's MP3, WMA, or anything else) then you should use DirectX which enumerates and uses all the audio and video codecs installed on teh system without having to worry about decoding the data yourself into waveform.

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 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 
GeneralRe: Drawing images on a panel Pin
Robert Rohde27-Dec-04 4:40
Robert Rohde27-Dec-04 4:40 
GeneralRe: Drawing images on a panel Pin
ninja260528-Dec-04 1:43
ninja260528-Dec-04 1:43 

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.