[Audio and Video | ALSA] Developing ALSA application layer program based on alsa-lib – with source code

Blog homepage:https://blog.csdn.net/wkd_007 Blog content:Embedded development, Linux, C language, C++, data structure, audio Video Content of this article:Developing ALSA application layer program based on alsa-lib Sharing golden verses:When Gaishi people study, they must first be ambitious, and secondly they must be knowledgeable. , The third thing is to have perseverance. If you have ambition, you will […]

Android solves recording and playback audio issues through tinyalsa debugging

When developing audio on Android devices, we may encounter various problems. One of them is that the recording volume is too low. In this article, I’ll explore how to diagnose and fix this problem, and briefly introduce the use of the tinyalsa tool. Problem description Recently, I am using the Allwinner Android platform. A customer […]

Linux audio processing: MP3 decoding, PCM, PCM playback, ALSA (Advanced Linux Sound Architecture), MPEG (Moving Picture Experts Group)

MP3 decoding: The process of converting the digital audio data in an MP3 audio file into an audio signal that can be played or processed. MP3 (MPEG-1 Audio Layer 3) is a common audio compression format used to compress audio files to a smaller file size while maintaining relatively high sound quality. Here are the […]

2023-08-30 buildroot compilation multiple definition of `xxxx; bluealsa.o:(.bss+0x0): first defined here

1. The following error is encountered when compiling buildroot multiple definition of `xxxx’; bluealsa.o:(.bss + 0x0): first defined here 2. C++ “multiple definition of .. first defined here” In C++, sometimes it is necessary to define the same variable in different files. If this type of variable is not handled properly, even though const has […]

alsa recording data into DB value algorithm

#include “tcp.h” #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <unistd.h> #include <pthread.h> #include <math.h> #include “sys/stat.h” #include “fcntl.h” #include “sys/ioctl.h” #include “signal.h” #include “sys/select.h” #include “poll.h” void thread_func(void *s) {<!– –> long loops; int rc; int size; snd_pcm_t *handle; snd_pcm_hw_params_t *params; unsigned int val; int dir; snd_pcm_uframes_t […]

Rockchip RK3399 – PCM device for ALSA sound card

————————————————– ————————————————– ———————— Development board: NanoPC-T4 development board eMMC: 16GBLPDDR3: 4GB Display: 15.6 inches HDMI interface display u-boot: 2023.04linux: 6.3———————- ————————————————– ————————————————– —- We have actually introduced PCM in Rockchip RK3399 – ALC5651 & amp; I2S Basics, it is an audio coding format, more precisely a technology that converts sound from analog to digital. The […]

Rockchip RK3399 – ALSA Subsystem

————————————————– ————————————————– ———————— Development board: NanoPC-T4 development board eMMC: 16GBLPDDR3: 4GB Display: 15.6 inches HDMI interface display u-boot: 2023.04linux: 6.3———————- ————————————————– ————————————————– —- In the previous blog, we have introduced the content of the RK3399 I2S/PCM controller, and also introduced some content about the sound card chip ALC5651. In this section, we will formally introduce […]

[C++] Open source: Linux-side ALSA audio processing library

,°:.☆( ̄▽ ̄)/$:.° This article mainly introduces the ALSA audio processing library on the Linux side. You can’t succeed without specialization, and you can’t pass without dabbling. . –Liang Qichao Welcome to my blog, let’s learn together and make progress together. Friends who like it can pay attention, the next update will not get lost Article directory […]

Dalsa line scan camera SDK secondary development

#include <iostream> #include”SapClassBasic.h” #include <SapBuffer.h> #include <conio.h> #include <string> #include <vector> #include <io.h> #include <opencv2/opencv.hpp> #include <stdio.h> #include <QImage> using namespace std; SapManager* m_pManager; SapAcquisition* m_Acquisition; SapBufferWithTrash* m_Buffers; SapTransfer* m_Xfer; SapView* m_View; SapAcqDevice *m_AcqDevice; static void XferCallBack(SapXferCallbackInfo* pInfo) { m_View->Show(); } bool initDevice(char* m_serverName, const char*ccfpath) { SapLocation loc(m_serverName, 0);//Initialize the capture card m_Acquisition = […]