Hello ALSA-user list!
I am trying to read on an ALSA-device with a simple example program I
found here:
https://gist.github.com/albanpeignier/104902
It just sets up the audio interface and then records audio samples in a
loop. That's it already. I enhanced it a little in order to measure some
iod size (Unknown error -22),
error-code: -22". Here is how I call it:
>>>>>>>>>>>>>>>>>>>>>>
val = 96;
dir = 0;
err = snd_pcm_hw_params_set_period_size(*pcm_handle, hwparams, val, dir);
if( err != 0 ) {
printf("%s:%u erro
Hi alsa-users!
I have a software written in C, that's been running for quite some time
(about 5 years) on a x86-machine(actually, it's a PC Engines ALIX-Board
with a Debian Linux running on it). It is using ALSA for reading from a
soundcard, transmitting it via network to another node running
Hello alsa-list,
hello mplayer-list!
These are the options I need in order to make it all run on my AT91SAM9260:
ALSA-lib:
:~/downloads/alsa-lib-1.0.24.1$ export LDFLAGS=""
:~/downloads/alsa-lib-1.0.24.1$ export CFLAGS=""
:~/downloads/alsa-lib-1.0.24.1$ export LIBS="-lm"
:~/downloads/alsa-lib-1.
Hello alsa-users,
hello mplayer-users!
Recently, I tried to compile MPlayer 1.0rc4-4.3.5 for ARM AT91-SAM9260.
# uname
-a
Linux testsystem 2.6.33.7 #1 PREEMPT Wed Mar 30 13:33:39
Hello alsa-users!
I found out, how to get to know the device names. It can be done by
parsing the output of alsactl store. Every device, that is capable of
output, has got a negative or 0-value of dbmax.
Best regards,
Dennis
Dennis Borgmann schrieb:
> Hello alsa-users!
>
> I woul
Hello alsa-users!
I would like to extract the info, which device is for playback on a
sound device. For example, I have a headset, which gives back this info:
:~# amixer -c 0 scontrols
Simple mixer control 'Mic',0
Simple mixer control 'Auto Gain Control',0
Simple mixer control 'Speaker',0
and fo
Hello alsa-users list!
I am using the alsa-lib in one of my projects and within this project,
there is a call for snd_pcm_wait() on a machine, that plays sound. The
call itself looks like this:
snd_pcm_wait( pcm_handle, 1000 );
A few steps before, I had the timeout set to unlimited (-1), which
s
Hi list!
I just compiled the new alsa-driver, since I had no capture option with
a Behringer UCA202 USB-card, which contains a PCM2902 from TI using alsa
in version 1.0.20. Now, I recompiled the following packages:
alsa-driver-1.0.21
alsa-lib-1.0.21a
alsa-utils-1.0.21
alsa-firmware-1.0.20
alsa-
eems to be the reason for my crappy
sound.
Is there anyone among the RT-list or the ALSA-list who has a slight
idea, what my problem might be related to and how I can get rid of it?
Very kind regards,
Dennis Borgmann
--
Hello list-users!
I am programming some network-transmitting soundserver and client - I'm
tyring to get some soundstreaming via network done. Everything works
fine, the load of the driver ringbuffer seems to be OK so far (at least
400 frames in the buffer at any point of time, I am taking care of
Hello Alsa-Users - list!
I just wonder, how it is possible, that i get an EPIPE (underrun) on a
nonblocking card while issueing writei().
If I issue a snd_pcm_avail() less than 40us before, it shows no
underrun, but instead about 600 frames available in the driver, which
would take about 10ms to p
write it.
Where is a good source for documentation? I do NOT want to read the
whole sourcecode of the alsa-lib...
Very kind regards with sunny greetings from Germany
Dennis
Jaroslav Kysela schrieb:
> On Wed, 3 Jun 2009, Dennis Borgmann wrote:
>
>> Hello list-users!
>>
>&
Hello list-users!
I am trying to set a software-parameter with this command:
snd_pcm_sw_params_set_start_threshold
This is working fine with a machine, that I got standing in my own flat.
But as soon as I use it with a PC from a friend, this parameter is not
applied (I can see this from time mea
Hello List-users!
I have been dealing with this for quite some time now and I cannot get
to the point.
I have a rather simple code of maybe 100 lines which just writes some
buffer to the soundcard using snd_pcm_writei(). Although the buffer is
just there within the program itself (no external sou
15 matches
Mail list logo