summaryrefslogtreecommitdiffstats
path: root/src/polyp
Commit message (Collapse)AuthorAgeFilesLines
* * add pa_mainloop_wakeup() calls for deferred eventsLennart Poettering2006-04-161-15/+22
| | | | | | | * place pa_mainloop_wakeup() calls a little bit more carfully, to minimize needless wakeups. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@734 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new API to replace the poll() function used by the main loop implementationLennart Poettering2006-04-162-1/+26
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@733 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Clarify behaviour of deferred events.Pierre Ossman2006-04-161-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@723 fefdeb5f-60dc-0310-8127-8f9354f1896f
* more documentation updatesLennart Poettering2006-04-1311-63/+106
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@697 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Documentation updatesLennart Poettering2006-04-137-25/+80
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@696 fefdeb5f-60dc-0310-8127-8f9354f1896f
* include local record memblockq in latency calculationsLennart Poettering2006-04-122-2/+15
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@694 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * dispatch defer events in pa_mainloop_dispatch() and not already in ↵Lennart Poettering2006-04-123-85/+80
| | | | | | | | | | pa_mainloop_prepare() * fix the "timeout" parameter of pa_mainloop_prepare() * remove pa_mainloop_deferred_pending() and update the simple API accordingly git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@690 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove a bunch of log messagesLennart Poettering2006-04-121-9/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@688 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * rename "latency correction" to "write index correction"Lennart Poettering2006-04-123-134/+216
| | | | | | | | | | | | | * add read index invalidation code * rename "ipol_event" stuff to "auto_timing_update" * remove buffer_usec field from pa_timing_info, since it can be easily calculated from write_index and read_index anyway * add read_index_corrupt field to "pa_timing_info", similar to the already existing write_index_corrupt field * restart automatic timing update event every time a query is issued, not just when the last event elapsed * proper invalidation code for pa_stream_flush() * do tarsnport/sink/source latency correction for playback time only when device is not corked git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@686 fefdeb5f-60dc-0310-8127-8f9354f1896f
* proper validity checking for pa_context_is_pending()Lennart Poettering2006-04-121-1/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@684 fefdeb5f-60dc-0310-8127-8f9354f1896f
* return the error code and not just -1 when pa_context_is_pending() failsLennart Poettering2006-04-101-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@680 fefdeb5f-60dc-0310-8127-8f9354f1896f
* validity checks for pa_context_is_pending()Lennart Poettering2006-04-102-5/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@679 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * implement PA_STREAM_AUTO_TIMING_UPDATELennart Poettering2006-04-101-4/+8
| | | | | | | * accept PA_STREAM_NOT_MONOTONOUS properly git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@673 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new PA_STREAM_AUTO_TIMING_UPDATELennart Poettering2006-04-101-13/+24
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@672 fefdeb5f-60dc-0310-8127-8f9354f1896f
* unbreak last commit from ossmanLennart Poettering2006-04-101-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@669 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Use the modern Ki/Mi/Gi prefixes to clarify that 1024 is the base.Pierre Ossman2006-04-092-5/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@668 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Big documentation update. Describe the client API in a more tutorial likePierre Ossman2006-04-0912-52/+757
| | | | | | | manner. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@667 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new introspection data field for sinks/sources: a flags field which ↵Lennart Poettering2006-04-073-2/+24
| | | | | | specifies whether the sink/source supports hw volume control and latency querying git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@661 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * enable write_index correction and timing interpolation only for playback ↵Lennart Poettering2006-04-071-39/+46
| | | | | | (and record) streams git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@656 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * update docs for reworked latency APILennart Poettering2006-04-075-89/+138
| | | | | | | * rename pa_latency_info to pa_timing_info, since that describes better what it is. Most people will only use pa_stream_get_time() anyway git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@651 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update simple API for new latency APILennart Poettering2006-04-071-5/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@650 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework latency querying API (this needs more testing)Lennart Poettering2006-04-074-220/+323
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@648 fefdeb5f-60dc-0310-8127-8f9354f1896f
* We no longer guarantee that an operation object is returned. Need to tweakPierre Ossman2006-03-111-9/+26
| | | | | | | some parts to handle this. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@638 fefdeb5f-60dc-0310-8127-8f9354f1896f
* The extra stream ref actually did some good. Re-add it, but with some morePierre Ossman2006-03-071-2/+16
| | | | | | | symmetry, assertions and comments. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@635 fefdeb5f-60dc-0310-8127-8f9354f1896f
* We've already set an initial reference count of 1 so don't count it up again.Pierre Ossman2006-03-071-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@634 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Negotiate protocol version between server and client. Will allow smootherPierre Ossman2006-03-026-0/+38
| | | | | | | protocol modifications in the future. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@621 fefdeb5f-60dc-0310-8127-8f9354f1896f
* The tag argument is no longer unused.Pierre Ossman2006-03-021-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@620 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix warnings on 64-bit systems.Pierre Ossman2006-03-021-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@619 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Handle the new latency protocol. This is just a quick fix and does notPierre Ossman2006-03-023-2/+27
| | | | | | | handle the new memblockq system. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@618 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add support for authentication using SCM_CREDENTIALSLennart Poettering2006-02-242-6/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@596 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Some new additions were mislabeled as '\since 0.9'.Pierre Ossman2006-02-231-7/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@588 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Mute switch for sinks and sources. This is independent of the volumePierre Ossman2006-02-232-0/+108
| | | | | | | setting (similar to ALSA). git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@587 fefdeb5f-60dc-0310-8127-8f9354f1896f
* change pa_log() and friends to not require a trailing \n on all logged stringsLennart Poettering2006-02-237-28/+28
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@574 fefdeb5f-60dc-0310-8127-8f9354f1896f
* simplify tagstruct creationLennart Poettering2006-02-236-127/+74
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@573 fefdeb5f-60dc-0310-8127-8f9354f1896f
* revive howl supportLennart Poettering2006-02-222-57/+81
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@566 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework parameter validity checking in protocol-native server sideLennart Poettering2006-02-221-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@563 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Wrong userdata used to init operation.Pierre Ossman2006-02-221-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@561 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Support for setting volume on sources.Pierre Ossman2006-02-222-0/+62
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@560 fefdeb5f-60dc-0310-8127-8f9354f1896f
* build defer() function in src/polyp/mainloop-signal.c only on win32Lennart Poettering2006-02-201-4/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@541 fefdeb5f-60dc-0310-8127-8f9354f1896f
* improve error checking in simple APILennart Poettering2006-02-201-18/+72
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@537 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add validity check for the "server" parameter of pa_context_connect()Lennart Poettering2006-02-201-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@536 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * modify pa_context_exit_daemon() to return a pa_operation objectLennart Poettering2006-02-2010-493/+763
| | | | | | | | | | * add callback prototypes to all introspection functions in client lib * add proper validity checking and error handling to all functions in the client lib * other minor cleanups * todo update git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@531 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * a lot of doxygen updatesLennart Poettering2006-02-2018-100/+125
| | | | | | | | | * s/pa_operation_callback/pa_operation_callback_t/g * add more typedefs for function prototypes * add API to query the channel map used by a pa_stream git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@530 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add doxygen docs for channel mapLennart Poettering2006-02-201-3/+20
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@528 fefdeb5f-60dc-0310-8127-8f9354f1896f
* minor doxygen fixesLennart Poettering2006-02-202-3/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@526 fefdeb5f-60dc-0310-8127-8f9354f1896f
* replace "spawn" parameter of pa_context_new() with a proper flags parameterLennart Poettering2006-02-203-7/+12
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@523 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * Make typdefs for the pa_context callback prototypesLennart Poettering2006-02-203-16/+20
| | | | | | | * s/pa_context_notify_cb/pa_context_notify_cb_t/g git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@521 fefdeb5f-60dc-0310-8127-8f9354f1896f
* 1) Add flexible seeking support (including absolute) for memory block queues ↵Lennart Poettering2006-02-2010-282/+485
| | | | | | | | | | | | | | | | | | | | | | | | and playback streams 2) Add support to synchronize multiple playback streams 3) add two tests for 1) and 2) 4) s/PA_ERROR/PA_ERR/ 5) s/PA_ERROR_OK/PA_OK/ 6) update simple API to deal properly with new peek/drop recording API 7) add beginnings of proper validity checking on API calls in client libs (needs to be extended) 8) report playback buffer overflows/underflows to the client 9) move client side recording mcalign stuff into the memblockq 10) create typedefs for a bunch of API callback prototypes 11) simplify handling of HUP poll() events Yes, i know, it's usually better to commit a lot of small patches instead of a single big one. In this case however, this would have contradicted the other rule: never commit broken or incomplete stuff. *** This stuff needs a lot of additional testing! *** git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@511 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Properly clear members during init.Pierre Ossman2006-02-171-0/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@509 fefdeb5f-60dc-0310-8127-8f9354f1896f
* That's a delta parameter, not a size parameter.Pierre Ossman2006-02-171-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@508 fefdeb5f-60dc-0310-8127-8f9354f1896f