• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Converting to LPCM 32bit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting to LPCM 32bit


  • Subject: Re: Converting to LPCM 32bit
  • From: "Sandeep Chandna" <email@hidden>
  • Date: Tue, 9 Jan 2007 12:56:55 +0530

Gennady,Brad - Thanks for your inputs, I had a further look into the later code but could not find where it could be going wrong. My sound description for 32bit little endian integer looks like this, please check if this looks correct?

descSize        134
dataFormat     1768829746
resvd1             0
resvd2             0
dataRefIndex    0
version             1
revelevel           0
vendor              0
numChannels   2
sampleSize     16
compressionID -1
packetSize       0
sampleRate      524288000

This is returned when I set my asbd to

sampleRate               8000
mFormatID                1819304813
mFormatFlags           12
mBytesPerPacket      8
mFramesPerPacket   1
mBytesPerFrame       8
mChannelsPerFrame  2
mBitsPerChannel       32
mReserved                0


Please confirm if the above sound Description/asbd are correct for 32 bit integer little endian in which case we can be sure that problem is in further code and I am not setting the asbd incorrectly.

Thanks
Sandeep


On 09/01/07, Gennady Dudarek <email@hidden> wrote:
On Jan 8, 2007, at 11:36 PM, Brad Ford wrote:

>>
>
> <SNIP>
>
>>>
>>> Also, I am using QTSoundDescriptionCreate to create the SDH, and
>>> output ASBD is defined as given in my last mail (qouted here).
>>>
>>
>> Looks like returned sound description does not contain required
>> extension.
>
> QTSoundDescriptionCreate does indeed add appropriate extensions for
> endianness.  It's a well tested code path.
>
So, there is no needs to spend a time for dumping the returned
description, probably bug is somewhere in further code.

> -Brad Ford
> QuickTime Engineering

--
Gennady Dudarek





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Converting to LPCM 32bit
      • From: Gennady Dudarek <email@hidden>
References: 
 >Converting to LPCM 32bit (From: "Sandeep Chandna" <email@hidden>)
 >Re: Converting to LPCM 32bit (From: Brad Ford <email@hidden>)
 >Re: Converting to LPCM 32bit (From: "Sandeep Chandna" <email@hidden>)
 >Re: Converting to LPCM 32bit (From: Gennady Dudarek <email@hidden>)
 >Re: Converting to LPCM 32bit (From: Brad Ford <email@hidden>)
 >Re: Converting to LPCM 32bit (From: Gennady Dudarek <email@hidden>)

  • Prev by Date: Re: Converting to LPCM 32bit
  • Next by Date: Re: Metronome
  • Previous by thread: Re: Converting to LPCM 32bit
  • Next by thread: Re: Converting to LPCM 32bit
  • Index(es):
    • Date
    • Thread