summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * svolume: add some commentsWim Taymans2009-08-201-0/+18
| |
| * cpu-x86: guard header with ifdefWim Taymans2009-08-201-0/+5
| |
| * 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.
* | udev: check busy status of alsa cards before loading alsa modules and hence ↵Lennart Poettering2009-08-221-17/+132
| | | | | | | | initiating profile probing
* | udev: process all inotify events queued up, not just the first one in the queueLennart Poettering2009-08-221-17/+39
| |
* | core: relex validity checks when destructing half-set up source outputs/sink ↵Lennart Poettering2009-08-222-3/+4
| | | | | | | | inputs
* | ladspa/remap: handle failing stream moves properlyLennart Poettering2009-08-222-4/+10
| |
* | add usergroup-test to .gitignoreLennart Poettering2009-08-221-0/+1
| |
* | daemon: don't free script_commands twiceLennart Poettering2009-08-221-5/+0
| |
* | core: Remove wrong doc on how to free returned dataTed Percival2009-08-221-4/+0
| |
* | Solaris: fixed latency (resent)Finn Thain2009-08-221-26/+30
| | | | | | | | | | 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.
* | Solaris: use smoother (resent)Finn Thain2009-08-221-3/+29
| | | | | | | | Make use of the smoother, just in case.
* | Solaris: build fixes (resent)Finn Thain2009-08-221-7/+5
| | | | | | | | Fix bit rot due to recent flat volume changes.
* | core: Add thread-safe group info functions with dynamic buffersTed Percival2009-08-226-115/+643
| | | | | | | | | | | | | | 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.
* | daemon: fix leak of script_commandsScott Reeves2009-08-211-1/+1
| |
* | udev: tell inotify to actually inform us about ACL changesLennart Poettering2009-08-211-1/+1
| |
* | udev: watch for both ACL changes and processes closing devicesLennart Poettering2009-08-211-12/+51
| |
* | udev: don't access string after free()Lennart Poettering2009-08-211-1/+1
| |
* | udev: always verify access before loading modulesLennart Poettering2009-08-211-11/+3
| |
* | gconf: use correct path for gconf-helper tool when running from build treeLennart Poettering2009-08-211-4/+5
| |
* | object: speed up type verification by not relying on strcmp()Lennart Poettering2009-08-2119-65/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | udev: when a device appears that we cannot access right-away try again later ↵Lennart Poettering2009-08-211-34/+57
| | | | | | | | on inotify
* | alsa: leave headphone jack enabled in normal mixer pathsLennart Poettering2009-08-213-6/+15
| |
* | combine: quieten gcc a bitLennart Poettering2009-08-211-0/+2
| |
* | adjust various data/library paths automatically if we are run from a build treeLennart Poettering2009-08-216-7/+59
| |
* | ladspa: forward volume changes from ladspa sink to stream and hence via flat ↵Lennart Poettering2009-08-211-9/+63
| | | | | | | | volume logic to master sink
* | sink-input: add callbacks that are called whenever the mute/volume changesLennart Poettering2009-08-213-6/+38
|/
* 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
|