Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
GeneralRe: Interop - Marshaling nested structs Pin
leppie4-Mar-03 7:03
leppie4-Mar-03 7:03 
GeneralHowto: image to byte array Pin
Smitha Nishant2-Mar-03 18:56
protectorSmitha Nishant2-Mar-03 18:56 
GeneralRe: Howto: image to byte array Pin
Jeff J2-Mar-03 21:26
Jeff J2-Mar-03 21:26 
GeneralRe: Howto: image to byte array Pin
Smitha Nishant2-Mar-03 22:10
protectorSmitha Nishant2-Mar-03 22:10 
General***capturing image from video*** Pin
henrykao2-Mar-03 18:37
henrykao2-Mar-03 18:37 
QuestionCan you use resources to embed a wav? Pin
jtmtv182-Mar-03 13:48
jtmtv182-Mar-03 13:48 
AnswerRe: Can you use resources to embed a wav? Pin
leppie3-Mar-03 8:02
leppie3-Mar-03 8:02 
GeneralRe: Can you use resources to embed a wav? Pin
jtmtv183-Mar-03 8:32
jtmtv183-Mar-03 8:32 
i do need help setting up the memory stream. i use directx 9.0 to play it; ie

private void PlayAudio(string fPath){<br />
Audio player = new Audio(fPath);<br />
player.Start();<br />
}


if the audio file is coming from a memory stream how do i get the bytes to stream to the above method ? thanks leppie. ps.. the audio file will be named Error.wav;

just reading the overload methods for Microsoft.DirectX.AudioVideoPlayback.Audio i find that it only takes a (strin filename) ..how can i tell it to play my embed resource instead? (which will come in a stream)

The Code Project Is Your Friend...
GeneralRe: Can you use resources to embed a wav? Pin
leppie4-Mar-03 6:57
leppie4-Mar-03 6:57 
GeneralAeru IRC is looking for developpers and artist Pin
Shock The Dark Mage2-Mar-03 12:46
Shock The Dark Mage2-Mar-03 12:46 
GeneralRe: Aeru IRC is looking for developpers and artist Pin
jtmtv183-Mar-03 19:17
jtmtv183-Mar-03 19:17 
GeneralRe: Aeru IRC is looking for developpers and artist Pin
Shock The Dark Mage5-Mar-03 15:47
Shock The Dark Mage5-Mar-03 15:47 
GeneralFlattening The TreeView... Pin
LokiSD2-Mar-03 10:26
LokiSD2-Mar-03 10:26 
GeneralRe: Flattening The TreeView... Pin
LokiSD3-Mar-03 7:42
LokiSD3-Mar-03 7:42 
GeneralRe: Flattening The TreeView... Pin
Furty4-Mar-03 1:49
Furty4-Mar-03 1:49 
GeneralRe: Flattening The TreeView... Pin
LokiSD5-Mar-03 6:51
LokiSD5-Mar-03 6:51 
GeneralRe: Flattening The TreeView... Pin
Furty5-Mar-03 12:06
Furty5-Mar-03 12:06 
GeneralRe: Flattening The TreeView... Pin
Furty5-Mar-03 13:23
Furty5-Mar-03 13:23 
GeneralSnapshot Pin
Calamitous2-Mar-03 3:39
Calamitous2-Mar-03 3:39 
GeneralRe: Snapshot Pin
Jon Newman2-Mar-03 4:57
Jon Newman2-Mar-03 4:57 
GeneralProblem with Windows Installer Pin
Sassan Komeili Zadeh2-Mar-03 3:03
Sassan Komeili Zadeh2-Mar-03 3:03 
GeneralRe: Problem with Windows Installer Pin
Jon Newman2-Mar-03 4:27
Jon Newman2-Mar-03 4:27 
GeneralRe: Problem with Windows Installer Pin
Sassan Komeili Zadeh3-Mar-03 20:22
Sassan Komeili Zadeh3-Mar-03 20:22 
GeneralRe: Problem with Windows Installer Pin
Paul Riley2-Mar-03 5:15
Paul Riley2-Mar-03 5:15 
GeneralRe: Problem with Windows Installer Pin
Sassan Komeili Zadeh3-Mar-03 20:27
Sassan Komeili Zadeh3-Mar-03 20:27 

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.