Re: Wav to Ogg Vorbis conversion

Erik de Castro Lopo <[email protected]> Tue, 15 Mar 2011 06:52:29 +1100
Newsgroups gmane.comp.multimedia.ogg.vorbis.devel
Organization Erik Conspiracy Secret Labs
Message-ID <[email protected]>
Dmitriy Reznik wrote:

> I am trying to open a file as follows:

This is no longer on topic for this list.

> 	m_df = CreateFile(m_CurFile, GENERIC_WRITE, 0, NULL, CREATE_NEW,

You have a HANDLE there.

>     if ((m_pSndFile = sf_open (m_CurFile, SFM_WRITE, &m_info)) == NULL)

and you pass it to sf_open() which expects a char* pointer.

You need to read the documentation and look at the example
code in the examples/ directory of the source code tarball.

I will not be answering any further libnsdfile related questions
here.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/