KimJeongYeon
4a94e12986
jack2 supports android devices & rebase current changes to master
11 years ago
Nedko Arnaudov
b3394f4dce
Improve computation of the alsa control device name
We recommend using symbolic names like hw:Live but when subdevices are used
regcomp() was failing to parse them. This changeset improves the algorithm
by using less assumptions.
12 years ago
Nedko Arnaudov
6afe197889
Fixes for alsa device reservation
* Don't attempt to use device reservation when card_to_num() mapping
has failed. In case of card_to_num() failures, "Audio-1" device
was reserved on start but not released on stop. This was causing
next start to fail with out of memory error, and since previous
commit, with "A handler is already registered for
/org/freedesktop/ReserveDevice1/Audio-1" error.
* In case of playback device reservation failure, release the
capture device
* Remove unused fReservedCaptureDevice and fReservedPlaybackDevice
data members of the JackAlsaDriver class
12 years ago
Stephane Letz
57e5daac1f
Fix ALSA driver inchannels/outchannels types.
12 years ago
Nedko Arnaudov
7c6d11160f
Use string ids in the alsa device list
We recommend this at http://jackaudio.org/device_naming
fixes #18
12 years ago
Stephane Letz
cb88917543
alsa driver/adapter improvements to flexibly use playback/capture devices through dbus calls patch.
13 years ago
Stephane Letz
a7892e81ca
Alsa audioadapter open file-descriptor leak patch.
13 years ago
Nedko Arnaudov
3b12bcf186
fix alsa driver parameter order
Parameter order doesnt matter for jackd but does for jackdbus. jackd
sets parameters (via Control API) in the order they were specified at
commandline. Thus, the jackd user is expected to specify parameters in
correct order. This is not good solution for jackdbus though. jackdbus
settings persistence in ~/.config/jack/jack.xml stores parameter in
the order they are defined by the driver. OTOH the D-Bus interface
itself suggests no particular order. For example the user can change
only one parameter via the jack_control tool. Other parameters either
have their default values or the ones that were previously set are
used.
The particular ordering problem this changeset aims to fix is that when
user specifies capture/playback device and device, the first one(s)
is/are ignored. This happens because the device parameter is set after
the capture/playback device parameters. The alsa then uses the string
from the device parameter for both capture and playback devices,
despite the user wish to override one or both of them.
13 years ago
sletz
022e551350
Cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4608 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
7747eb808d
Some missing snprintf.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4595 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
b70bef511b
Cleanup code using snprintf(2).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4587 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
00b166e731
Cleanup code using snprintf.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4586 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
Stephane Letz
734e450924
NetJack2 code cleanup.
13 years ago
sletz
08edac7982
Add jackctl_driver_get_type in Control API.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4529 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
81466b50ce
Some more EXPORT related fixes.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4493 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
48fe42f14e
Typo.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4396 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
90494cc885
Correct rd_acquire.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4395 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
nedko
08876bd6eb
fix compile warnings
gcc (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4363 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
4e63b533b0
jack1 r4357 pushed in jack2.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4362 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Stephane Letz
80bc23a3af
Should compile on Linux.
14 years ago
sletz
6d7823290f
Deactivate transport in netjack2.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4361 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Stephane Letz
07d2c64f39
Use of PortRegister/PortUnRegister in drivers.
14 years ago
Nedko Arnaudov
55557d1f74
Port registration notifications on SwitchMaster
14 years ago
Nedko Arnaudov
a9e4628340
helper functions for jack_driver_desc_t construction
The main goal is to reduce risk of mismatch between allocated
and initialized parameter numbers.
14 years ago
sletz
b14943bb1a
Fix alsa_driver_check_card_type.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4346 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
ecb84b5f9f
rebase from trunk 4238:4306
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4307 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
92bb6df214
Remove warnings.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4273 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
3ea1d70b0c
Netdriver can now ask for in/out values from the master (in progress).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4253 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
4bfaf8822a
Cleanup JackThreadedDriver::Stop.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4244 0c269be4-1314-0410-8aa9-9f06e86f4224
14 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
Stephane Letz
51e07561ad
Correct JackAlsaDriver::UpdateLatencies.
14 years ago
Stephane Letz
cf98c33ef8
Correct SetBufferSize for drivers.
14 years ago
sletz
641179517f
Correct alsa_driver_restart (thanks Devin Anderson).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4222 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
f8d78dc7d0
Fix CELT code in JackNetOneDriver.cpp.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4218 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Devin Anderson
db132e1974
Update server control API with jackctl_server_open and jackctl_server_close (see http://trac.jackaudio.org/ticket/219 for rationale). Update drivers to support Start/Stop of slave drivers. Update dbus to use new jackctl_server_* functions. Freewheel driver is no longer an implicit slave of the master audio driver. Haven't tested freewheeling, and didn't update Solaris OSS driver. Tested slave addition by adding loopback driver, but don't have a slave driver in this branch on Linux platform to test with.
14 years ago
sletz
ccdfe51346
Cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4212 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
e97dcccfa8
Cleanup ALSA driver.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4211 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
b8d0230de8
Cleanup ALSA driver code.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4209 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
137e4867bb
Remove use of jack_driver_nt_finish.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4208 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
2869ca7014
Cleanup.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4207 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
3f9a3d85f8
ALSA driver still in progress.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4206 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
ee393311bf
New ALSA driver now compile.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4205 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
a12d18becd
Code to link alsa_driver.c and C++ wrapper.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4204 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
b8cf0778a4
Update ALSA driver in progress(5).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4203 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
14e2f368cc
Update ALSA driver in progress(4).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4202 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
1abff2cbe0
Update ALSA driver in progress(3).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4201 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
608ba9885e
Update ALSA driver in progress(2).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4200 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
f5672fc3ad
Update ALSA driver in progress.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4199 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
3c08dbac73
Change include in JackAlsaAdapter.cpp.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4189 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
acba6ceca7
Typo in JackAlsaAdapter.h.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4187 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago