Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | macro: add PA_ROUND_UP/PA_ROUND_DOWN macros | Lennart Poettering | 2009-08-17 | 1 | -4/+30 |
| | |||||
* | bluetooth: fix match syntax | Lennart Poettering | 2009-08-17 | 1 | -2/+2 |
| | |||||
* | bluetooth: make NameOwnerChanged filter matches more focussed | Lennart Poettering | 2009-08-17 | 1 | -2/+2 |
| | |||||
* | volume: document when arguments of certain functions may overlap | Lennart Poettering | 2009-08-17 | 1 | -4/+8 |
| | |||||
* | libpulse: some minor optimizations when checking equality | Lennart Poettering | 2009-08-17 | 3 | -0/+16 |
| | |||||
* | channelmap: minor doxygen fix | Lennart Poettering | 2009-08-17 | 1 | -4/+14 |
| | |||||
* | channelmap: document where the WAVEX channelmap is documented | Lennart Poettering | 2009-08-17 | 1 | -0/+2 |
| | |||||
* | channelmap: adjust RFC3551 channel maps to follow spec more closely | Lennart Poettering | 2009-08-17 | 1 | -4/+4 |
| | |||||
* | reserver: update from upstream git | Lennart Poettering | 2009-08-17 | 1 | -9/+18 |
| | |||||
* | volume: add pa_cvolume_merge() call | Lennart Poettering | 2009-08-17 | 3 | -0/+24 |
| | |||||
* | aupdate: implicitly call _write_swap() if it wasn't called explicitly | Lennart Poettering | 2009-08-16 | 2 | -0/+12 |
| | |||||
* | core: add to FIXMEs | Lennart Poettering | 2009-08-16 | 2 | -0/+2 |
| | |||||
* | modules: add various checks to avoid selecting objects that are not linked ↵ | Lennart Poettering | 2009-08-16 | 4 | -16/+92 |
| | | | | or in another unclear state | ||||
* | bluetooth: move installation of mq's earlier to avoid context asserts to be ↵ | Lennart Poettering | 2009-08-16 | 1 | -2/+2 |
| | | | | triggered | ||||
* | bluetooth: ask first for Headset and AudioSink properties, followed by Audio | Lennart Poettering | 2009-08-15 | 1 | -4/+4 |
| | |||||
* | bluetooth: recognize only those BT devices that implement both the Audio and ↵ | Lennart Poettering | 2009-08-15 | 1 | -3/+3 |
| | | | | either AudioSink or Headset interfaces | ||||
* | bluetooth: drop PA_BT_AUDIO_STATE_LAST since it is unused and we normally ↵ | Lennart Poettering | 2009-08-15 | 1 | -2/+1 |
| | | | | call that _MAX anyway | ||||
* | thread-mq: do final q flush only when we aren't dispatching anyway | Lennart Poettering | 2009-08-15 | 1 | -3/+5 |
| | |||||
* | asyncmsgq: introduce pa_asyncmsgq_dispatching() | Lennart Poettering | 2009-08-15 | 2 | -0/+8 |
| | |||||
* | ladspa/remap: sync latency flags from master sink when moving between sinks | Lennart Poettering | 2009-08-15 | 2 | -0/+2 |
| | |||||
* | core: introduce pa_{sink|source}_update_flags() | Lennart Poettering | 2009-08-15 | 4 | -3/+41 |
| | |||||
* | pulse: even in case of record stream, let's initialize req_bytes to 0 | Marc-André Lureau | 2009-08-15 | 1 | -1/+1 |
| | |||||
* | bluetooth: fix typo with service_{read,write}_type | Marc-André Lureau | 2009-08-15 | 1 | -2/+4 |
| | |||||
* | bluetooth: don't call pa_sink_render with 0 bytes request | Marc-André Lureau | 2009-08-15 | 1 | -7/+10 |
| | |||||
* | database: simple hashmap based database implementation | Juho Hämäläinen | 2009-08-15 | 3 | -2/+534 |
| | |||||
* | combine: determine sample parameters of combined sink from underlying sinks | Maarten Bosmans | 2009-08-15 | 1 | -0/+49 |
| | | | | http://pulseaudio.org/ticket/521 | ||||
* | combine: warn when the latency of a stream gets too high | Lennart Poettering | 2009-08-15 | 1 | -0/+3 |
| | |||||
* | combine: big rework | Lennart Poettering | 2009-08-15 | 1 | -205/+266 |
| | |||||
* | combine: drop adjust_timestamp variable because it is unused | Lennart Poettering | 2009-08-15 | 1 | -12/+2 |
| | |||||
* | ladspa: name sink after human readable plugin name, not the id string | Lennart Poettering | 2009-08-15 | 1 | -2/+1 |
| | |||||
* | module-ladspa: allow moving of sink, forward fixed latency | Lennart Poettering | 2009-08-15 | 1 | -58/+78 |
| | |||||
* | module-remap: allow moving of sink, forward fixed latency | Lennart Poettering | 2009-08-15 | 1 | -58/+76 |
| | | | | | | | | | | This is a bigger change reworking a number of things: - We now allow moving of the remap sink betwween backend sinks like any other stream. - We forward the fixed latency parameter of the underlying sinks the same way as the dynamic latency. | ||||
* | ladspa: move LADSPA_Data size check to compile time | Lennart Poettering | 2009-08-15 | 1 | -1/+1 |
| | |||||
* | remap: unify argument order with other modules | Lennart Poettering | 2009-08-15 | 1 | -2/+2 |
| | |||||
* | hook-list: make use of PA_LLIST_FOREACH | Lennart Poettering | 2009-08-15 | 1 | -1/+1 |
| | |||||
* | native-protocol: downgrade volume change log messages | Lennart Poettering | 2009-08-15 | 1 | -3/+9 |
| | |||||
* | core: document difference between IO and main thread view on requested latency | Lennart Poettering | 2009-08-15 | 1 | -0/+3 |
| |