[英]Do I need my codec to be ALSA or not?
I have a project that I am working on, for the purposes of this question, lets say they are wireless speakers. 对于这个问题,我有一个正在进行的项目,可以说它们是无线扬声器。
We are using the raspberry pi for development right now but we plan to move to our own embedded solution. 我们现在正在使用树莓派进行开发,但我们计划迁移到我们自己的嵌入式解决方案。 The codec we've chosen fits our needs best, although it isn't an "ALSA supported" codec. 尽管我们选择的编解码器不是“支持ALSA”的编解码器,但它最适合我们的需求。 As in the ALSA webpage doesn't have info on it. 就像在ALSA网页上没有信息一样。
Much of the PCM code I've found to develop this on the raspberry pi use ALSA streams. 我发现在树莓派上开发的许多PCM代码都使用ALSA流。 Is it a standard to use an ALSA codec for these types of projects? 对这些类型的项目使用ALSA编解码器是否为标准?
I haven't worked much with embedded linux or RTOS. 我在嵌入式Linux或RTOS方面工作不多。 I work with bare-metal systems quite frequently though which explains my confusion on what ALSA exactly is. 我经常使用裸机系统,但这解释了我对ALSA到底是什么的困惑。 It seems like some odd middleware or something. 似乎有些奇怪的中间件之类的东西。
ALSA is ALSA是
To have your codec supported in Linux, you must write an ALSA driver. 要在Linux中支持编解码器,必须编写ALSA驱动程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.