summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/cli-command.c
Commit message (Collapse)AuthorAgeFilesLines
* cli-command: don't necessarily ovveride failure code of files ↵Lennart Poettering2009-09-081-2/+0
| | | | (llvm-clang-analyzer)
* cli-command: modernizationsLennart Poettering2009-09-081-16/+16
|
* libpulse: introduce PA_BYTES_SNPRINT_MAX and make use of it wherever applicableLennart Poettering2009-09-061-6/+6
|
* cli: make sure 'dump' uses pa_cvolume_max() to deduce a single-channel ↵Lennart Poettering2009-08-311-2/+2
| | | | volume from a multi-channel volume
* cli: apply single-channel volume changes equally to all channelsLennart Poettering2009-08-311-3/+3
|
* sink: volume handling rework, new flat volume logicLennart Poettering2009-08-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | - 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.
* alsa: rework mixer logicLennart Poettering2009-06-171-5/+73
| | | | | | | | | | | | Completely rework mixer logic. This now allows controlling a full set of elements from a single sink's volume slider/mute button. This also introduces sink and source "ports" that can be used to choose different input or output ports with the UI. (i.e. "mic"/"line-in" or "speaker"/"headphones". The mixer paths and device maps are now configered in external configuration files and can be tweaked as necessary.
* core: add a suspend cause flags fieldLennart Poettering2009-06-051-4/+4
|
* modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecatedLennart Poettering2009-05-281-0/+2
|
* core: introduce new 'reference' volume for sinksLennart Poettering2009-04-131-3/+3
| | | | | | | | | | | | | | | The reference volume is to be used as reference volume for stored stream volumes. Previously if a new stream was created the relative volume was taken relatively to the virtual device volume. Due to the flat volume logic this could then be fed back to the virtual device volume. Repeating the whole story over and over would result in a device volume that would go lower, and lower and lower. This patch introduces a 'reference' volume for each sink which stays unmodified by stream volume changes even if flat volumes are used. It is only modified if the sink volumes are modified directly by the user. For further explanations see http://pulseaudio.org/wiki/InternalVolumes
* handle failure to parse proplist in cli-command gracefullyMaarten Bosmans2009-03-311-4/+16
|
* fix typoLennart Poettering2009-03-271-1/+1
|
* only store card profile if flagged for thatLennart Poettering2009-03-231-1/+1
|
* print error code when suspend/resume failsLennart Poettering2009-03-041-11/+14
|
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* rework logging to make it more modularLennart Poettering2009-02-211-3/+3
|
* introduce default channel map in addition to the default sample specLennart Poettering2009-02-211-1/+6
|
* pulsecore: remove unused variable from cli_command_load()Marc-André Lureau2009-02-191-2/+1
|
* store the default sink/source in proper pa_sink*/pa_source* pointers instead ↵Lennart Poettering2009-01-281-12/+21
| | | | of a string
* when changing volume, store whether it is worth remembering or noLennart Poettering2009-01-271-4/+4
|
* move flat volume logic into the core. while doing so add n_volume_steps ↵Lennart Poettering2009-01-271-1/+1
| | | | field to sinks/sources
* add set-card-profile CLI commandLennart Poettering2009-01-211-0/+45
|
* allow setting properties for modules, tooLennart Poettering2009-01-191-0/+1
|
* kill autoload stuff as plannedLennart Poettering2009-01-151-110/+12
|
* add functionality to dump list of cardsLennart Poettering2009-01-151-0/+17
|
* cli: add missing update-*-proplistMarc-André Lureau2009-01-131-0/+122
|
* cli: update-sink-proplistMarc-André Lureau2009-01-131-1/+35
|
* support changing logging parameters during runtime using the CLILennart Poettering2008-10-211-0/+104
|
* add a few more gcc warning flags and fix quite a few problems found by doing soLennart Poettering2008-08-191-5/+5
|
* pass force_refresh=FALSE to all volume/mute read invocationsLennart Poettering2008-08-131-4/+4
|
* add new switch --disallow-exitLennart Poettering2008-08-061-1/+3
|
* fix shutdown when --disallow-module-loading=1 is passedLennart Poettering2008-08-051-1/+1
|
* rename props.[ch] to shared.[ch]Lennart Poettering2008-08-011-1/+1
|
* rename pa_property_xxx to pa_shared_xxx to avoid confusion with property listsLennart Poettering2008-08-011-4/+4
|
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* merge glitch-free branch back into trunkLennart Poettering2008-05-151-28/+107
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Attempt to resolve the multilib conflicts by getting all the config filesLennart Poettering2008-03-271-2/+30
| | | | | | | | | | | | | look equally for all plattforms. This includes getting rid go pathnames with libdir; let's make ps search for files with relative paths there. https://bugzilla.redhat.com/show_bug.cgi?id=228383 Modified patch, originally from Lubomir Kundrak <lkundrak@redhat.com> git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2132 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Increase the maximum line length of default.pa from 256 to 1024. Load ↵Tanu Kaskinen2007-12-141-1/+1
| | | | | | commands of modules that need multiple channel maps may grow rather long. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2084 fefdeb5f-60dc-0310-8127-8f9354f1896f
* more pa_boolizationLennart Poettering2007-11-011-88/+87
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2008 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge 'lennart' branch back into trunk.Lennart Poettering2007-10-281-100/+397
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Kill spaces on EOLLennart Poettering2007-05-291-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1465 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Replace AO_xxx usage with pa_atomic_xxx and friends wherever it makes senseLennart Poettering2007-05-271-10/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1459 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add a new meta command ".ifexists" to the CLI language, to execute commands ↵Lennart Poettering2007-05-261-12/+69
| | | | | | only if a specified file exists. Original patch from cjvdb. Closes #36 git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1456 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix some instances where we printed a string without first checking thatPierre Ossman2007-03-061-2/+5
| | | | | | | the pointer was valid. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1436 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add copyright notices to all relevant files. (based on svn log)Pierre Ossman2007-02-131-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1426 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Huge trailing whitespace cleanup. Let's keep the tree pure from here on,Pierre Ossman2007-01-041-24/+24
| | | | | | | mmmkay? git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1418 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Revert r1404 and keep it on a development branch until it is fully tested.Pierre Ossman2006-11-061-10/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1409 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework memory block management to be thread-safe and mostly lock-free.Lennart Poettering2006-09-261-10/+10
| | | | | | | | | | | | | | | | | | | | | pa_memblock is now an opaque structure. Access to its fields is now done through various accessor functions in a thread-safe manner. pa_memblock_acquire() and pa_memblock_release() are now used to access the attached audio data. Why? To allow safe manipulation of the memory pointer maintained by the memory block. Internally _acquire() and _release() maintain a reference counter. Please do not confuse this reference counter whith the one maintained by pa_memblock_ref()/_unref()! As a side effect this patch removes all direct usages of AO_t and replaces it with pa_atomic_xxx based code. This stuff needs some serious testing love. Especially if threads are actively used. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1404 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make pa_mempool_stat thread-safe/lock-freeLennart Poettering2006-08-291-10/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1343 fefdeb5f-60dc-0310-8127-8f9354f1896f
* print per-type memory block statistics on "stat"Lennart Poettering2006-08-191-1/+20
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1294 fefdeb5f-60dc-0310-8127-8f9354f1896f