• 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 vDSP in audio USB Driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using vDSP in audio USB Driver


  • Subject: Re: Using vDSP in audio USB Driver
  • From: "support (One Red Dog Media)" <email@hidden>
  • Date: Tue, 21 Aug 2012 21:26:01 +0000
  • Thread-topic: Using vDSP in audio USB Driver

Hi

You have to use OSvKernDSPLib, which is the kernel space version of the accelerate framework. Alternatively you can use the SIMD intrinsics directly (or even inline assembler which is a bit easier now that there's only i386 and not so much PPC). 

Sent from my iPhone

On 21/08/2012, at 23:44, "Alexis Zbik" <email@hidden> wrote:

thanks peter!

I just try to add some vDSP deature and i link my driver with the accelerate framework ...

When i try to load my kext, i get link failure with the DSP method i used ...

(kernel) kxld[com.MySoftwareCompany.driver.SampleUSBAudioPlugin]: The following symbols are unresolved for this kext:
(kernel) kxld[com.MySoftwareCompany.driver.SampleUSBAudioPlugin]:     _vDSP_vadd
(kernel) Can't load kext com.MySoftwareCompany.driver.SampleUSBAudioPlugin - link failed.
(kernel) Failed to load executable for kext com.MySoftwareCompany.driver.SampleUSBAudioPlugin.
(kernel) Kext com.MySoftwareCompany.driver.SampleUSBAudioPlugin failed to load (0xdc008016).
(kernel) Failed to load kext com.MySoftwareCompany.driver.SampleUSBAudioPlugin (error 0xdc008016).
Failed to load /System/Library/Extensions/SampleUSBAudioPlugin.kext - (libkern/kext) link error.

if you habe some tips ...

2012/8/21 support (One Red Dog Media) <email@hidden>
Hi

>
> So I would to know if i can use the Accelerate framework in kernel mode?

Yes

regards
peter




--
Alexis ZBIK
Mac & Audio Developer

A-Volute
25, rue Corneille
59100, Roubaix, France

email@hidden


 _______________________________________________
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

References: 
 >Using vDSP in audio USB Driver (From: Alexis Zbik <email@hidden>)
 >Re: Using vDSP in audio USB Driver (From: "support (One Red Dog Media)" <email@hidden>)
 >Re: Using vDSP in audio USB Driver (From: Alexis Zbik <email@hidden>)

  • Prev by Date: Re: Scheduling sub-sections of audio files to play with AUFilePlayer
  • Next by Date: Re: Code signing question - HELP :-)
  • Previous by thread: Re: Using vDSP in audio USB Driver
  • Next by thread: Re: Using vDSP in audio USB Driver
  • Index(es):
    • Date
    • Thread