alsa

Ubuntu12.04安装QQ2012

核能气质少年 提交于 2020-03-25 06:33:09
转自: http://www.linuxidc.com/Linux/2012-05/59564.htm Ubuntu 12.04安装QQ2012,下载后请根据自己的机器类型,按照下面的32位或64位安装说明安装 新版本更新说明: 1.qq版本升级到官方最新qq2012Beta1 2.点击密码框不会崩溃 3.不会自动离线 4.支持全局热键(比如:Ctrl+Alt+A截图) 5.语音视频接受正常,本地视频无法使用 6.文件传输大小正常 已知问题: 1.窗口放到桌面边缘无法自动隐藏。 2.如果qq2012使用时发现没有声音或者遇到接收消息时qq僵死的情况,请手动安装更高版本的alsa-lib.(见常见问题一) 3.使用linux的显示桌面,或者使用Ctrl+Alt+z快捷键后切换了桌面的话,可能会导致qq面板无法唤出。 这时可以右键点击任务栏qq图标,选择锁定qq,就可以唤出主面板了。 4.关闭qq窗口可能会有残影,不过不影响使用。 1、到以下网址下载deb安装包, http://www.longene.org/download/qq2011-for-wine_20120220.deb ,已经打包好的deb包,大小为150M左右; 最新发布 6-1 号更新的 : http://www.longene.org/download/WineQQ2012-20120531-Longene.deb

ALSA driver--简单的ALSA driver例子

折月煮酒 提交于 2020-03-02 16:28:23
来源:https://github.com/stadaki/alsa-minivosc-src https://www.alsa-project.org/wiki/Minivosc static int debug = 1; /* Use our own dbg macro http://www.n1ywb.com/projects/darts/darts-usb/darts-usb.c*/ #undef dbg #define dbg(format, arg...) do { if (debug) printk(KERN_DEBUG __FILE__ ": " format "\n" , ## arg); } while (0) #define dbg2(format, arg...) do { if (debug) printk( ": " format "\n" , ## arg); } while (0) // copy from aloop-kernel.c: #include <linux/init.h> #include <linux/module.h> #include <linux/jiffies.h> #include <linux/slab.h> #include <linux/time.h> #include <linux/wait.h> #include

#Linux ALSA#ALSA各模块简介

你离开我真会死。 提交于 2020-02-25 15:26:20
1.Native ALSA Application:tinyplay/tinycap/tinymix,此三种用户程序直接调用alsa用户库接口来实现放音,录音,控制功能; 2.ALSA library API:alsa用户库接口,e.g.tinyalsa,alsa-lib; 3.alsa core:alsa核心层;向上提供逻辑设备系统调用,e.g. PCM ;向下驱动硬件设备 e.g. machine codec; 4.asoc core:asoc是建立在标准alsa core基础上,为更好的支持嵌入式系统以及应用于移动设备之音频codec的一套软件体系; 5.Hardware driver:音频硬件设备驱动;囊括三部分——machine,platform,codec; 5.1 platform 特指代某 SoC 平台的音频模块,e.g. qcom;这里platform又可分为两部分: 5.1.1 cpu dai 在嵌入式系统中通常是指soc支持I2S/PCM总线控制器,其主要功能则是把音频数据从I2S tx FIFO搬运到codec(此仅限回放声音的情形,若录制声音则为将音频数据从codec搬运到I2S tx FIFO);cpu_dai 通过 snd_soc_register_dai() 来注册。可注意:dai 是 Digital Audio Interface 的简称,分为

Register snd-soc-dummy in a device tree

不羁的心 提交于 2020-02-20 10:26:31
问题 I'm trying to register the ALSA dummy codec provided in soc-utils in my device tree source file, to use it with an i2s device driver (sun8i-i2s). I've tried to set the sound-dai field in my i2s configuration as explained here : https://patchwork.kernel.org/patch/7679391/, but the device driver fails to find the dai name when reading the device tree. I've found two workarounds, which consists in either writing my own dummy codec and giving it to the device tree : / { stupid-codec { #sound-dai

Register snd-soc-dummy in a device tree

会有一股神秘感。 提交于 2020-02-20 10:26:27
问题 I'm trying to register the ALSA dummy codec provided in soc-utils in my device tree source file, to use it with an i2s device driver (sun8i-i2s). I've tried to set the sound-dai field in my i2s configuration as explained here : https://patchwork.kernel.org/patch/7679391/, but the device driver fails to find the dai name when reading the device tree. I've found two workarounds, which consists in either writing my own dummy codec and giving it to the device tree : / { stupid-codec { #sound-dai

how to install portaudio on pi properly

谁都会走 提交于 2020-02-02 16:16:09
问题 I am working on a project that involves recording from a mic on a raspberry pi. for now i am getting this error while the program is running. python3: src/hostapi/alsa/pa_linux_alsa.c:3641: PaAlsaStreamComponent_BeginPolling: Assertion `ret == self->nfds' failed. Aborted while searching for ways to fix this, i figured out the file pa_linux_alsa.c belongs to port audio. please refer to the following links. modified pa_linux_alsa.c i think how to install port audio download link first link is

Simulate Microphone (virtual mic)

雨燕双飞 提交于 2020-02-01 16:07:29
问题 I've got a problem where I need to "simulate" microphone output. Data will be coming over the network, decoded into PCM and basically needs to be written into the mic - which then other programs can read/record/whatever. I've been reading up on alsa but information is pretty sparse. The file plugin seemes promising - I was thinking of having a named pipe as "infile" which I could then deliver data to from my application. I can't get it to work however (vlc/audacity just segfault). pcm.testing

Simulate Microphone (virtual mic)

梦想与她 提交于 2020-02-01 16:05:18
问题 I've got a problem where I need to "simulate" microphone output. Data will be coming over the network, decoded into PCM and basically needs to be written into the mic - which then other programs can read/record/whatever. I've been reading up on alsa but information is pretty sparse. The file plugin seemes promising - I was thinking of having a named pipe as "infile" which I could then deliver data to from my application. I can't get it to work however (vlc/audacity just segfault). pcm.testing

Reading Microphone Data by Polling using ALSA [or V4L2]

有些话、适合烂在心里 提交于 2020-01-25 11:03:25
问题 I am trying to read data from multiple microphones in Linux (ubuntu 14.04). I have a specific constraint that the reading from microphones should be via polling(so no waiting until there is data, although the data comes in high frequency). I wanted to know if that is possible in Linux? Unfortunately audio capture is not the area of my expertise and I would like to know if the choice of using Alsa is a good one. To better understand the problem, here is a pseudo-code that I had in mind: open

alsa: latency increases at every underrun

这一生的挚爱 提交于 2020-01-24 15:31:15
问题 I'm writing a tipical capture-process-playback loop. Capture using snd_pcm_readi() , some cheap audio process and then playback through snd_pcm_writei() . Single threaded. At 128 period size and 96000KHz I cannot perceive any latency. Good. Periodically I get a buffer underrun ( snd_pcm_writei() returns -EPIPE); It's ok, I'm running a regular Ubuntu 16.04 desktop not configured for low audio latency. After some underruns the latency becomes perceivable. I don't understand why. this is my