summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* main: hook up cpu detection codeWim Taymans2009-08-204-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 helpersWim Taymans2009-08-203-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 codeWim Taymans2009-08-202-123/+268
|
* volume_sse: add sse optimisationsWim Taymans2009-08-204-1/+440
|
* volume_mmx: fix mmx code a bitWim Taymans2009-08-201-20/+26
|
* volume: add first mmx optimized functionWim Taymans2009-08-204-0/+428
| | | | | Add code for an mmx optimized version of s16ne volume scaling. Install the custom function.
* samples-util: add padding to volume arrayWim Taymans2009-08-201-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 fileWim Taymans2009-08-204-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 aroundWim Taymans2009-08-201-22/+22
| | | | Move some stuff around before splitting it into a separate file.
* sample-utils: coding style cleanupWim Taymans2009-08-201-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 caseWim Taymans2009-08-201-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 Calvar2009-08-201-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 Calvar2009-08-201-1/+3
| | | | is owned by the loop.
* Modification of the glib-mainloop doc to ensure that nobody frees the api as ↵Xabier Rodriguez Calvar2009-08-201-1/+3
| | | | it is owned by the loop.
* core: check return value of getgrnam_r() instead of errnoLennart Poettering2009-08-201-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.
* lirc: replace manual code by pa_cvolume_{inc|dec}()Lennart Poettering2009-08-191-18/+4
|
* mmkbd: replace manual code by pa_cvolume_{inc|dec}()Lennart Poettering2009-08-191-22/+21
|
* sink: volume handling rework, new flat volume logicLennart Poettering2009-08-1916-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 isLennart Poettering2009-08-191-0/+3
|
* volume: introduce pa_cvolume_{inc|dec}()Lennart Poettering2009-08-193-0/+44
|
* volume: use PA_VOLUME_MAX instead of (pa_volume_t) -1Lennart Poettering2009-08-191-4/+4
|
* udev: allow passing of ignore_dB= parameter to alsa modulesLennart Poettering2009-08-194-23/+49
|
* source: rework volume handlingLennart Poettering2009-08-195-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 bitLennart Poettering2009-08-191-4/+4
|
* voltest: extend test to verify correctness of _multiply() and _divide()Lennart Poettering2009-08-193-48/+37
|
* dbus: never return DBUS_HANDLER_RESULT_HANDLED in filter callbacks, since ↵Lennart Poettering2009-08-192-5/+0
| | | | other callbacks might stell want to have the messages
* volume: round properly when showing human readable volume percentagesLennart Poettering2009-08-191-2/+2
|
* volume: simplify volume multiplifactions, do them in integer onlyLennart Poettering2009-08-191-4/+6
|
* volume: introduce pa_cvolume_min() and pa_cvolume_min_mask()Lennart Poettering2009-08-193-2/+51
|
* macro: simplify page/word alignment macros a bitLennart Poettering2009-08-171-12/+8
|
* macro: add PA_ROUND_UP/PA_ROUND_DOWN macrosLennart Poettering2009-08-171-4/+30
|
* bluetooth: fix match syntaxLennart Poettering2009-08-171-2/+2
|
* bluetooth: make NameOwnerChanged filter matches more focussedLennart Poettering2009-08-171-2/+2
|
* volume: document when arguments of certain functions may overlapLennart Poettering2009-08-171-4/+8
|
* libpulse: some minor optimizations when checking equalityLennart Poettering2009-08-173-0/+16
|
* channelmap: minor doxygen fixLennart Poettering2009-08-171-4/+14
|
* channelmap: document where the WAVEX channelmap is documentedLennart Poettering2009-08-171-0/+2
|
* channelmap: adjust RFC3551 channel maps to follow spec more closelyLennart Poettering2009-08-171-4/+4
|
* reserver: update from upstream gitLennart Poettering2009-08-171-9/+18
|
* volume: add pa_cvolume_merge() callLennart Poettering2009-08-173-0/+24
|
* aupdate: implicitly call _write_swap() if it wasn't called explicitlyLennart Poettering2009-08-162-0/+12
|
* core: add to FIXMEsLennart Poettering2009-08-162-0/+2
|
* modules: add various checks to avoid selecting objects that are not linked ↵Lennart Poettering2009-08-164-16/+92
| | | | or in another unclear state
* bluetooth: move installation of mq's earlier to avoid context asserts to be ↵Lennart Poettering2009-08-161-2/+2
| | | | triggered
* bluetooth: ask first for Headset and AudioSink properties, followed by AudioLennart Poettering2009-08-151-4/+4
|
* bluetooth: recognize only those BT devices that implement both the Audio and ↵Lennart Poettering2009-08-151-3/+3
| | | | either AudioSink or Headset interfaces
* bluetooth: drop PA_BT_AUDIO_STATE_LAST since it is unused and we normally ↵Lennart Poettering2009-08-151-2/+1
| | | | call that _MAX anyway
* thread-mq: do final q flush only when we aren't dispatching anywayLennart Poettering2009-08-151-3/+5
|
* asyncmsgq: introduce pa_asyncmsgq_dispatching()Lennart Poettering2009-08-152-0/+8
|
* ladspa/remap: sync latency flags from master sink when moving between sinksLennart Poettering2009-08-152-0/+2
|