My app uses a tablist and on each tab is option for replaying and rendering WAV file. One file is for one tab and another file for another tab, and so on.
My solution is folowing : WAV file is loaded in byte array for fast plotting and this array is common for all of tabs. When it will switch tab to another tab, data in array going to change according file for tab. For replay is used SecondBuffer of DirectSound. When are data loaded to SecondBuffer from array of bytes, allocated memory on PC increases... Is any option, how to release memory from SecondBuffer after playing? Or... If have anybody some other solution for WAV playing?
I'm not going to be of any help here, I have such a negative reaction to noisy applications (other than games) that I rarely even look for an option to silence them, I simply kill the page or uninstall the app! Please, please give the user the option to silence your app unless it is an integral part of your solution (a sound on a tab does not seem to qualify for integral!).
Never underestimate the power of human stupidity
I solved it so, that I have small SeccondaryBuffer (size is much smaller than size of replaying WAV) and SeccondaryBuffer is in loop. Paralel Timer writes new data in to small SeccondaryBuffer from large byte array of WAV.
I created a new WinForms project and got this error:
The designer could not be shown for this file because none of the classes within it can be designed.
I have not yet added any code to the project. It appears as if all of the necessary assemblies are referenced, but intellisense can't seem to resolve the Form class.
Shutting VS2012 down and starting it back up again solved the issue. Weird.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
Maybe the fact that I mentioned WPF when the OP was looking for ASP.NET was the reason. I don't see how my answer was wrong in that context as you could esily substitute the WPF front end with a ASP.NET version (or have both, and....).
I don't speak Idiot - please talk slowly and clearly
If the topic isn't something you are interested in, or have knowledge of, then you will give up on it and that won't help you. Find something that interests you and use that as a basis of your project.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
First of all this is wrong place to ask this question. Such question could be asked in GIT or Lounge.
Secondly, I appreciate the intention that you have behind posting this question i.e. learning but perhaps(like others said) you should be able to come up with some ideas on your own.
thirdly, my suggestion would be to start small application like contact book/address book or small forums. but keep in mind that your sole focus should be on learning various concepts related to C# and ASP.NET than just getting your project done.
Every now and then say, "What the Elephant." "What the Elephant" gives you freedom. Freedom brings opportunity. Opportunity makes your future.
I am trying to build an application where I can take any system remote connection(like mstsc) using .NET application. I found one windows application Remote Desktop using C#.NET[^], similarly i want to have in web application.
Or, is it possible to embedd the windows ActiveX control in web app?
Nothing wrong with that syntactically. But my preference is that if the method is more than a couple lines long, I like to break it out into it's own method so that readability and maintainability is a little easier.
I wasn't, now I am, then I won't be anymore.
Last Visit: 31-Dec-99 19:00 Last Update: 27-Mar-15 6:09