VB.NET code snippets of common DirectSound tasks?



The DirectX SDK is for C++ people :-(

For us non-C++ peeps, would someone that's VB.NET and C++ fluent be kind
enough to post some code snippet conversions of the DirectSound samples in
the SDK?

Specifically to create and initialize the buffers then record sound (pcm),
save the capture buffer as an array and as a file(waveaudio RIFF format).
load a play buffer from a capture buffer, an array, or a *.wav file and
play it. Would be nice to find out if there's library support for some
simple oscilliscope type graphics plot of audio, like sndrec32.exe diplays.
You know the green line waveform picture on black background? Is that
accessible in a API somewhere?

It's dissapointing to see Microsoft pushes VisualStudio2005 and Visual Basic
..NET however Platform and other SDK's rarely show VB.NET examples?????

~ VB-Curious



.



Relevant Pages

  • Re: [PATCH 10/24] x86/oprofile: Add IBS support for AMD CPUs, IBS buffer handling routines
    ... This is the core of the buffer management. ... another architecture to reuse this code. ... Each CPU has a local buffer that stores PC value/event ... If we just passed in an array of data that is ready to just be copied ...
    (Linux-Kernel)
  • Re: Serialization and Deserialization
    ... But when I get the array of bytes back it is only the ... by using the buffer size of 8000. ... In the database I am using varbinary to store this binary data, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [PATCH 10/24] x86/oprofile: Add IBS support for AMD CPUs, IBS buffer handling routines
    ... This is the core of the buffer management. ... another architecture to reuse this code. ... Each CPU has a local buffer that stores PC value/event ... If we just passed in an array of data that is ready to just be copied ...
    (Linux-Kernel)
  • Re: Circular buffer
    ... > do I avoid falling off the end of the array, ... wrap it around to make sure it's never out of bounds. ... the buffer size equal to a power of two. ... considered to be full if incrementing the input array index would make ...
    (alt.lang.asm)
  • Re: Problems reversing strings
    ... First you create an array of 10 ints. ... ptr2, is created, and given the value of 0. ... Now we allocate a buffer with new, and assign the address of the buffer to ...
    (alt.comp.lang.learn.c-cpp)