使用内存流作为输入 [英] Using a memorystream as input

查看:77
本文介绍了使用内存流作为输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


是否可以使用内存流作为输入源而不是文件或设备?

这是一个实时音频流(文本到语音)在我的程序中生成。


提前致谢,b
Brecht

解决方案

早上好。


我担心简短的答案是否定的。 通过SDK,不支持该方案。如果您编写了一个DShow过滤器,它将siad流作为输入,那么我会怀疑,这会在核心引脚上暴露出A / V,这将是一个解决方案,但这不是偶然的
承诺。


Hi,

Is it possible to use a memory stream as input source instead of a file or device?
It's a live audio stream (text to speech) wich is generated in my program.

Thanks in advance,
Brecht

解决方案

Good morning.

I'm afraid the short answer is no.  Via the SDK that scenario is not supported. If you wrote a DShow filter that took siad stream as it's input then exposed the A/V on the coreponding pins, I suspect, that would be a solution but that's not a casual undertaking.


这篇关于使用内存流作为输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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