[vorbis-dev] Error in Scales.h

Lars Brubaker LarsBB at reflexive.net
Fri Dec 22 09:29:31 PST 2000

Some errors compiling vorbis_dynamic

Line 40 of Scales.h
#define toBARK(f)
Should be
#define toBARK(n)

Line 42
#define toMEL(f)    (log(1.f+(f)*.001f)*1442.695f)
should be
#define toMEL(n)    (log(1.f+(n)*.001f)*1442.695f)

Line 48
#define toOC(f)     (log(f)*1.442695f-6.965784f)
should be
#define toOC(n)     (log(n)*1.442695f-6.965784f)

The f is causing a compiler error "syntax error : 'bad suffix on number'"

Lars Brubaker.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Vorbis-dev mailing list