support for getting the raw audio data in buffer

we can the get the raw audio data in a buffer. This is included in the
file GetRawAudioData.cpp . Will add more structure to the code later.