Hi to all,
I’m a beginner in development of drivers. I have to write an audio driver that
forwards audio contents to be played on client computers in real-time. To be
honest, my background in audio applications is limited but i have made some
research on the internet on that topic.
To reach my goal, my plan is first to study the behavior of a sample that fit
best my needs and then write a filter driver that reformat the audio data
accordingly. Fortunately, I found a WDM driver sample included in DDK that
writes .wav files (played by Windows Media Player) into small .wav files on the
hard disk. (That sample can be found in
\WINDDK\Build_number\src\wdm\audio\msvad.) I studied its behavior by looking
at its code (especially for code that potentially generates the output files on
my hard disk) and tracing it with SoftICE. After spending five days on that
task, I still haven’t found a way to reformat the audio data played. WDM
drivers seem so complicated! Also, because this sample crashes my computer at
boot time, I consider writing a custom driver from scratch.
My questions are:
1)Can you tell me how Windows Media Player interact with an audio driver?
2)Is there better approaches in reverse-engineering such drivers?
3)If I choose to write a new audio driver, what are the concepts I should be
familiar with and understand it before starting its development?
I thank ahead to any answers, comments or links you can provide.
Chi-Truc Dinh