Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | svolume: fix compilation in 32bits | Wim Taymans | 2009-08-20 | 2 | -12/+12 |
| | |||||
* | sample: manually inline table lookups | Wim Taymans | 2009-08-20 | 1 | -25/+24 |
| | | | | | Manually inline some table lookups to avoid excessive calls to pa_sample_spec_valid(). | ||||
* | resampler: fix identity check | Wim Taymans | 2009-08-20 | 1 | -10/+6 |
| | | | | | | Fix the identity matrix check for mono to stereo. Help the compiler generate better code for the C implementation of the channel remapping code. | ||||
* | resample: fix counters | Wim Taymans | 2009-08-20 | 1 | -4/+4 |
| | |||||
* | resample: refactor the channel remapping a little | Wim Taymans | 2009-08-20 | 1 | -88/+109 |
| | | | | | | | | 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. | ||||
* | svolume: add CPU guards around code | Wim Taymans | 2009-08-20 | 2 | -0/+11 |
| | | | | Mark code that should only be compiled on x86 CPUs with proper defines. | ||||
* | svolume: add ARM optimized volume scaling | Wim Taymans | 2009-08-20 | 5 | -2/+281 |
| | |||||
* | svolume: remove unneeded compare | Wim Taymans | 2009-08-20 | 2 | -3/+1 |
| | | | | | We don't need the compare because the sub operation already set the right flags for us. | ||||
* | resampler: cache integer channel_map | Wim Taymans | 2009-08-20 | 1 | -33/+33 |
| | | | | | Calculate and cache an integer version of the channel map so that we don't have to regenerate it when dealing with s16 samples. | ||||
* | Get rid of liboil | Wim Taymans | 2009-08-20 | 9 | -96/+65 |
| | | | | | | | 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. | ||||
* | volume: remove ref functions | Wim Taymans | 2009-08-20 | 2 | -446/+0 |
| | |||||
* | volume: improved comments | Wim Taymans | 2009-08-20 | 2 | -27/+30 |
| | |||||
* | volume: make the benchmark more meaningfull | Wim Taymans | 2009-08-20 | 2 | -43/+69 |
| | | | | MMX is about 6x faster, SSE around 15x on my machine. | ||||
* | svolume: add some comments | Wim Taymans | 2009-08-20 | 1 | -0/+18 |
| | |||||
* | cpu-x86: guard header with ifdef | Wim Taymans | 2009-08-20 | 1 | -0/+5 |
| | |||||
* | main: hook up cpu detection code | Wim Taymans | 2009-08-20 | 4 | -21/+20 |
| | | | | | | Add CPU detection code to activate the various optimisations. Move some method definitions around. Use compatibility macros when we can. | ||||
* | cpu-x86: add cpu detection code and helpers | Wim Taymans | 2009-08-20 | 3 | -0/+184 |
| | | | | | Add CPU detection code and various macros and typdefs to make it easier to write 64 and 32 bit code. | ||||
* | svolume: improve SSE and MMX code | Wim Taymans | 2009-08-20 | 2 | -123/+268 |
| | |||||
* | volume_sse: add sse optimisations | Wim Taymans | 2009-08-20 | 4 | -1/+440 |
| | |||||
* | volume_mmx: fix mmx code a bit | Wim Taymans | 2009-08-20 | 1 | -20/+26 |
| | |||||
* | volume: add first mmx optimized function | Wim Taymans | 2009-08-20 | 4 | -0/+428 |
| | | | | | Add code for an mmx optimized version of s16ne volume scaling. Install the custom function. | ||||
* | samples-util: add padding to volume array | Wim Taymans | 2009-08-20 | 1 | -5/+17 |
| | | | | | Pad the volume array with a copy of the start. We'll need this later to be able to write optimized functions. | ||||
* | sample-util: move volume code to separate file | Wim Taymans | 2009-08-20 | 4 | -311/+347 |
| | | | | | Move the volume code into a separate file with the reference C implementations. Add a function to retrieve the volume function and one to install a new one. | ||||
* | sample-util: move some functions around | Wim Taymans | 2009-08-20 | 1 | -22/+22 |
| | | | | Move some stuff around before splitting it into a separate file. | ||||
* | sample-utils: coding style cleanup | Wim Taymans | 2009-08-20 | 1 | -53/+46 |
| | | | | | | Make the coding style match the rest of pulseaudio more. Remove some liboil functions, they seem unoptimized and likely slower than our handrolled versions here. | ||||
* | sample-utils: split out functions from case | Wim Taymans | 2009-08-20 | 1 | -283/+303 |
| | | | | | Move the volume functions out of the switch case and use a table indexed by the sample format to find the volume function. | ||||
* | Modification of the thread-mainloop doc to ensure that nobody frees the api ↵ | Xabier Rodriguez Calvar | 2009-08-20 | 1 | -1/+3 |
| | | | | as it is owned by the loop. | ||||
* | Modification of the mainloop doc to ensure that nobody frees the api as it ↵ | Xabier Rodriguez Calvar | 2009-08-20 | 1 | -1/+3 |
| | | | | is owned by the loop. | ||||
* | Modification of the glib-mainloop doc to ensure that nobody frees the api as ↵ | Xabier Rodriguez Calvar | 2009-08-20 | 1 | -1/+3 |
| | | | | it is owned by the loop. | ||||
* | core: check return value of getgrnam_r() instead of errno | Lennart Poettering | 2009-08-20 | 1 | -40/+34 |
| | | | | | | | According to POSIX getgrnam_r() returns the error code as return value, and not in errno. Honour that. Pointed out and inspired by a patch from Ted Percival. | ||||
* | i18n: run make update-pov0.9.16-test5 | Lennart Poettering | 2009-08-19 | 29 | -3440/+3976 |
| | |||||
* | i18n: add ko to LINGUAS | Lennart Poettering | 2009-08-19 | 1 | -0/+1 |
| | |||||
* | Merge commit 'origin/master-tx' | Lennart Poettering | 2009-08-19 | 2 | -151/+2059 |
|\ | |||||
| * | Sending translation for Czech | pmkovar | 2009-08-17 | 1 | -151/+96 |
| | | |||||
| * | Sending translation for po/ko.po | eukim | 2009-08-13 | 1 | -0/+1963 |
| | | |||||
* | | lirc: replace manual code by pa_cvolume_{inc|dec}() | Lennart Poettering | 2009-08-19 | 1 | -18/+4 |
| | | |||||
* | | mmkbd: replace manual code by pa_cvolume_{inc|dec}() | Lennart Poettering | 2009-08-19 | 1 | -22/+21 |
| | | |||||
* | | sink: volume handling rework, new flat volume logic | Lennart Poettering | 2009-08-19 | 16 | -286/+333 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - We now implement a logic where the sink maintains two distinct volumes: the 'reference' volume which is shown to the users, and the 'real' volume, which is configured to the hardware. The latter is configured to the max of all streams. Volume changes on sinks are propagated back to the streams proportional to the reference volume change. Volume changes on sink inputs are forwarded to the sink by 'pushing' the volume if necessary. This renames the old 'virtual_volume' to 'real_volume'. The 'reference_volume' is now the one exposed to users. By this logic the sink volume visible to the user, will always be the "upper" boundary for everything that is played. Saved/restored stream volumes are measured relative to this boundary, the factor here is always < 1.0. - introduce accuracy for sink volumes, similar to the accuracy we already have for source volumes. - other cleanups. | ||||
* | | match: document how broken the module-match logic is | Lennart Poettering | 2009-08-19 | 1 | -0/+3 |
| | | |||||
* | | volume: introduce pa_cvolume_{inc|dec}() | Lennart Poettering | 2009-08-19 | 3 | -0/+44 |
| | | |||||
* | | volume: use PA_VOLUME_MAX instead of (pa_volume_t) -1 | Lennart Poettering | 2009-08-19 | 1 | -4/+4 |
| | | |||||
* | | udev: allow passing of ignore_dB= parameter to alsa modules | Lennart Poettering | 2009-08-19 | 4 | -23/+49 |
| | | |||||
* | | source: rework volume handling | Lennart Poettering | 2009-08-19 | 5 | -39/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | - drop the 'virtual_' prefix from s->virtual_volume since we don't distuingish between reference and real volumes for sources - introduce an accuracy for source volumes: if the hardware can control the volume "close enough" don't necessarily adjust the rest in software unless it is beyond a certain threshold. This should save a little bit of CPU at the expensive of a bit of accuracy in volume handling. - other minor cleanups | ||||
* | | macro: extend comments a bit | Lennart Poettering | 2009-08-19 | 1 | -4/+4 |
| | | |||||
* | | voltest: extend test to verify correctness of _multiply() and _divide() | Lennart Poettering | 2009-08-19 | 3 | -48/+37 |
| | | |||||
* | | dbus: never return DBUS_HANDLER_RESULT_HANDLED in filter callbacks, since ↵ | Lennart Poettering | 2009-08-19 | 2 | -5/+0 |
| | | | | | | | | other callbacks might stell want to have the messages | ||||
* | | volume: round properly when showing human readable volume percentages | Lennart Poettering | 2009-08-19 | 1 | -2/+2 |
| | | |||||
* | | volume: simplify volume multiplifactions, do them in integer only | Lennart Poettering | 2009-08-19 | 1 | -4/+6 |
| | | |||||
* | | volume: introduce pa_cvolume_min() and pa_cvolume_min_mask() | Lennart Poettering | 2009-08-19 | 3 | -2/+51 |
| | | |||||
* | | macro: simplify page/word alignment macros a bit | Lennart Poettering | 2009-08-17 | 1 | -12/+8 |
| | |