Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | redirect folks to the ALSA developers not me when their sound drivers are broken | Lennart Poettering | 2009-01-15 | 1 | -2/+4 |
| | |||||
* | fix calculation of avail_min | Lennart Poettering | 2009-01-14 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio | Lennart Poettering | 2009-01-08 | 1 | -1/+1 |
|\ | |||||
| * | Prefer mixer controls with volumes over switches | Lennart Poettering | 2009-01-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | When we look for a mixer control prefer controls that have both volume and a mute switch over those that have only a volume switch over those that only have a mute switch. Originally pointed out by Adel Gadllah. | ||||
* | | A few minor cleanups and updates | Lennart Poettering | 2009-01-08 | 1 | -2/+2 |
| | | |||||
* | | Implement base_volume for ALSA sinks/sources | Lennart Poettering | 2008-12-24 | 1 | -16/+23 |
|/ | |||||
* | warn if ALSA wakes us up and there is actually nothing to do | Lennart Poettering | 2008-10-22 | 1 | -11/+30 |
| | |||||
* | Try to catch certain driver errors | Lennart Poettering | 2008-10-21 | 1 | -3/+3 |
| | | | | | ... by verifying return values of snd_pcm_avail_update() and snd_pcm_begin_mmap() for their sanenness. | ||||
* | define 0dB in PA as maximum amplification | Lennart Poettering | 2008-10-08 | 1 | -4/+6 |
| | |||||
* | substract the unused record buffer size from the overall size before ↵ | Lennart Poettering | 2008-10-04 | 1 | -1/+1 |
| | | | | calculating the space still left for recording | ||||
* | get rid of pa_alsa_volume_divide() since we have pa_sw_volume_divide() now | Lennart Poettering | 2008-10-04 | 1 | -1/+1 |
| | |||||
* | don't call snd_pcm_drain() when we suspend because that might take awfully ↵ | Lennart Poettering | 2008-10-04 | 1 | -2/+2 |
| | | | | long with our long buffer sizes these days | ||||
* | don't hit an assert if a kernel driver reports invalid dB information, ↵ | Lennart Poettering | 2008-10-01 | 1 | -8/+12 |
| | | | | instead just warn the user | ||||
* | fix support for ALSA devices which lack dB information | Lennart Poettering | 2008-10-01 | 1 | -19/+52 |
| | |||||
* | use TRUE for pa_bool_t arguments | Lennart Poettering | 2008-09-29 | 1 | -1/+1 |
| | |||||
* | minor improvements in debug handling | Lennart Poettering | 2008-09-09 | 1 | -3/+5 |
| | |||||
* | When returning from a suspend, pass exactly the same flags as originally when | Lennart Poettering | 2008-09-09 | 1 | -1/+5 |
| | | | | we opened the device. | ||||
* | Downgrade hrtimer warning to notice level | Lennart Poettering | 2008-09-05 | 1 | -1/+1 |
| | |||||
* | add a few more gcc warning flags and fix quite a few problems found by doing so | Lennart Poettering | 2008-08-19 | 1 | -37/+38 |
| | |||||
* | add some code to make invalid valgrind warnings go away | Lennart Poettering | 2008-08-18 | 1 | -0/+17 |
| | |||||
* | extend hardware dB scale in software to full range if necessary, instead of ↵ | Lennart Poettering | 2008-08-13 | 1 | -100/+147 |
| | | | | reverting back to software-only volume control | ||||
* | fix two uninitialized memory accesses | Lennart Poettering | 2008-08-11 | 1 | -3/+3 |
| | |||||
* | allow global tsched setting for all modules loaded by module-hal | Lennart Poettering | 2008-07-31 | 1 | -1/+1 |
| | |||||
* | make sure we call pa_sink_process_rewind() under all circumstances if a ↵ | Lennart Poettering | 2008-06-28 | 1 | -5/+11 |
| | | | | rewind was requested before we call pa_sink_render() | ||||
* | make sure to call process_rewind() under all circumstances before we do the ↵ | Lennart Poettering | 2008-06-26 | 1 | -4/+7 |
| | | | | next loop iteration | ||||
* | Rework module-combine to work with glitch-free core; add new max_request ↵ | Lennart Poettering | 2008-06-20 | 1 | -0/+3 |
| | | | | field to pa_sink | ||||
* | get rid of svn $ keywords | Lennart Poettering | 2008-06-18 | 1 | -2/+0 |
| | |||||
* | use pa_source_set_latency_range()/pa_sink_set_latency_range() in the ALSA ↵ | Lennart Poettering | 2008-05-17 | 1 | -5/+6 |
| | | | | | | drivers; fix sleep time calculation git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2459 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | merge glitch-free branch back into trunk | Lennart Poettering | 2008-05-15 | 1 | -279/+800 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Rework ALSA mixer channel detection code. This time we actually care about ↵ | Lennart Poettering | 2007-11-13 | 1 | -22/+30 |
| | | | | | | the channel names the ALSA mixer exports for us git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2055 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Completely rework ALSA device selection code: choose the device to open ↵ | Lennart Poettering | 2007-11-13 | 1 | -47/+38 |
| | | | | | | depending on the requested number of channels and channel map. In most cases it will now suffice to set default-channels=6 to enable 5.1 sound for all devices that support it git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2050 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | tag modules that may only be loaded once at most especially, and enforce ↵ | Lennart Poettering | 2007-11-09 | 1 | -4/+5 |
| | | | | | | that in the module loader git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2043 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | make rtprio and nice level actually configurable | Lennart Poettering | 2007-11-01 | 1 | -2/+2 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2014 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | merge 'lennart' branch back into trunk. | Lennart Poettering | 2007-10-28 | 1 | -277/+677 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Handle suspended alsa devices. Based on patch by ranma. (closes #26) | Pierre Ossman | 2007-03-02 | 1 | -0/+38 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1433 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Handle when ALSA tweaks our sample spec so much that the frame size changes. | Pierre Ossman | 2007-03-01 | 1 | -1/+8 |
| | | | | | | | (closes #57). git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1431 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Add copyright notices to all relevant files. (based on svn log) | Pierre Ossman | 2007-02-13 | 1 | -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 Ossman | 2007-01-04 | 1 | -27/+27 |
| | | | | | | | 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 Ossman | 2006-11-06 | 1 | -12/+2 |
| | | | | 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 Poettering | 2006-09-26 | 1 | -2/+12 |
| | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | remove all occurences of | Lennart Poettering | 2006-08-18 | 1 | -19/+19 |
| | | | | | | | | | | | | pa_logXXX(__FILE__": and replace them by pa_logXXX(" git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1272 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | Rework memory management to allow shared memory data transfer. The central idea | Lennart Poettering | 2006-08-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | is to allocate all audio memory blocks from a per-process memory pool which is available as read-only SHM segment to other local processes. Then, instead of writing the actual audio data to the socket just write references to this shared memory pool. To work optimally all memory blocks should now be of type PA_MEMBLOCK_POOL or PA_MEMBLOCK_POOL_EXTERNAL. The function pa_memblock_new() now generates memory blocks of this type by default. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1266 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | make use of pa_sink_used_by()/pa_source_used_by() wherever applicable | Lennart Poettering | 2006-08-12 | 1 | -3/+1 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1227 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | generate default sink/source names from the device files they belong to | Lennart Poettering | 2006-08-12 | 1 | -2/+14 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1223 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | don't set the sink/source descriptions manually, use the new functions ↵ | Lennart Poettering | 2006-08-11 | 1 | -2/+4 |
| | | | | | | pa_{sink,source}_set_description() instead git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1205 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | shorten sink/source device descriptions a little | Lennart Poettering | 2006-08-11 | 1 | -1/+1 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1201 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | ALSA: handle write()/read() errors properly by unloading the driver module. ↵ | Lennart Poettering | 2006-08-11 | 1 | -26/+52 |
| | | | | | | This should fix problems when removing USB audio device while pulseaudio is running. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1194 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | try to reduce volume updates in the ALSA sinks/sources: only touch the ↵ | Lennart Poettering | 2006-08-07 | 1 | -13/+19 |
| | | | | | | shadowed hw volme if necessary git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1189 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | set is_hardware flag for a few hw plugins | Lennart Poettering | 2006-07-16 | 1 | -0/+1 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1092 fefdeb5f-60dc-0310-8127-8f9354f1896f | ||||
* | fix segfault when module-alsa-source fails to load | Lennart Poettering | 2006-06-20 | 1 | -1/+1 |
| | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1049 fefdeb5f-60dc-0310-8127-8f9354f1896f |