I'm posting the findings on this issue provided by Tabuleiro and Sean after some
research. Error -1101 in this situation is due to a shortcoming of Director MX 9 (and
probably earlier versions) media components. This has been corrected in MX 2004. The
only solution we were able to find is to use MX 2004.
Hope this helps someone some day.
Slava
At 10:40 AM 7/11/04 -0400, you wrote:
>Here's the complete problem, using AudioXtra, which in turn uses Director's built-in
>32 Kbs mp3 encoding routines (as I understand it):
>
>PUT baFileExists(locInputFile)
>-- 1
>PUT locOutputFile
>-- "C:\WALSampler\WalSampler\test.mp3"
>PUT axLoadSound("Current", "file", locInputFile)
>-- 0
>PUT axGetSoundList()
>-- ["Test", "Current"]
>PUT axPlay(locCurrSoundName)
>-- 0 [the sound plays fine]
>PUT axGetEnvironmentInfo("convertNumChannels")
>-- 1
>PUT axGetEnvironmentInfo("convertSampleRate")
>-- 44100
>PUT axGetEnvironmentInfo("convertSampleDepth")
>-- 16
>locFormatString = "MPEG3"
>PUT axGetEnvironmentInfo("availableConversionFormats") contains locFormatString
>-- 1
>PUT axConvertToFile ( locCurrSoundName, locOutputFile, locFormatString)
>-- -1101
>
>-1101 is not an AudioXtra error code.
>
>Any tips would be appreciated.
>
>Slava
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL
PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping
with programming Lingo. Thanks!]