Re: [NEWBIE] Old thread and Vu-Meters
Re: [NEWBIE] Old thread and Vu-Meters
- Subject: Re: [NEWBIE] Old thread and Vu-Meters
- From: Sanri Parov <email@hidden>
- Date: Tue, 9 Aug 2005 19:59:05 +0200
On Tue, 9 Aug 2005 13:52:52 -0400, David Duncan wrote:
> On Aug 9, 2005, at 01:24 PM, Sanri Parov wrote:
>
>> Mmmh...I've probably understood...
>> You want to say that, if I use a sample rate of 48KHz/24bit it's
>> impossible that a sample is contained into a single byte.
>> Is it correct?
>
> It has nothing to do with the sample rate, in your example it could
> be 8Khz or 96Khz and the answer would be the same. But you answer
> your own question when you say the sample size is 24 bits - since a
> byte is only 8 bits it must be impossible for a sample to be
> contained in a single byte in this case.
Wonderful ,I understood quite correctly.
Now it's the tricky part for a newbie like me:how can I tell
memcpy (aSample, buffer->mData, SOUND_PRINTOUT_SIZE);
to copy the right things? Have I to use some sizeof()?
Thanks again for your patience and kindness.
--
Sanri Parov
_______________________________________________
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