Information Regarding Read function in SampleFile.cpp

Discussions for GoldWave plug-in development

Information Regarding Read function in SampleFile.cpp

Postby Ansha » Fri Nov 14, 2008 8:19 am

Hi,

I want to convert 24 bit, 48 KHz, PCM Stereo audio file to 16 bit, 48 KHz, PCM Stereo file programmatically. I have downloaded the SDK provided on your site.

In SampleFile.cpp, class File is declared. This contains Read, Write, Begin, End, ConvertAudio etc. functions. I am using these functions for conversion in my code.

Read function prototype is as below:
int gdecl File::Read( audio *dest, int samples )
I am not clear about what value to pass in the second argument. Same is in write function.

Please elaborate about this argument and function.

Any information would be extremely helpful.
Thanks
Ansha
 
Posts: 2
Joined: Fri Nov 14, 2008 8:08 am

Information Regarding Read function in SampleFile.cpp

Postby Ansha » Mon Nov 17, 2008 11:07 am

Hi,

This task is urgent for me can you please, explain me the details of Read function moreover arguments passing to this function.


Thanks
Ansha
 
Posts: 2
Joined: Fri Nov 14, 2008 8:08 am


Return to Developers

Who is online

Users browsing this forum: No registered users and 1 guest

Google Ads

Keywords: sound editor, song editor, audio editor, sound converter, sound recorder, itunes, mp3, cassette, tape recording software, vinyl, LP, restoration, noise reduction, clean, filter, visual, speech