Commit graph

4738 commits

Author SHA1 Message Date
Lennart Poettering
5b0683d6cd ladspa/remap: handle failing stream moves properly 2009-08-22 04:03:31 +02:00
Lennart Poettering
2595b9d985 add usergroup-test to .gitignore 2009-08-22 03:17:24 +02:00
Lennart Poettering
aa5429805f daemon: don't free script_commands twice 2009-08-22 03:16:47 +02:00
Ted Percival
17dc410e88 core: Remove wrong doc on how to free returned data 2009-08-22 01:08:39 +02:00
Finn Thain
601fb63b01 Solaris: fixed latency (resent)
Set a fixed latency based on the given buffer size, which is constrained to
the 128 KB limit on buffered writes. Also fix an error path.
2009-08-22 00:59:33 +02:00
Finn Thain
87d2dded9b Solaris: use smoother (resent)
Make use of the smoother, just in case.
2009-08-22 00:59:23 +02:00
Finn Thain
44c7aa55e2 Solaris: build fixes (resent)
Fix bit rot due to recent flat volume changes.
2009-08-22 00:59:16 +02:00
Finn Thain
b96390fc98 Solaris: bootstrap portability
On Fri, 21 Aug 2009, Colin Guthrie wrote:

>
> Just put an echo statement in there too. Should cover the bases for everyone.

Something like this?
2009-08-22 00:58:53 +02:00
Ted Percival
15eb03a5b3 core: Add thread-safe group info functions with dynamic buffers
Provides getgrgid, getgrnam, getpwuid & getpwnam replacements that are
thread safe (a la getgrgid_r() and friends) that internally
handle allocating big-enough buffers to avoid ERANGE errors
on large users or groups.
2009-08-22 00:53:39 +02:00
Lennart Poettering
9d1cc133f3 i18n: run make update-po 2009-08-22 00:09:16 +02:00
Lennart Poettering
aaf0d5ae35 Merge commit 'origin/master-tx' 2009-08-22 00:08:33 +02:00
Scott Reeves
de19bdd34e daemon: fix leak of script_commands 2009-08-21 23:59:39 +02:00
Lennart Poettering
066e160bbd udev: tell inotify to actually inform us about ACL changes 2009-08-21 23:24:40 +02:00
Lennart Poettering
2d0120485c udev: watch for both ACL changes and processes closing devices 2009-08-21 22:49:23 +02:00
Lennart Poettering
4ec701aa21 udev: don't access string after free() 2009-08-21 22:11:38 +02:00
Lennart Poettering
d06680afe8 udev: always verify access before loading modules 2009-08-21 22:06:23 +02:00
Lennart Poettering
14c27c7ade gconf: use correct path for gconf-helper tool when running from build tree 2009-08-21 22:05:27 +02:00
Lennart Poettering
9abc010c93 object: speed up type verification by not relying on strcmp()
Instead of using string contents for type identification use the address
of a constant string array. This should speed up type verifications a
little sind we only need to compare one machine word instead of a full
string. Also, this saves a few strings.

To make clear that types must be compared via address and not string
contents 'type_name' is now called 'type_id'.

