• 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
返回

电子发烧友 电子发烧友

  • 全文搜索
    • 全文搜索
    • 标题搜索
  • 全部时间
    • 全部时间
    • 1小时内
    • 1天内
    • 1周内
    • 1个月内
  • 默认排序
    • 默认排序
    • 按时间排序
大家还在搜
  • 虚拟声卡示波器绿色免安装

    本帖最后由 eehome 于 2013-1-5 10:01 编辑 虚拟声卡示波器绿色免安装PCB打样找华强 http://www.hqpcb.com 样板2天出货

    2012-12-27 21:49

  • #硬声创作季 #硬件 微机原理与接口技术-15.01.02 虚拟声卡示波器

  • RK3399 Android7.1系统虚拟声卡驱动添加步骤实现

    Platform: RK3399OS: Android 7.1Kernel: v4.4.83需求:当前默认一个普通的codec已经无法满足需求了,如回声消除,降噪,唤醒等功能。RK3399平台的I2S0通道提供最高8路通道录音支持。如果拿到一个麦克阵列,那么可以添加到此路通道上。I2S1就接普通codec.代码实现:firefly平台也有对应的实现,可参考。这部分代码是由rockchip罗工实现,感谢他,也让我对audio有了进一步了解。/*rk_pcm_codec.c--Rockchip PCM codecs driverCopyright (c) 2016, ROCKCHIP CORPORATION.All rights reserved.Author: Xiaotan Luo <lxt@rock-chips.com>This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License version 2 andonly version 2 as published by the Free Software Foundation.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See theGNU General Public License for more details.*/#include <linux/module.h>#include <linux/moduleparam.h>#include <linux/slab.h>#include <linux/of.h>#include <linux/of_gpio.h>#include <sound/soc.h>#include <sound/pcm.h>#include <sound/initval.h>#if 1#define DBG(x...) printk(KERN_INFO "rk_pcm_codec :"x)#else#define DBG(x...) do { } while (0)#endif#define FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |SNDRV_PCM_FMTBIT_S24_LE| SNDRV_PCM_FMTBIT_S32_LE)struct snd_soc_dai_driver sph0645lm4h_card_dai = {.name = "rockchip-sph0645lm4h-card-hifi",.capture = {.stream_name = "HiFi Capture",.channels_min = 2,.channels_max = 8,.rates = (SNDRV_PCM_RATE_8000|SNDRV_PCM_RATE_16000|SNDRV_PCM_RATE_32000 |SNDRV_PCM_RATE_44100 |SNDRV_PCM_RATE_48000 |SNDRV_PCM_RATE_96000 |SNDRV_PCM_RATE_192000),.formats = FORMATS,},};static struct snd_soc_codec_driver soc_codec_dev_sph0645lm4h_card;static int rockchip_sph0645lm4h_card_audio_probe(struct platform_device *pdev){int ret;//set dev name to driver->name for sound card register//printk("%s,%s\\n",__FILE__,__FUNCTION__);dev_set_name(&pdev->dev, "%s", pdev->dev.driver->name);ret = snd_soc_register_codec(&pdev->dev,&soc_codec_dev_sph0645lm4h_card,&sph0645lm4h_card_dai, 1);if (ret)printk("%s() register card failed:%d\\n", __FUNCTION__, ret);printk("---------------------rockchip_pcm_card_audio_probe111-------------------\\n");return ret;}static int rockchip_sph0645lm4h_card_audio_remove(struct platform_device *pdev){snd_soc_unregister_codec(&pdev->dev);return 0;}#ifdef CONFIG_OFstatic const struct of_device_id rockchip_sph0645lm4h_card_of_match[] = {{ .compatible = "rockchip-sph0645lm4h-codec", },{},};MODULE_DEVICE_TABLE(of, rockchip_sph0645lm4h_card_of_match);#endif /* CONFIG_OF */static struct platform_driver rockchip_sph0645lm4h_card_audio_driver = {.driver= {.name= "rockchip-sph0645lm4h-codec",.owner= THIS_MODULE,.of_match_table = of_match_ptr(rockchip_sph0645lm4h_card_of_match),},.probe = rockchip_sph0645lm4h_card_audio_probe,.remove= rockchip_sph0645lm4h_card_audio_remove,};module_platform_driver(rockchip_sph0645lm4h_card_audio_driver);MODULE_DESCRIPTION("ASoC Rockchip PCM codec driver");MODULE_AUTHOR("Xiaotan Luo <lxt@rock-chips.com>");MODULE_LICENSE("GPL v2");原作者:KrisFei

    2022-11-30 16:19

  • RK3399 Android7.1虚拟声卡驱动添加的步骤分享

    Platform: RK3399OS: Android 7.1Kernel: v4.4.83需求:当前默认一个普通的codec已经无法满足需求了,如回声消除,降噪,唤醒等功能。RK3399平台的I2S0通道提供最高8路通道录音支持。如果拿到一个麦克阵列,那么可以添加到此路通道上。I2S1就接普通codec.代码实现:firefly平台也有对应的实现,可参考。这部分代码是由rockchip罗工实现,感谢他,也让我对audio有了进一步了解。/*rk_pcm_codec.c--Rockchip PCM codecs driverCopyright (c) 2016, ROCKCHIP CORPORATION.All rights reserved.Author: Xiaotan Luo <lxt@rock-chips.com>This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License version 2 andonly version 2 as published by the Free Software Foundation.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See theGNU General Public License for more details.*/#include <linux/module.h>#include <linux/moduleparam.h>#include <linux/slab.h>#include <linux/of.h>#include <linux/of_gpio.h>#include <sound/soc.h>#include <sound/pcm.h>#include <sound/initval.h>#if 1#define DBG(x...) printk(KERN_INFO "rk_pcm_codec :"x)#else#define DBG(x...) do { } while (0)#endif#define FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |SNDRV_PCM_FMTBIT_S24_LE| SNDRV_PCM_FMTBIT_S32_LE)struct snd_soc_dai_driver sph0645lm4h_card_dai = {.name = "rockchip-sph0645lm4h-card-hifi",.capture = {.stream_name = "HiFi Capture",.channels_min = 2,.channels_max = 8,.rates = (SNDRV_PCM_RATE_8000|SNDRV_PCM_RATE_16000|SNDRV_PCM_RATE_32000 |SNDRV_PCM_RATE_44100 |SNDRV_PCM_RATE_48000 |SNDRV_PCM_RATE_96000 |SNDRV_PCM_RATE_192000),.formats = FORMATS,},};static struct snd_soc_codec_driver soc_codec_dev_sph0645lm4h_card;static int rockchip_sph0645lm4h_card_audio_probe(struct platform_device *pdev){int ret;//set dev name to driver->name for sound card register//printk("%s,%s\\n",__FILE__,__FUNCTION__);dev_set_name(&pdev->dev, "%s", pdev->dev.driver->name);ret = snd_soc_register_codec(&pdev->dev,&soc_codec_dev_sph0645lm4h_card,&sph0645lm4h_card_dai, 1);if (ret)printk("%s() register card failed:%d\\n", __FUNCTION__, ret);printk("---------------------rockchip_pcm_card_audio_probe111-------------------\\n");return ret;}static int rockchip_sph0645lm4h_card_audio_remove(struct platform_device *pdev){snd_soc_unregister_codec(&pdev->dev);return 0;}#ifdef CONFIG_OFstatic const struct of_device_id rockchip_sph0645lm4h_card_of_match[] = {{ .compatible = "rockchip-sph0645lm4h-codec", },{},};MODULE_DEVICE_TABLE(of, rockchip_sph0645lm4h_card_of_match);#endif /* CONFIG_OF */static struct platform_driver rockchip_sph0645lm4h_card_audio_driver = {.driver= {.name= "rockchip-sph0645lm4h-codec",.owner= THIS_MODULE,.of_match_table = of_match_ptr(rockchip_sph0645lm4h_card_of_match),},.probe = rockchip_sph0645lm4h_card_audio_probe,.remove= rockchip_sph0645lm4h_card_audio_remove,};module_platform_driver(rockchip_sph0645lm4h_card_audio_driver);MODULE_DESCRIPTION("ASoC Rockchip PCM codec driver");MODULE_AUTHOR("Xiaotan Luo <lxt@rock-chips.com>");MODULE_LICENSE("GPL v2");原作者:KrisFei

    2022-10-21 17:37

  • Firefly集群服务器的应用场景资料介绍

    集群服务器增加了以下功能。虚拟硬件设备包括虚拟摄像头、虚拟声卡等。虚拟摄像头智能设备在没有安装摄像头或不能安装摄像头的情况下,会导致需要打开摄像头的应用无法使用;而Fi

    2022-08-04 16:17

  • 【技术案例】Firefly虚拟硬件技术

    Firefly虚拟硬件技术可通过软件的方式,在操作系统中虚拟出指定的硬件设备,让需要指定硬件设备才能运行的APP正常工作。目前已支持虚拟摄像头,虚拟声卡

    2023-04-13 11:00 Firefly开源团队 企业号

  • 如何通过声音波形幅值进行声音识别?

    通过之前版友的分享得到了一份通过虚拟声卡(按照文件路径读取声音文件)进而进行信号处理(巴特沃斯低通和FFT),现在有个问题想请教大家。大体是根据得到的声音波形幅值和设定的声音幅值进行比对来实现声音

    2015-05-20 23:36

  • rk3399声卡调试及其配置步骤有哪些呢

    ,playback-channels = ;rockchip,capture-channels = ;#sound-dai-cells = ;};2.声卡配置因为是用串口配置参数,所以使用虚拟声卡dummy_codec

    2022-05-17 11:45

  • 怎样去解决使用蓝牙a2dp source播放音乐出现播放无声的问题

    [_a2dp_src_pcm_write:150]:a2dp source open pcm error: Out of memory;从log来看,播放时没有成功打开蓝牙虚拟声卡,所以播放没有声音是必然的。其中打开

    2021-12-29 06:49

  • 虚拟声谱分析器软件

    虚拟声谱分析器软件详细介绍 此软件操作方便快捷

    2011-02-11 15:53