Questions tagged [libalsa]

The ALSA (Advanced Linux Sound Architecture) library

The ALSA (Advanced Linux Sound Architecture) library

http://www.alsa-project.org/main/index.php/Main_Page

68 questions
0
votes
1 answer

need to retry to open alsa for it to work

I can run aplay with no problem, and play a wav test file. In my application, the call to snd_pcm_open gives the following error: ALSA lib conf.c:3357:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so ALSA lib…
cauchi
  • 1,463
  • 2
  • 17
  • 45
0
votes
0 answers

How to get instantaneous volume or played-time with ALSA in Linux

I'm writing a "play sound" program on Reapberry Pi with ALSA. I called snd_pcm_writei every 1280 samples. I wish to add a small LED, and let it "lighter while the sound is louder, and darker while the sound is quieter." My plane is, if there's a…
仕勛陳
  • 1
  • 1
0
votes
1 answer

Alsa library configuration

I am using Alsa library to find Maximum value of Sound samples from stereo output.i am using S32_LE pcm Format. From my python code , i can able to acheive max values instantaneously. But from C Alsa Lib ,instant values are not able to get. Please…
raj
  • 53
  • 1
  • 7
0
votes
1 answer

Alsa Lib Hardware Parameters setting

I'm trying to record sound on my linux (debian) embedded device with alsa library. My embedded hardware is this [1], and according to its datasheet page 33 [2], Analog audio signals are featured by the on-SOM TLV320AIC3106 audio codec. and the…
Black Glix
  • 689
  • 2
  • 11
  • 26
0
votes
1 answer

can't configure hardware parameters on ALSA raspberry pi c appliction

I trying to write ALSA application for recording audio, and when I try to set some parameters and then print them to the screen I getting some default numbers that i cant change #include using namespace std; typedef struct { …
LichKing
  • 256
  • 1
  • 2
  • 15
0
votes
1 answer

How to get time events from an ALSA MIDI queue without polling?

The ALSA MIDI sequencer API defines snd_seq_queue_status_get_tick_time, which allows to get a current tempo based time of a running MIDI queue. I could periodically poll this information, but feel it would be cleaner to receive time events from the…
Hibou57
  • 6,870
  • 6
  • 52
  • 56
0
votes
1 answer

Capturing sound by ALSA

I am trying to capture the sound from sound card by ALSA in linux systems. Its read the data from the vector in PCM format. I need a way to find out the right way to capturing and save it to in the file and play to check the recevied data is correct…
JACOB DEEPAK
  • 21
  • 1
  • 11
-1
votes
1 answer

How to install lib32-alsa-plugins-1.2.2-1-x86_64.pkg.tar.zst

I downloaded file from https://archlinux.org/packages/multilib/x86_64/lib32-alsa-plugins/ How command i need to use that installing this package?
Gelloiss
  • 135
  • 7
1 2 3 4
5