Reason for my vote of one: Three hours after Dave had posted this solution, with much better detail as to why to do it, you post exactly the same thing? How exactly is that supposed to help the OP?
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre.
Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
As other suggested, You have problem with the if condition. First you need to learn about the difference between variable and it's value. In the given if condition you have herName as variable of type string. Now you need to compare string with string only. That could be possible either by comparing string variable like,
I am hoping to get som advise from someone that has worked with audio programming in C#.
One of the thing I want to do is to play a section from a WAV file. E.g if the WAV file is 60 seconds long I want to be able to play e.g from 00:12 to 00:20 i.e 8 seconds. Any suggestions on how to do this? Any suggestions for good audio framework/libraries for C#?
Why not search CodeProject, and examine the articles/code already here: example: searching on "c# audio .wav playback" => [^] ? Try varying the search terms. I predict you will find some resource here immediately useful to you; possibly, this: [^].
Google CEO, Erich Schmidt: "I keep asking for a product called Serendipity. This product would have access to everything ever written or recorded, know everything the user ever worked on and saved to his or her personal hard drive, and know a whole lot about the user's tastes, friends and predilections." 2004, USA Today interview
Last Visit: 31-Dec-99 19:00 Last Update: 7-Dec-22 9:17