Hi,
     I am trying to write a simple extension pack for a college project, that 
reads the AudioSamples being provided by VRDEAudioSamples to be played back by 
an ALSA player.
     As a first step, I want to save the samples to a .wav file, so that aplay 
can read it and play it. Towards this, I have the following questions, and will 
be glad if someone could 

     please answer these questions -
     1) How to convert the various values encoded in VRDEAUDIOFORMAT to 
nSamplesPerSec, nAvgBytesPerSec, nBlockAlign and other information required for 
a wav header?
     2) How do I interpret the data in the buffer that is being provided as 
part of VRDEAudioSamples?
     3) Also, how do I calculate the total number of bytes that are being 
passed as part of VRDEAudioSamples?

Regards,
Sriram
_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to