summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* udev: Use SOUND_CLASS instead of SOUND_FORM_FACTOR when checking for modemDaniel T Chen2010-01-151-1/+1
| | | | | | | The fact whether an ALSA card is a modem is stored in the SOUND_CLASS, not the SOUND_FORM_FACTOR property. So read it from there. Patch from Whoopie.
* threaded-mainloop: Properly initialise m->n_waiting_for_accept to prevent ↵Daniel T Chen2010-01-151-0/+1
| | | | | | | | | | | | | deadlock Compiler optimisations have been seen to initialise m->n_waiting_for_accept to a positive non-zero value, so the while() in pa_threaded_mainloop_signal() never proceeds. Fix this by properly initializing m->n_waiting_for_accept in pa_threaded_mainloop_new(). Patch from Iain Bucław. https://bugs.launchpad.net/bugs/502992
* alsa: add profile set for M-Audio FastTrack Pro USBDavid Kågedal2010-01-152-0/+86
|
* client: include dolby channel names in commentsLennart Poettering2010-01-151-10/+10
|
* client: implement $PULSE_LATENCY_MSECLennart Poettering2010-01-151-6/+31
| | | | | | | This allows easy overriding of a clients latency setting for debugging purposes. http://pulseaudio.org/ticket/753
* pacat: allow configuration of latency in msecLennart Poettering2010-01-151-9/+37
|
* udev: use ID_MODEL_ENC instead of ID_MODEL if it is setLennart Poettering2010-01-141-0/+110
| | | | | | | | | That way we should be able to make use of the nicer USB strings the USB hw provides. Fixes the issues pointed out in: https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-January/006248.html
* Mark shared variables as volatileArun Raghavan2010-01-141-1/+4
| | | | | | | | | 'n_waiting' and 'n_waiting_for_accept' may be accessed from mulitple threads, and thus need to be marked as volatile to suppres certain compiler optimisations. All uses are protected by a mutex, so we don't need to worry about cache issues (added documentation for this as well). This addresses bug #738.
* alsa: cover bass boost mixer elementLennart Poettering2010-01-142-0/+13
| | | | http://pulseaudio.org/ticket/740
* daemon: first take name on the bus, then return in starter processLennart Poettering2010-01-141-4/+4
| | | | http://pulseaudio.org/ticket/748
* udev: rework modem detection a bitLennart Poettering2010-01-141-55/+62
| | | | Check every single pcm device of a card whether it is a modem.
* udev: handle sound cards with both modem and audio properlyDaniel T. Chen2010-01-141-3/+56
| | | | | http://pulseaudio.org/ticket/681 https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/394500
* alsa: Cover the 'Int Mic Boost' element.Colin Guthrie2010-01-131-0/+9
| | | | | | | | | | This is not 100% ideal as we have not way to tie specific boosts to specific inputs and this particular chipset (as noted in #772) appears to support just that. For the time being incorporate it into the normal boost logic. See http://pulseaudio.org/ticket/772
* alsa: cover Input Source:Int MicColin Guthrie2010-01-131-0/+4
| | | | | As seen on some HDA chips (e.g. Fujitsu Siemens S6410) Refs http://pulseaudio.org/ticket/772
* cpu: check for CMOV flag before using this intsruction in assemblyLennart Poettering2010-01-133-5/+9
| | | | http://pulseaudio.org/ticket/776
* alsa: ignore volume changes from the hw if we are not on the active consoleLennart Poettering2010-01-132-0/+6
|
* udev: make sure we get events only for sound devicesLennart Poettering2010-01-131-0/+5
|
* log: add an easy way to disable log rate limitingLennart Poettering2010-01-131-38/+50
| | | | | | Should help with debuggin bugs like: https://bugzilla.redhat.com/show_bug.cgi?id=554405
* bluetooth: fix invalid memory accessLennart Poettering2010-01-131-1/+7
| | | | | | | | When an GetProperties() reply arrives after we already deleted the device structure for it make sure we don't accidentaly touch the invalidated object. https://bugzilla.redhat.com/show_bug.cgi?id=543205
* once: make once related variables volatileLennart Poettering2010-01-124-10/+5
|
* udev: don't forget to unref devices we are not interested inLennart Poettering2010-01-121-1/+3
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=552932
* client: verify connection state in pa_stream_connect_upload()Lennart Poettering2010-01-121-0/+1
| | | | | | | Make suer we check the connection state before going on, so that we can rely that s->context->pstream is properly initialized. https://bugzilla.redhat.com/show_bug.cgi?id=539500
* client: detect forking in sample cache API, tooLennart Poettering2010-01-122-2/+8
|
* bluetooth: don't hit an assert if latency is queried for a stooped recording ↵Lennart Poettering2010-01-081-3/+7
| | | | | | stream https://bugzilla.redhat.com/show_bug.cgi?id=537422
* bluetooth: destruct stream only if it is not already destructedLennart Poettering2010-01-081-13/+15
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=551842
* core: make sure we always return a valid memblock in sink_input_pop() callbacksLennart Poettering2010-01-086-6/+24
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=553607
* native: fix request counter miscalculationsLennart Poettering2010-01-083-57/+55
| | | | | | | | | | | | | Do not subtract bytes the client sends us beyond what we requested from our missing bytes counter. This was mostly a thinko that caused servers asking for too little data when the client initially sent more data than requested, because that data sent too much was accounted for twice. This commit fixes this miscalculation. http://bugzilla.redhat.com/show_bug.cgi?id=534130
* dbus: remove filter functions only if they were actually set beforeLennart Poettering2010-01-087-34/+34
| | | | | | | This fixes an assert when destructing modules that have not been fully initialized. https://bugzilla.redhat.com/show_bug.cgi?id=548525
* alsa: fix minor sampling rate deviations before adjusting the buffer sizeLennart Poettering2009-11-231-7/+9
|
* alsa: fix log output when the audio device refuses to give us again the same ↵Lennart Poettering2009-11-232-2/+2
| | | | period settings we had before
* pulse: ask for timing updates both *before* and *after* triggering a stream ↵Lennart Poettering2009-11-231-2/+36
| | | | state change so that in the STARTED/UNDERFLOW callbacks we accurate transport latency information
* pulse: delay smoother update only when unpausing, not when pausing, since we ↵Lennart Poettering2009-11-231-17/+19
| | | | don't want the timer to advance when we are supposedly already paused
* pulse: try to fix inaccuracy with uncork timing for streams that are created ↵Lennart Poettering2009-11-231-1/+16
| | | | in corked state
* daemon: complain if user passes too many argumentsLennart Poettering2009-11-231-0/+37
|
* Merge branch '0.9.20-stable' into stable-queueColin Guthrie2009-11-202-50/+61
|\ | | | | | | | | Conflicts: src/Makefile.am
| * rygel: fix itemCount property for sources0.9.20-stableLennart Poettering2009-11-181-11/+34
| | | | | | | | Fixes http://pulseaudio.org/ticket/721
| * build-sys: Fix missing trailing slash in 14eaf2Colin Guthrie2009-11-161-1/+1
| |
| * build-sys: Make sure all alsa path config files are installedSjoerd Simons2009-11-161-37/+25
| | | | | | | | | | While all alsa path configuration files were in EXTRA_DIST not all of them were in in alsapaths_DATA. Fixed by only defining the list in one place
* | device-manager: Update docs version -> 0.9.20Colin Guthrie2009-11-111-12/+12
| | | | | | | | Third time is a charm... maybe.
* | device-manager: Update docs version -> 0.9.20Colin Guthrie2009-11-111-12/+12
| |
* | device-manager: Fix compiler warning.Colin Guthrie2009-11-111-4/+4
| | | | | | | | Do not use a variable called 'index' as it clashes with string.h
* | device-manager: Rather than flagging the device as available, just include ↵Colin Guthrie2009-11-113-9/+6
| | | | | | | | the sink/source index with PA_INVALID_INDEX meaning unavailable
* | device-manager: Play nice with module-stream-restore.Colin Guthrie2009-11-111-37/+47
| | | | | | | | | | | | If m-s-r sets the device we let it do so. Otherwise we handle the routing. We run before module-intended-roles as the priority list will likely be configured appropriately to do the same job, albeit with manual setup.
* | device-manager: Make use of PA_IDXSET_FOREACH when applying entries.Colin Guthrie2009-11-111-12/+12
| |
* | device-manager: Keep track as to whether or not the user specifically ↵Colin Guthrie2009-11-111-9/+40
| | | | | | | | | | | | | | | | | | | | | | renamed the device. If the user has not (via our protocol extension) renamed a device, but it happens to now have a different name (e.g. module-combine automatically updating the description for us or udev-db getting better etc.) then make sure we update our cache with this updated version. If the user has set a name, enforce it's use, even if the description is updated by some other means (e.g. the user manually editing the proplist or another module doing it for them).
* | device-manager: No need to check the version after calling read_entry()Colin Guthrie2009-11-111-4/+4
| |
* | device-manager: Fix typo in module loading script.Colin Guthrie2009-11-111-1/+1
| |
* | device-manager: Add some scripts that are only run under KDE to ↵Colin Guthrie2009-11-113-3/+52
| | | | | | | | load/initialise module-device-manager with routing turned on.
* | device-manager: Misc fixes to co-exist with other stream management/routing ↵Colin Guthrie2009-11-111-40/+30
| | | | | | | | | | | | | | modules. * Do not read or set the save_sink/save_source flags. This seems to be for module-stream-restore only... * Even if a sink is already set by an earlier module, still move it to the sink we dictate.
* | device-manager: Misc fixes.Colin Guthrie2009-11-111-37/+47
| | | | | | | | | | | | | | | | | | | | * Fix a s/sink/source/ copy paste issue when dumping the database. * Only show priority list when routing is enabled (as the list is not updated if not) * Fix a memory access issue when finding the highest priority sinks/sources * key name->device name efficiency fix. * Silence noisy debug on reorder - it seems to work :) * Reroute after reordering. * Initialise preferred lists to PA_INVALID_INDEX