I log each value and I can see that by default the LittleEndian is set
to TRUE. The sample rate is affecting the movement of x along the axis
however the other values are gotten independently? What I am worried
about is that your code supports TargetMacintel which I have set to
true and false manually, but it just switches between the following if
else statement which I do not clearly understand.

  if TargetMacintel then
    OutMemoryBlock.StringValue(4,4) = " war"//Intel
  else
    OutMemoryBlock.StringValue(4,4) = "raw "//PPC
  end if
  OutMemoryBlock.Short(24) = 1
  OutMemoryBlock.Short(26) = bitSize

  if TargetMacintel then
    //Intel
    CopyBytes(inMemoryBlock,34,2,OutMemoryBlock,34)
    SoundSampleRate = OutMemoryBlock.UShort(34)
  else
    //PPC
    CopyBytes(inMemoryBlock,32,2,OutMemoryBlock,32)
    SoundSampleRate = OutMemoryBlock.UShort(32)
  end if

So here there is only support for MacOS Intel and PPC, not for how
things are done in windows. I guess i have to find the magic number
which is not 32 or 34.
Here we can see SoundSampleRate always takes 0, so I guess I am going
to try other numbers that make soundsamplerate different than zero.
What is strange though is that the functions I am using are the ones
imported from quicktime library for windows, however, do not know what
the resemblance is inside for the different versions.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to