Questions tagged [alsa]

ALSA stands for Advanced Linux Sound Architecture and is a kernel component that supports sound in Linux systems.

ALSA stands for Advanced Linux Sound Architecture and is a kernel component that supports sound in Linux systems. In the 2.6 version of the Linux kernel, ALSA replaced OSS (Open Sound System).

According to the project's website, ALSA does the following key features:

  • Efficient support for all types of audio interfaces, from consumer sound cards to professional multichannel audio interfaces.
  • Fully modularized sound drivers.
  • SMP and thread-safe design.
  • User space library (alsa-lib) to simplify application programming and provide higher level functionality.
  • Support for the older Open Sound System (OSS) API, providing binary compatibility for most OSS programs.

Independent ALSA and linux audio support site with info on audio hardware and drivers

1077 questions
-1
votes
1 answer

Alsa: how to redirect input to output in .asoundrc?

I have two usb sound cards. The first one is for the playback and the second one is for audio stream capture. I was able to redirect the streams with ecasound: ecasound -B:rtlowlatency -b:256 -f:s32_le,2,48000 -i:alsahw,1,0 -o:alsahw,0,0 But it…
Dmitry Misharov
  • 101
  • 2
  • 10
-1
votes
1 answer

Alsa configuration on Raspbian

I am trying to configure the Alsa Sound to Raspbian. I ran all the commands but when I tried "speaker-test" I got the following error: root@raspberrypi://home/pi# speaker-test speaker-test 1.0.28 Playback device is default Stream parameters are…
-1
votes
1 answer

Fix microphone volume for a user

I need to fix the microphone volume for any user in Ubuntu 16. What I want is to fix the volume, say, to %40, and keep it at that value for all times. It must be changed by no user except root. How can I do such a config? And with what tool? Thanks.
recap2000
  • 3
  • 3
-1
votes
1 answer

Debian Audio Issues, includes Alsa, PulseAudio, and QJackCtl

I have a very unique issue, and I have absolutely no idea what is going on. I got a new computer, using Debian, that my dad made using spare parts. It worked just fine, until about a month after I got it, when I decided I should start adding audio…
-1
votes
1 answer

alsa tool arecord not recognizing plughw:1,0 on Arch Linux

Edit: All of this was probably caused by a terribly configured microphone (or a faulty one, I changed laptops and now use Ubuntu instead of Arch Linux, so I actually don't have any idea). To record to a wav file, all I do now is run: arecord -d…
Jonathan Precise
  • 327
  • 3
  • 12
-1
votes
1 answer

Archlinux Skype problems with build-in microphone

So. My problems with next: I use pulseaudio as a sound server. I check my mic settings by arecord. All ok, but in Skype mic not working. Only silence. But when I tested it with Skype service and look at pavucontrol I saw that mic worked. Please,…
Dmitry
  • 58
  • 6
-1
votes
1 answer

strdup each line into the char ** (array)

I wont to strdup each line into the char **result. I did the following: static char **alsa_get_device(void) { int o; char **result; o = 0; for (elem = snd_mixer_first_elem(handle); elem; elem = snd_mixer_elem_next(elem)) { …
user1840007
  • 615
  • 1
  • 10
  • 19
-2
votes
1 answer

Alsa tools not found on buildroot

I am trying to set a buildroot install to build an mp3 player and the issue I am encountering right now is that aplay that I have enabled in menuconfig is not available on my card flashed. I am using buildroot-2020.02.8. When looking for them in my…
Sylvain
  • 318
  • 2
  • 10
-2
votes
1 answer

The number of send data every second less than params, How to send more data every second?

this funtion is to play audio data use alsa libs in linux.but have a question,the send data is less than set params. int main() { int rc = 0; snd_pcm_t *handle; snd_pcm_hw_params_t *params; int dir = 0; char…
yanlm
  • 1
-2
votes
1 answer

FATAL_ERROR: "continuous.c", line 246: Failed to open audio device

I am looking for a solution for pocketsphinx for a long time. I tried everything apt-get remove pulseaudio -y aptitude purge pulseaudio -y apt-get install bison -y cd /usr/install tar -xvf sphinxbase-0.8.tar.gz cd…
-2
votes
1 answer

Memory resource ( strdup )

I call strdup to duplicate the 'card' string in set_device( devname ) set_device( devname ) and then I use 'card' to open mixer: devname is in format hw:0/Mic static char *card, *channel; static snd_mixer_t *handle = NULL; static snd_mixer_elem_t…
user1840007
  • 615
  • 1
  • 10
  • 19
-2
votes
1 answer

How to change audio volume of a particular application in Linux

I wanted to adjust volume of a particular application(Not the entire system volume) in Linux using my c code. Please suggest how can we do this in Linux.
Ashish Mittal
  • 643
  • 3
  • 12
  • 32
1 2 3
71
72