• 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: using integer audio data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using integer audio data


  • Subject: Re: using integer audio data
  • From: Raphaël Dingé <email@hidden>
  • Date: Wed, 22 Aug 2001 09:46:41 +0200

> This results in something along these lines:
> mflr r0
> bcl 20,31,L1$pb
> L1$pb:
> mflr r12
> mtlr r0
> xoris r3,r3,0x8000
> stw r3,-4(r1)
> lis r0,0x4330
> addis r11,r12,ha16(LC0-L1$pb)
> stw r0,-8(r1)
> la r11,lo16(LC0-L1$pb)(r11)
> lfd f1,-8(r1)
> lfd f0,0(r11)
> fsub f1,f1,f0
> frsp f1,f1
> blr

found that on musicdsp :

00000000: C8220000 lfd fp1,@1558(RTOC)
00000004: 6C608000 xoris r0,r3,$8000
00000008: 9001FFF4 stw r0,-12(SP)
0000000C: 3C004330 lis r0,17200
00000010: 9001FFF0 stw r0,-16(SP)
00000014: C801FFF0 lfd fp0,-16(SP)
00000018: EC200828 fsubs fp1,fp0,fp1
0000001C: 4E800020 blr

Hope it helps,

Raf


References: 
 >Re: using integer audio data (From: "Timothy J. Wood" <email@hidden>)

  • Prev by Date: Re: using integer audio data
  • Next by Date: Re: coreaudio-api digest, Vol 1 #70 - 2 msgs
  • Previous by thread: Re: using integer audio data
  • Next by thread: Re: using integer audio data
  • Index(es):
    • Date
    • Thread