• 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: 24bit to 32 float
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: 24bit to 32 float
      • From: Autocat <email@hidden>
References: 
 >24bit to 32 float (From: Autocat <email@hidden>)

  • Prev by Date: 24bit to 32 float
  • Next by Date: Correct way to implement enhanced USB subwoofer support?
  • Previous by thread: 24bit to 32 float
  • Next by thread: Re: 24bit to 32 float
  • Index(es):
    • Date
    • Thread