[Embedded Streaming Media Development] Linux ALSA sound card data acquisition and playback

ALSA framework ALSA is the abbreviation of Advanced Linux Sound Architecture, that is, Advanced Linux Sound Architecture. It provides support for audio and MIDI (music instrument digital interface) on Linux operating system. In Linux 2 After version 6 kernel, ALSA has become the default sound subsystem to replace OSS (Open Sound System) in ...

Added by chintupintu03 on Sat, 05 Feb 2022 07:30:33 +0200

linux thread init

linux thread init (note) The code of this article comes from the linux kernel version: 4.1.15 (Xiaosheng's articles will be based on this version unless otherwise specified) The source file of this code starts with (/), which represents the installation directory of linux kernel. (unless otherwise specified in Xiaosheng's articles, there ...

Added by steeveherris on Sat, 05 Feb 2022 06:29:29 +0200

Build FISCO bcos 2.8.0 blockchain system for Ubuntu 20.04

0. Summary This paper describes the installation process in detail according to the official documents of FISCO bcos and Webase. For some unclear places in the official documents, it has been supplemented to facilitate novice construction. 1. Preparation 1.1 system: Ubuntu 20.04.3 Desktop / Server Fisco-BCOS 2.8.0 1.2 virtual machine confi ...

Added by Kurrel on Fri, 04 Feb 2022 09:32:47 +0200

[operating system] MIT 6 s081 LAB6

Lab6: Copy-on-Write Fork for xv6 Original address: YSBLOG reference material: MIT 6. S081 xv6 LaB6 cow - Zhihu (zhihu.com) Experimental background: In the original xv6, when Shell processes instructions, it will create a child process through fork, which contains a complete Shell copy, calling exec to execute the corresponding instruction pr ...

Added by one on Fri, 04 Feb 2022 09:03:19 +0200

[2022ROS melodic version installation trial and error]

This chapter records the installation of ROS system: We can learn more about the current mainstream robot framework platform ROS from the videos or books explained by ROS (it is not a real operating system, but a set of environment framework similar to various virtual machines or dockers running on the host. Its main function is to correlate a ...

Added by gterre on Fri, 04 Feb 2022 06:32:30 +0200

Linux network protocol stack 8--vxlan

This paper records the receiving and contracting processing of vxlan interface kernel. VXLAN(Virtual Extensible LAN) is a network virtualization technology, a large two-layer tunnel technology, which encapsulates the two-layer package in UDP to build a virtual two-layer network. The configuration and application scenarios of vxlan of equipment ...

Added by realmxofxnoise on Fri, 04 Feb 2022 05:54:58 +0200

Signal capture trap tool in shell

Signal capture trap, which captures a specified signal and executes predefined commands. For example, pressing Ctrl+C will terminate the execution of the script. In fact, the system sends a SIGINT signal to the script process. The default way to process the SIGINT signal is to exit the program. If you want to not quit the program at Ctrl ...

Added by Crys on Thu, 03 Feb 2022 20:57:17 +0200

Linux multithreaded programming

Create and end threads pthread_create #include <pthread.h> /* Create a new thread, starting with execution of START-ROUTINE getting passed ARG. Creation attributed come from ATTR. The new handle is stored in *NEWTHREAD. */ extern int pthread_create (pthread_t *__restrict __newthread, const pthread_attr_t *__restrict __at ...

Added by benreisner on Thu, 03 Feb 2022 20:09:46 +0200

Kubernetes learning notes 3: NameSpace and Pod management

0.kubectl use vim /etc/profile enters the configuration file and defines alias = original command operation source /etc/profile makes the configuration file effective Complete tool 1.NameSpace management (1) View all namespaces kubectl get namespaces (2) Create a new namespace kubectl create namespace test20220130 (3) View kubeconfig ...

Added by armyguydave69 on Thu, 03 Feb 2022 17:33:12 +0200

Zabbix + distributed database TiDB realizes distributed database monitoring

1, Introduction to Tidb 1. What is TiDB TiDB is an open-source distributed relational database independently designed and developed by PingCAP company. It is an integrated distributed database product that supports both online transaction processing and online analytical processing (HTAP). It has horizontal expansion or reduction, financi ...

Added by Solemn on Thu, 03 Feb 2022 16:39:35 +0200