Xavier Mendez
2ea3a56d77
Convert between sample rates when necessary
9 years ago
KimJeongYeon
4a94e12986
jack2 supports android devices & rebase current changes to master
11 years ago
falkTX
24344009b7
Fix alsa_in/out for freewheel
11 years ago
elboulangero
0823366106
Fix xrun_recovery in ALSA clients.
According to the ALSA documentation, snd_pcm_readi() returns -ESTRPIPE
when a suspend event occured. But xrun_recovery() checks for -EAGAIN
instead.
If the ALSA client is connected to the ALSA loopback device, it leads to
an infinite loop in the client when the computer is resumed from sleep.
The client takes up to 99% of the CPU resources.
The problem is fixed by a proper error checking of snd_pcm_readi().
A word of caution however: on kernels prior to 3.8, it will trigger a
bug in the snd-aloop driver, and may lead to a kernel oops.
The kernel fix can be found there:
http://www.spinics.net/lists/stable-commits/msg23379.html
Signed-off-by: elboulangero <elboulangero@gmail.com>
12 years ago
Adrian Knoth
79581e1e62
Fix typo in alsa_in.c
Patch by colinf via
http://trac.jackaudio.org/attachment/ticket/227/typos.patch
12 years ago
sletz
7254ce1ebc
rebase from trunk 4180:4238
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4239 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
041a148eac
Fixes on Linux.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4188 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
a7e8377441
rebase from trunk 4083:4180
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4181 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
246b75a99b
Stop using alloca and allocate buffer on the heap for alsa_io.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4162 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
54ebab2cf2
rebase from trunk 3930:3966
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3967 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
8d904fe3ec
Apply srcfactor.diff patch for ticket #162 .
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3962 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
5f68a6557a
rebase from trunk 3813:3899
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3900 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
cad1589726
Mario Lang alsa_io time calculation overflow patch.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3858 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
6b765f0168
rebase from trunk 3684:3813
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3814 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
Torben Hohn
04e6a0088e
alsa_io tweaks
15 years ago
Torben Hohn
e3f55603c2
Pure Add: alsa_in.c alsa_out.c
15 years ago