This also simplifies the macros for declaring and defining public and
private subclasses.
2009-08-21 21:27:44 +02:00
igor
c5d78605fe Sending translation for Brazilian Portuguese 2009-08-21 14:27:24 +00:00
Lennart Poettering
5317e35543 udev: when a device appears that we cannot access right-away try again later on inotify 2009-08-21 14:55:05 +02:00
Lennart Poettering
fe9a577cf2 alsa: leave headphone jack enabled in normal mixer paths 2009-08-21 03:45:58 +02:00
Lennart Poettering
ac05619141 combine: quieten gcc a bit 2009-08-21 03:45:17 +02:00
Lennart Poettering
8a2a6b2004 adjust various data/library paths automatically if we are run from a build tree 2009-08-21 03:43:53 +02:00
Lennart Poettering
a562978509 ladspa: forward volume changes from ladspa sink to stream and hence via flat volume logic to master sink 2009-08-21 02:59:26 +02:00
Lennart Poettering
9f97b7cbe1 sink-input: add callbacks that are called whenever the mute/volume changes 2009-08-21 02:56:17 +02:00
Wim Taymans
6076cef209 remap: make the MMX code pretier 2009-08-20 20:00:50 +02:00
Wim Taymans
6e5dbed51e remap: add MMX mono to stereo 2009-08-20 19:46:06 +02:00
Wim Taymans
e961efc130 remap: init the do_remap function to NULL 2009-08-20 18:32:51 +02:00
Wim Taymans
28baa53d55 remap: allow specialisations to install NULL
Fallback to the default C implementation when the remap init function did not
set a function.
2009-08-20 18:29:02 +02:00
Wim Taymans
ac1f2e0a2e remap: move remapping code in separate file
Move the remapping code into a separate file. Have functions to install custom
init functions that can install optimized versions, when they want.
2009-08-20 18:23:42 +02:00
Wim Taymans
a3f4a4f6ba resamples; refactor the channel remapping bits
Move the channel remapping bits into a separate structure. We'll make this
structure global so that optimized versions can use it to perform the channel
remapping.
2009-08-20 17:54:45 +02:00
Wim Taymans
05fef5f551 sconv: allow for setting custom functions
Add methods to override the default conversion functions.
2009-08-20 15:50:02 +02:00
Wim Taymans
c1b6a87b27 alsa-sink: reduce the amount of smoother updates
Exponentially increase the amount of time between smoother updates. We start
with a 2ms interval and increase up to 200ms intervals.
Smoother updates and the resulting linear regression take a fair amount of CPU
so we want to reduce the amount of updates.
2009-08-20 13:40:27 +02:00
Wim Taymans
f8ffe0dabc svolume: cleanups
Use PA_MAX
Use pa_rtclock_now() for benchmarks
2009-08-20 12:30:48 +02:00
Wim Taymans
f09b51198f whitespace fixes 2009-08-20 11:31:04 +02:00
Wim Taymans
3cc1278dcf resampler: avoid some multiplies when we can 2009-08-20 11:31:04 +02:00
Wim Taymans
aeae567f88 svolume: add comment 2009-08-20 11:31:04 +02:00
Wim Taymans
8aa86f5247 arm: implement ARM cpu detection 2009-08-20 11:31:04 +02:00
Wim Taymans
078bde1b49 x86: keep the cpu flags local 2009-08-20 11:31:04 +02:00
Wim Taymans
370016c0e7 svolume: fix compilation in 32bits 2009-08-20 11:31:04 +02:00
Wim Taymans
d2389ef96e sample: manually inline table lookups
Manually inline some table lookups to avoid excessive calls to
pa_sample_spec_valid().
2009-08-20 11:31:04 +02:00
Wim Taymans
548b735ccf resampler: fix identity check
Fix the identity matrix check for mono to stereo.
Help the compiler generate better code for the C implementation of the channel
remapping code.
2009-08-20 11:31:04 +02:00
Wim Taymans
d04a6e935f resample: fix counters 2009-08-20 11:31:04 +02:00
Wim Taymans
b4e9942c2f resample: refactor the channel remapping a little
Factor out the channel remap matrix code into a separate function.
Keep a pointer to the channel remapping function so we can install custom
functions.
Catch the common mono->stereo remapping case and install a custom, more
optimized function.
2009-08-20 11:31:04 +02:00
Wim Taymans
bd49d43bd3 svolume: add CPU guards around code
Mark code that should only be compiled on x86 CPUs with proper defines.
2009-08-20 11:31:03 +02:00
Wim Taymans
951bf1b28d svolume: add ARM optimized volume scaling 2009-08-20 11:31:03 +02:00
Wim Taymans
a98fa950d2 svolume: remove unneeded compare
We don't need the compare because the sub operation already set the right flags
for us.
2009-08-20 11:31:03 +02:00
Wim Taymans
601e5f1867 resampler: cache integer channel_map
Calculate and cache an integer version of the channel map so that we don't have
to regenerate it when dealing with s16 samples.
2009-08-20 11:31:03 +02:00
Wim Taymans
25724cdd40 Get rid of liboil
Get rid of the liboil dependency and reimplement the liboil functions with an
equivalent C implementation. Note that most of these functions are deprecated in
liboil and that none of them had  any optimisations. We can further specialize
our handrolled versions for some extra speedups.
2009-08-20 11:31:03 +02:00
Wim Taymans
591baacba5 volume: remove ref functions 2009-08-20 11:31:03 +02:00