On 6 Oct 2008, at 11:45 pm, Joseph Ayers wrote:

Note the occurrence of samples with the value of 0 alternating with samples that are reasonable. However, this alternation is not rigid as the 0's can be substituted with reasonable numbers.

Any idea what's going on here?


Are you *sure* that the samples are 16 bit values? Maybe they're 32- bit values, and what you're seeing is the 2 high bytes of each sample being set to zero, but not always.

Where has the data come from?

If they are 32-bit, make your pointers unsigned long* and divide the bytecount by 4. Also use [NSNumber numberWithUnsignedLong:];


hth,

Graham
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to