Menu

#11 frontend and smallfrontend compiled under Visual C++ 6.0

open
nobody
None
5
2003-09-27
2003-09-27
Anonymous
No

I just built project files using the makefiles as a guide to
know which files to include.

I built toolame from rls L source and it works OK. So
does the one with th CYGWIN.DLL.

frontend and smallfrontend both fail... here's the output
from frontend:
==============================
C:\TEST>frontend dtmf-12.wav dtmf-12f.mp2
Parsing Wave File Header
>>> 44100 Hz sampling freq selected
>>> Input Wave File is Mono
encode_init: using tablenum 1 with sblimit 30
--------------------------------------------
Input File : 'dtmf-12.wav' 44.1 kHz
Output File: 'dtmf-12f.mp2'
192 kbps MPEG-1 Layer II single-ch Psycho model=2
[De-emph:Off Copyright:Yes Original:Yes CRC:Off]
[Padding:Off Byte-swap:Off Chanswap:Off
DAB:Off]
ATH adjustment 0.000000
Reserving 0 Ancillary bits
--------------------------------------------
absthr[][] sampling frequency index: 1
Finished nicely
==============================

dtmf-12.wav is about 3.9 megs. dtmf-12f.mp2 created
this way is less than 1k and is not recognized as an MP2
file by real player.

I traced through the code and am getting weird results
in pcm_get_audio() in libpcm.c.

} else {
// Mono. just read straight into the buffer
samples_read = fread (pcmaudio[0], sizeof(short int),
numSamples, musicin);

Down here, the first call to fread returns 8192, the
second one 7945, and the third one zero. But this is a
3.9 meg WAV file so I don't understand how that could
happen.

Gary
faultline1989@yahoo.com

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.