使用无代码kext隐藏音频设备 [英] Hide Audio device using codeless kext

查看:148
本文介绍了使用无代码kext隐藏音频设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个音频驱动程序,以使用Apple的音频反射器驱动程序示例代码来进行一些自定义音频处理.使用核心音频应用程序将来自音频反射器驱动程序的输出传递到真实的USB音频硬件设备.现在,我想从系统偏好设置中隐藏USB音频硬件设备,以使用户无法选择USB音频硬件输出设备作为默认输出设备.使用"SampleUSBAudioOverrideDriver"无代码的kext,我可以更改输出接口的名称,但不能隐藏它.关于如何隐藏USB音频硬件输出设备的任何想法.

I am developing a audio driver to do some custom audio processing using audio reflector driver sample code from Apple. Output from audio reflector driver is passed to real USB audio hardware device using core audio application. Now I want to hide USB audio hardware device from the system preferences so that user is not able to select the USB audio hardware output device as the default output device. Using the "SampleUSBAudioOverrideDriver" codeless kext I am able to change the name of output interface but not hide it. Any idea on how I will be able to hide USB audio hardware output device.

谢谢.

Vin Pai

推荐答案

在对该主题进行了一系列研究和开发之后,我发现示例代码中提供的无代码kext SampleUSBAudioOverrideDriver并未使用该属性集来隐藏设备界面.

After a lof of R&D on this topic, I found that codeless kext provided in the sample code, SampleUSBAudioOverrideDriver doesn't use the property set to hide the device interface.

这篇关于使用无代码kext隐藏音频设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