summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/protocol-native.c
Commit message (Collapse)AuthorAgeFilesLines
* Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-201-10/+7
| | | | | | | | | | | | | | | | Move the mainloop to monotonic based time events. Introduces 4 helper functions: pa_{context,core}_rttime_{new,restart}(), that fill correctly a timeval with the rtclock flag set if the mainloop supports it. Both mainloop-test and mainloop-test-glib works with rt and timeval based time events. PulseAudio and clients should be fully functional. This patch has received several iterations, and this one as been largely untested. Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
* native-protocol: allow enumerating portsLennart Poettering2009-06-171-0/+35
|
* native: implement command to change sink/source portLennart Poettering2009-06-171-2/+65
|
* alsa: rework mixer logicLennart Poettering2009-06-171-4/+4
| | | | | | | | | | | | 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
|
* protocol-native,proplist-util: port to pa_get_{user|host}_name_malloc()Lennart Poettering2009-04-291-3/+9
|
* core: introduce new 'reference' volume for sinksLennart Poettering2009-04-131-4/+5
| | | | | | | | | | | | | | | 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
* protocol-native: downgrade message if we receive pcm block for dead streamLennart Poettering2009-04-101-1/+1
|
* protocol-native: print underrun message only once for each underrunLennart Poettering2009-04-101-1/+2
|
* Make sure we don't get stuck when prebuf is too highLennart Poettering2009-04-061-3/+6
| | | | | | | | If prebuf is greater than tlength minus minreq we might end up waiting for the buffer to fill up further however without ever asking for more data from the client since less minreq bytes might be missing. This fixes bug #440
* Fix a couple of races in native protocolLennart Poettering2009-04-051-42/+97
| | | | | | | | | Also make sure we account for recording memblock that are currently 'on the fly' between the main and the IO thread. Also makes a couple of timing calls that were done in different calls in a single inter-thread call. That way there is a better guarantee that they match up.
* properly account for seeks in the requested_bytes counterLennart Poettering2009-04-011-13/+16
|
* pass destination source/sink when moving streams so that we can access themLennart Poettering2009-04-011-10/+10
|
* be a bit more verbose about max_request changesLennart Poettering2009-03-311-5/+14
|
* Log underrunsLennart Poettering2009-03-311-1/+1
|
* notify clients about tlength changesLennart Poettering2009-03-301-202/+204
|
* document more often the context certain functions are called inLennart Poettering2009-03-301-1/+22
|
* Trigger move callback a little bit earlier so that no IO thread is runningLennart Poettering2009-03-301-6/+6
|
* only store card profile if flagged for thatLennart Poettering2009-03-231-1/+1
|
* fix a commentLennart Poettering2009-03-191-1/+1
|
* Merge commit 'coling/lgpl21'Lennart Poettering2009-03-031-1/+1
|\
| * Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
| |
* | pass profile priority value to clientsLennart Poettering2009-03-031-0/+1
|/
* properly handle directed card info requestsLennart Poettering2009-03-021-1/+0
|
* introduce default channel map in addition to the default sample specLennart Poettering2009-02-211-0/+3
|
* protocol-native: don't leak a proplistMarc-André Lureau2009-02-191-8/+18
|
* pulsecore: fix check for cb (m is already checked before)Marc-André Lureau2009-02-191-1/+1
|
* protocol-native: fix get_info() for cardsMarc-André Lureau2009-02-191-1/+1
|
* export card information for sinks/sources and number of sinks/sources a ↵Lennart Poettering2009-02-181-0/+4
| | | | profile would create to clients
* if we fail to import a memblock fill in silence to guarantee stability of timingLennart Poettering2009-02-181-10/+18
|
* allow sending meta/policy events to clientsLennart Poettering2009-02-121-0/+66
|
* make native protocol use pa_{sink_input|source_output|card}_update_proplist()Lennart Poettering2009-02-051-9/+4
|
* remove soft volume from pa_sink_input_new_info since it should be handled ↵Lennart Poettering2009-02-041-1/+1
| | | | internally and automatically by the sink input
* properly handle failing stream creationLennart Poettering2009-02-041-4/+4
|
* make a couple of functions return proper error codesLennart Poettering2009-02-031-9/+17
|
* implement PA_STREAM_FAIL_ON_SUSPEND logicLennart Poettering2009-02-031-7/+12
|
* store the default sink/source in proper pa_sink*/pa_source* pointers instead ↵Lennart Poettering2009-01-281-6/+23
| | | | 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-2/+4
| | | | field to sinks/sources
* allow samples to be played with 'default' (i.e. unspecified) volume.Lennart Poettering2009-01-271-1/+8
|
* make gcc shut upLennart Poettering2009-01-221-2/+2
|
* implement PA_COMMAND_SET_CARD_PROFILELennart Poettering2009-01-211-0/+40
|
* remove unused variableLennart Poettering2009-01-201-1/+0
|
* add client API for querying card informationLennart Poettering2009-01-201-1/+42
|
* add missing eof checksLennart Poettering2009-01-201-1/+3
|
* pulse: introspect sink stateMarc-André Lureau2009-01-201-2/+10
|
* allow setting properties for modules, tooLennart Poettering2009-01-191-5/+9
|
* Add support for 24bit samples encoded in the LSB of 32 bit wordsLennart Poettering2009-01-161-2/+2
|
* add support for 24bit packed samplesLennart Poettering2009-01-161-0/+7
|
* rework module usage counter stuff to be pull basedLennart Poettering2009-01-151-2/+2
|