摘要: ALSA Soc Layer ALSA 芯片系统(ASOC)层总体工程目标是对芯片处理器嵌入式系统提供更好ALSA支持(e.g. Pxa2xx,au1x00,iMX,etc)和方便的音频codecs.当前内核有一些soc audio 支持,不过有一些限制: (1)当前,codec驱动总是紧密和SOC 阅读全文
posted @ 2020-09-14 20:06 卷哭你 阅读(326) 评论(0) 推荐(0) 编辑
摘要: // struct snd_card *card; struct snd_pcm *pcm; err = snd_card_new(&g_audio->gadget->dev, -1, NULL, THIS_MODULE, 0, &card); err = snd_pcm_new(uac->card 阅读全文
posted @ 2020-09-14 10:30 卷哭你 阅读(430) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include 阅读全文
posted @ 2020-09-14 01:06 卷哭你 阅读(144) 评论(0) 推荐(0) 编辑