Comments and Discussions
|
|
 |
|
 |
Hi,
I use your control in my project. it work good, but i to know:
1) do you any shape for mute or speaker control?
2) when i clicked on Forward or Backward button and hold-down mouse button, the Click event called only once,
how can i get all click events?
|
|
|
|
 |
|
 |
Can you expose the code that about how to play audio files with C#?
Thank you very much.
test
|
|
|
|
 |
|
 |
I wrote an arical for on how to do it in VB. Check it out:
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=913&lngWId=10
From,
EJ T
EThiele @ MyRealBox . com
P.S.: Remove the space from the E-Mail adress, Is so the Spiders wont pick it up
|
|
|
|
 |
|
 |
Have a look at the PlaySound sample in the managed directx SDK. Its pretty straightforward.
Ryan.
|
|
|
|
 |
|
 |
crystalicetpmc wrote:
Can you expose the code that about how to play audio files with C#?
Thank you very much.
test
For low-level audio file manipulation, there are two ways to do it in .NET. One is DirectSound and another is using Interop.
1. if you are dealing with short files, then DirectSound would be an ideal solution for you. In its examples, there are very detailed ones showing step by step how to use directsound. But if you are dealing with huge files (like several hundred Mb), you then have to stream the file in DirectSound, there isn't any example showing how to do that. But you can following the example in C++. NET.
2. Using Interop. There are several good articles explains very well how to playing audio files. One of them is from Ianier: A low-level audio player in C#
Another is nBASS, which is a wrapper of BASS. Both the above projects have plenty codes.
I have chosen nBASS, and my project is finishing for the Alfa version testing soon. I will post them on to codeproject and keep updating them. At that time, there will be a lot more information about it from my website too.
If you still need more information, either leave a message here or drop an email to me directly.
Hope this could help.
_________________ When you know a thing, to recognize that you know it, and when you do not know a thing, to recognize that you do not know it. That is knowledge. ---- CONFUCIUS (Chinese philosopher 551 BC - 478 BC)
|
|
|
|
 |
|
|
General
News
Suggestion
Question
Bug
Answer
Joke
Rant
Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.