Re: 24bit to 32 float
Re: 24bit to 32 float
- Subject: Re: 24bit to 32 float
- From: Paul Russell <email@hidden>
- Date: Mon, 3 Jun 2002 13:04:59 -0700
Hi,
I would like to know what would be the best way to efficiently
convert audio samples from 24bit to 32 float, and vice versa, for
use in my OS X audio driver. Is anybody willing to share some code ?
If you don't mind being G4-specific and writing a few lines of
AltiVec code, then vec_ctf/vec_cts will do all the hard work for you.
You should be able to get around 1 sample per CPU clock throughput
(if the bus can handle it).
//Paul
--
| Paul Russell email@hidden |
| ARC Software Ltd
http://www.arc-software.com |
| Santa Cruz, CA |
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.