简体   繁体   English

Catalina Beta 5:Quicktime录音不适用于2018 Macbook Pros sw

[英]Catalina Beta 5: Quicktime Audio Recording Not Working on 2018 Macbook Pros sw

Starting a Quicktime Audio recording with Catalina Dev Beta 5 on 2018 or later Macbook Pros outputs files with no sound (Macbook Pro Microhone selected). 在2018年或之后的版本中使用Catalina Dev Beta 5开始Quicktime音频录制Macbook Pro会输出没有声音的文件(选择Macbook Pro Microhone)。 Example file here: https://www.dropbox.com/s/ib67k0vg8cm93fn/test_no_audio%20%281%29.aifc?dl=0 示例文件在这里: https//www.dropbox.com/s/ib67k0vg8cm93fn/test_no_audio%20%281%29.aifc?dl=0

During the recording recording Console shows this error: 录制期间录制控制台显示此错误:

"CMIO_Unit_Converter_Audio.cpp:590:RebuildAudioConverter AudioConverterSetProperty() failed (1886547824)" “CMIO_Unit_Converter_Audio.cpp:590:RebuildAudioConverter AudioConverterSetProperty()失败(1886547824)”

We have an application that records the screen and audio at the same time using AVFoundation and the resulting video files also do not have audio. 我们有一个使用AVFoundation同时记录屏幕和音频的应用程序,结果视频文件也没有音频。 However when inspecting the CMSampleBuffers, they seem fine: https://gist.github.com/paulius005/faef6d6250323b7d3386a9a70c08f70b 但是,在检查CMSampleBuffers时,它们看起来很好: https//gist.github.com/paulius005/faef6d6250323b7d3386a9a70c08f70b

Is anyone else experiencing this issue or possibly have more visibility if it's something Apple is working on? 是否有其他人遇到过这个问题,或者如果苹果公司正在开展工作,可能会有更多的可见度?

Anything else that I should be looking at to tackle the issue? 还有什么我应该考虑解决这个问题吗?

Yes, Apple is changing a lot of things related to the audio subsystem layer on Catalina. 是的,Apple正在改变很多与Catalina音频子系统层相关的东西。 I am aware that various audio applications are being rewritten for Catalina. 我知道正在为Catalina重写各种音频应用程序。 Also since beta2, each new beta release comes with some deprecations, but also comes with some new implementations [to the new audio layer of the MacOS]. 此外,自beta2以来,每个新的测试版都附带了一些弃用,但也附带了一些新的实现[到MacOS的新音频层]。

Current Beta 5 Audio Deprecations: 目前的Beta 5 Audio Deprecations:

  • The OpenAL framework is deprecated and remains present for compatibility purposes. OpenAL框架已弃用,并且出于兼容性目的而保留。 Transition to AVAudioEngine for spatial audio functionality. 过渡到AVAudioEngine以获得空间音频功能。

  • AUGraph is deprecated in favor of AVAudioEngine. AUGraph已被弃用,转而支持AVAudioEngine。

  • Inter-App audio is deprecated. 不推荐使用应用间音频。 Use Audio Units for this functionality. 使用音频单元实现此功能。

  • Carbon component-based Audio Units are deprecated and support will be removed in a future release. 不推荐使用基于碳成分的音频单元,并在将来的版本中删除支持。

  • Legacy Core Audio HAL audio hardware plug-ins are no longer supported. 不再支持旧版Core Audio HAL音频硬件插件。 Use Audio Server plug-ins for audio drivers. 将音频服务器插件用于音频驱动程序。

__ __

About AVFoundation [which you are using]: 关于AVFoundation [您正在使用]:

Deprecated on Beta 5: 在Beta 5上弃用:

  • The previously deprecated 32-bit QuickTime framework is no longer available in macOS 10.15. 之前已弃用的32位QuickTime框架在macOS 10.15中不再可用。

  • The symbols for QTKit, which relied on the QuickTime framework, are still present but the classes are non-functional . 依赖于QuickTime框架的QTKit符号仍然存在, 但这些类不起作用

The above item: Apple shipped the symbols for QTkit on Catalina Beta 5, but they are nulled, non-functional. 上面的项目:Apple在Catalina Beta 5上发布了QTkit的符号,但它们是无效的,无功能。 This means, an application will run, but will not produce any result if it is using those AVFoundation classes. 这意味着,应用程序将运行,但如果它正在使用这些AVFoundation类,则不会产生任何结果。 (I don't know if those deprecations directly or indirectly affects your program, but they are about AVFoundation) (我不知道这些弃用是否会直接或间接地影响您的程序,但它们与AVFoundation有关)

I think they will be fully removed on next betas, but for now they are nulled non-functional, otherwise it would completely cause instant crashes on many audio/AV applications which tried to load them. 我认为它们将在下一个测试版中被完全删除,但是现在它们已经无效,否则它将完全导致许多试图加载它们的音频/ AV应用程序的即时崩溃。 This seems to be going like a step-by-step "migration thing" from beta to beta, to give time(?) to developers rewrite their audio apps to the new audio subsystem. 这似乎是从beta到beta的逐步“迁移事物”,为开发人员将时间(?)重写为新的音频子系统。

You can find more details on the release notes [along with links to some new classes and functions documentation to replace the deprecated ones], but it is not a good/rich documentation yet. 您可以在发行说明中找到更多详细信息[以及一些新类和函数文档的链接以替换已弃用的文档],但它还不是一个好的/丰富的文档。

https://developer.apple.com/documentation/macos_release_notes/macos_catalina_10_15_beta_5_release_notes https://developer.apple.com/documentation/macos_release_notes/macos_catalina_10_15_beta_5_release_notes

PS: About my opinions, point of view and information written here: I am a senior MacOS developer, but not on AV/Audio/Media subsystem, my area is Kernel/Networking/Security. PS:关于我的观点,观点和信息写在这里:我是MacOS高级开发人员,但不是AV /音频/媒体子系统,我的领域是内核/网络/安全。 But I am closely following all the changes that are happening to the MacOS operating system on each Catalina beta release since the first, and the changes I am noticing that Apple is making on the audio subsystem are significant changes. 但我正密切关注自第一次发布以来每个Catalina测试版发布到MacOS操作系统的所有更改,以及我注意到Apple正在对音频子系统进行的更改是重大变化。

I cannot specifically help you with the audio programming issue, but you asked if it could be something Apple is working on, and yes, it is. 我无法专门帮助你解决音频编程问题,但你问它是否可能是苹果公司正在研究的东西,是的,它是。

I hope this information can help you get complementary information to solve your application issue. 我希望这些信息可以帮助您获得补充信息,以解决您的应用程序问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM