alsa Questions

2

I am in need of simple audio recording and playing example using AudioRecorder in android. I tried with MediaRecorder, it works fine.
Accomplished asked 27/5, 2011 at 9:55

1

Solved

Does anyone have experience (using OpenSL ES, ALSA, etc.) with redirecting audio or creating new sound paths in Android? The end goal is to create a virtual microphone to replace the external micro...
Staging asked 9/1, 2014 at 15:51

1

I9505 runs on APQ8064T and the way how the HAL layer set up the in-call voice recording audio path on the chipset has changed compared to the previous generation MSM8960. Now, in addition to set co...
Relief asked 2/6, 2013 at 14:54

1

Solved

I am working on an ALSA capture routine on a quad core debian box and I am baffled. Basic ALSA capture, hw:0 interface, 16 bits, 44.1 KHz, using a blocking thread with poll(), controlled by snd_pc...
Nakano asked 24/12, 2013 at 22:11

4

is there an example of a full-duplex ALSA connection in C? I've read that it is supported, but all the introductory examples I saw did either record or play a sound sample, but I'd like to have one...
Anzac asked 2/3, 2011 at 22:25

1

Solved

I need to create virtual loopback alsa sinks in my ubuntu setup. I can create one by adding the following to /etc/modprobe.d/sound.conf alias snd-card-0 snd-aloop options snd-aloop index=21 ...
Underthecounter asked 19/8, 2013 at 18:58

1

Some months ago, with Android ICS (4.0), I developed an android kernel module which intercepted the "pcmC0D0p"-module to fetch all system audio. My target is to stream ALL audio (or at least the p...
Schmeltzer asked 27/12, 2012 at 13:9

1

Solved

I have audio conferencing device which has a mic and speaker. Both mic and speaker having same sampling rate set by snd_pcm_hw_params_set_rate_near() say 8000 Hz. Do I need to set period size and n...
Mandeville asked 5/4, 2013 at 13:53

1

Solved

I've been investigating on this topic specific to MSM8960 for some time. I looked into the ALSA hardware module from google. Michael's answer in the post did mention that MSM8960 supported the in-c...
Metathesis asked 4/3, 2013 at 15:3

2

Solved

Im attempting to use ALSA to take the input from a USB audio device and write it out to disk as a series of signed short values. What I'm ending up with are blocks of what appear to be valid data i...
Tamica asked 7/2, 2013 at 22:18

2

Solved

I am playing a single channel audio in non-interleaved mode. I am getting underrun when I am writing audio data into speaker : ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred Here is how I...
Nebo asked 30/1, 2013 at 10:24

2

I'm working on an educative multiseat project where we need to connect 36 keyboards and 36 USB sound cards to a single computer. We're running Ubuntu Linux 12.04 with the 3.6.3-030603-generic...
Turnover asked 7/1, 2013 at 18:8

1

Is there a good recipe to get decent, reliable digital sampled sound playback in Java? My list of requests is pretty short: Load digitized samples in memory (for example, from resouces bundled i...
Sadomasochism asked 23/12, 2012 at 1:5

3

Using Ubuntu 10.04 64 bits for Android development and everything goes well except sound. I've using -audio option and -audio-out one with alsa as backend parameter, but without luck. ¿Any idea? ...
Uninhibited asked 11/9, 2010 at 6:20

2

I'm trying to record data from my microphone and then play it back through the speakers in real time, and with some delays, but I'm having some problems with it. I chose to use python and alsaaudio...
Laise asked 18/8, 2011 at 5:13

1

I've got a problem where I need to "simulate" microphone output. Data will be coming over the network, decoded into PCM and basically needs to be written into the mic - which then other programs ...
Charmaincharmaine asked 2/1, 2011 at 23:0

2

Solved

I've developed a small application that records sound using ALSA driver on an embedded system. Now I have a problem selecting the device that I want to record from MIC/Line IN . The application is ...
Delbert asked 10/5, 2012 at 14:15

1

Solved

Is there a way to get a list of available sound cards on the system programmatically using asoundlib and C? I want it with the same information as /proc/asound/cards.
Dorren asked 2/9, 2011 at 20:14

1

Solved

in Android it's currently impossible to record system-audio with the Android-SDK. Therefore I played around a bit with TinyALSA (since Android 4) and hope I can reroute the audio-out so I can reco...
Berkeleianism asked 24/5, 2012 at 7:42

1

Solved

I have a sound card with multiple outputs and use ALSA to map them to 2 separate stereo channels. The configuration works fine and allows me, for example with speaker-test to play audio on them. I...
Desiraedesire asked 21/2, 2012 at 17:13

1

I am writing a program under Linux that utilizes both playback and record using ALSA (connected to a custom device). I would like to use the asynchronous callback architecture for both reading and ...
Calix asked 28/2, 2012 at 22:41

4

Has anyone built OpenAL for the Android, or found the shared library for it on the system? This seems like an obvious need for a game of any kind, yet there's no resources out there for it. It seem...
Miscue asked 6/4, 2010 at 18:25

1

I want to record short audio clips from a USB microphone in Python. I have tried pyaudio, which seemed to fail communicating with ALSA, and alsaaudio, the code example of which produces an unreadab...
Expiration asked 29/7, 2011 at 1:22

1

Solved

I've been looking for a simple C code example to set the master volume of the ALSA mixer but could not find anything simple for this supposedly common operation. I'm totally unfamiliar with ALSA, ...
Savill asked 22/7, 2011 at 8:18

0

I have just started working on android and I am trying to understand how android audio sub-system (alsa) works. I am running an android image in virtual-box running on windows-7 (64 bit). I was fid...
Priming asked 5/5, 2011 at 8:13

© 2022 - 2024 — McMap. All rights reserved.