alsa Questions
3
Solved
I have a ubuntu install with pulseaudio default installed. When pulseaudio is running this works:
aplay -D hw:2,7 /usr/share/xbmc/sounds/Bursting\ Bubbles/nav.wav
But when no pulseaudio daemon is ...
Resurrection asked 24/8, 2011 at 22:40
1
Solved
I have a custom layer in project. This gets shared with colleagues.
My distro (poky) it uses a older version of alsa. This gets downloaded on initial setup of the build area. I would like to 'rep...
3
While building my Android source code I get this error
cannot find alsa/asoundlib.h
I have already installed libasound2-dev. asoundlib.h is present in usr/include/alsa/ folder
but still the bu...
2
I am using ALSA API snd_pcm_drop() to clear the buffers. But when I continue audio later with snd_pcm_prepare(), I can hear part of previous audio which was supposed to be cleared.
This happens whe...
1
Summary of what I am trying to achieve:
I'm currently doing some work on a Discord bot. I'm trying to join a voice channel, which is the easy part, and then use the combined audio of the speakers i...
Impish asked 5/9, 2018 at 8:54
1
Solved
When adding host device (--device /dev/snd) to a Docker container, I sometimes encounter Device or resource busy errors.
Example
I have reproduced the issue with a minimal example involving audio...
3
Solved
I'm running Ubuntu 12.04 studio on a HP Pavilion dm1 4200sg netbook. It's pretty much a fresh install. I try to start jackd server by running
jackd -R -d alsa
and it fails with output:
JACK se...
0
I am trying out a solution to an accepted question that demonstrates how to create a beep with PyAudio. Strangely I see quite a lot of errors. Unfortunately I've never sent any audio data programat...
Shaftesbury asked 3/5, 2018 at 19:18
4
1
I would like to modify Android OS (official image from AOSP) to add preprocessing to a normal phone call playback sound.
I've already achieved this filtering for app audio playback (by modifying HA...
Anaclitic asked 15/2, 2017 at 13:52
5
I use ALSA. I want to prevent PC to suspend while a sound is played. I use this bash code to run a screen locker and a suspend command:
# Run a screen locker.
#xautolock -time 5 -locker slimlock &...
2
Solved
How can I get the current audio input level of a microphone via a shell command under Ubuntu 12.04 LTS?
I checked out amixer to set the volume but could not find a way to get the audio input level...
2
Solved
Here is the minimal C program to reproduce:
#include <alsa/asoundlib.h>
#include <sys/time.h>
int main( void )
{
}
This will compile with gcc -c -o timealsa.o timealsa.c, but if you...
Uncivil asked 19/9, 2015 at 19:28
1
My sound card is Audigy SE [SB0570].
I want to play the same stereo stream not only on speakers but on headphones too, simultaneously.
I try this config on my empty ~/.asoundrc
pcm.quad {
type ...
1
I'm attempting to use AudioRecord with AudioSource.VOICE_DOWNLINK on Nexus 5X, Android 7.1 (my own build from AOSP).
I'm already past the permissions stage - moved my APK to privileged apps, made ...
Centrifugal asked 6/5, 2017 at 9:15
1
Solved
There are several "hi-res" timestamping functions in ALSA:
snd_pcm_status_get_trigger_htstamp
snd_pcm_status_get_audio_htstamp
snd_pcm_status_get_driver_htstamp
snd_pcm_status_get_htstamp
I woul...
3
Solved
This doesn't seem to work at all:
cat /dev/urandom > /dev/dsp #from wikipedia.org
Is it because of pulseaudio? or I need to do some settings?
Chirp asked 24/6, 2011 at 9:1
2
I've made custom distribution using buildroot, with hard-flow for ARMv7 processor.
Everything is working except....
# arecord -D hw:0,0 -fdat -d 5 test.wav
This makes multiple files. Thousands ...
Excise asked 8/7, 2014 at 10:51
6
Solved
How do you programmatically change volume in Gnome on Ubuntu, either from the command line or an API (Python preferrably)?
The only answers I found to similar questions use amixer, which seems to ...
4
So I'm trying to make my linux server play music sent from my Android phone using bluetooth (the linux machine is the A2DP sink and the phone is the source).
What I have done so far is to:
instal...
1
Solved
I'm trying to dockerize a text to speech application for sharing the code with other developers, however the issue I am having right now is the docker container cannot find the sound card on my hos...
2
I have two different streams of PCM samples. Is it possible to somehow mix them and play with ALSA on the same output device?
I read it may be possible using the mixer but I'm finding it difficult...
1
1
Solved
I purchased a the "Sound Blaster Play! 2" soundcard for my raspberry pi 3. The OS is raspbian jessie.
The audio on my raspberry pi works when I run
$ aplay /usr/share/sounds/alsa/Front_Center.w...
Muslin asked 17/9, 2016 at 22:59
3
Solved
I'm currently working on a project that requires me to do some sampling with Alsa. I'm trying to configure correctly everything but I'm stuck on how to correctly size my reading.
There are two pri...
© 2022 - 2024 — McMap. All rights reserved.