开发者ID:windleos,项目名称:sound-card,代码行数:101,代码来源:demo1.cpp 示例5: getParam ▲点赞 1▼ boolALSAWriter::processParams(bool*paramsCorrected) {constunsignedchn = getParam("chn").toUInt();constunsignedrate = getParam("rate").toUInt();constboolresetAudio = channels != chn || sa...
def·i·cit/ˈdefɪsɪt/●○○noun[countableC] NOT HAVEthe difference between the amount of something that you have and the higher amount that you need逆差,亏损,赤字,不足额→shortfall the country’s wideningbudget deficit 这个国家日益严重的预算赤字 ...
QString shortName = device.mid(device.indexOf(QLatin1String("="),0)+1);while(snd_card_get_name(idx,&name) ==0) {if(shortName.compare(QLatin1String(name)) ==0)break; idx++; } dev = QString(QLatin1String("hw:%1,0")).arg(idx);#endif}if(mode == QAudio::AudioOutput) {...
#!/usr/bin/env python3 from sys import argv from pathlib import Path def build_quadlet(elems): return (int(elems[0]) << 24) | \ (int(elems[1]) << 16) | \ (int(elems[2]) << 8) | \ (int(elems[3]) << 0) if len(argv) < 2: print('At least one argument is require...
dma_mmap_coherent(substream->pcm->card->dev, vma, runtime->dma_area, runtime->dma_addr, runtime->dma_bytes);return0; } 开发者ID:98416,项目名称:Z7Max_NX505J_H129_kernel,代码行数:15,代码来源:msm7k-pcm.c 示例6: msm_pcm_capture_prepare ...
alsa_jittermax = ALSA_DEFJITTERMAX;if(sys_verbose) post("audio buffer set to %d", (int)(0.001* sys_schedadvance));for(iodev =0; iodev < naudioindev; iodev++) { alsa_numbertoname(audioindev[iodev], devname,512); err =snd_pcm_open(&alsa_indev[alsa_nindev].a_handle, devname...
ret = snd_soc_init_card(socdev);if(ret <0) { dev_err(codec->dev,"failed to register card: %d\n", ret);gotocard_err; }returnret; card_err: snd_soc_free_pcms(socdev); snd_soc_dapm_free(socdev); pcm_err:returnret; }
示例1: an_configure_capture_card ▲点赞 9▼ //...这里部分代码省略...// Set the cropping, ignore any errorscropcap.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;if(ioctl(m_i_fd, VIDIOC_CROPCAP, &cropcap)==0) { crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; crop.c = cropcap...