platform/upstream/pulseaudio.git
15 years agoalsa: fix Surround mixer element name
Lennart Poettering [Fri, 18 Sep 2009 01:46:33 +0000 (03:46 +0200)]
alsa: fix Surround mixer element name

s/Sourround/Surround/

Spotted by Colin Guthrie

15 years agortp: Factor out direct io writing and use ioline instead.
Colin Guthrie [Thu, 17 Sep 2009 23:20:46 +0000 (00:20 +0100)]
rtp: Factor out direct io writing and use ioline instead.

This is how things should have worked orinally, but I obviously misunderstood things a bit.
This seems to prevent the random hangups that were happening previously :)

15 years agoraop: Use pa_module_unload_request_by_index as per module-zeroconf-discover
Colin Guthrie [Wed, 16 Sep 2009 19:54:51 +0000 (20:54 +0100)]
raop: Use pa_module_unload_request_by_index as per module-zeroconf-discover

15 years agocore-util: unify how we determine the temporary directory
Lennart Poettering [Thu, 17 Sep 2009 19:06:54 +0000 (21:06 +0200)]
core-util: unify how we determine the temporary directory

15 years agoImprove TMPDIR handling
Lennart Poettering [Thu, 17 Sep 2009 18:58:36 +0000 (20:58 +0200)]
Improve TMPDIR handling

Patch from 'jnelson',

http://pulseaudio.org/ticket/653

15 years agocli: properly destruct cli object
Lennart Poettering [Thu, 17 Sep 2009 02:04:54 +0000 (04:04 +0200)]
cli: properly destruct cli object

15 years agocli: don't accidentaly set O_NDELAY on stderr
Lennart Poettering [Thu, 17 Sep 2009 01:51:35 +0000 (03:51 +0200)]
cli: don't accidentaly set O_NDELAY on stderr

Loading module-cli could have the effect of setting O_NDELAY on stderr,
because it was just a dup'ed fd of stdin which module-cli sets O_NDELAY
for and which flag is shared between all dupes.

Instead of using stdin/stdout directly we now open a new file descriptor
for the controlling terminal, which is equally useful as stdin/stdout
but gives a new file that does not share O_NDELAY with stdin/stdout.

This solves a problem where when running pulseaudio -C resulted in
log output being truncated since stdio does not really handle O_NDELAY
that well in on its fds.

15 years agoproplist: introduce PA_PROP_WINDOW_DESKTOP property
Lennart Poettering [Thu, 17 Sep 2009 00:22:41 +0000 (02:22 +0200)]
proplist: introduce PA_PROP_WINDOW_DESKTOP property

15 years agoposition-event-sounds: don't warn that loud about vpos/hpos out of range
Lennart Poettering [Thu, 17 Sep 2009 00:04:59 +0000 (02:04 +0200)]
position-event-sounds: don't warn that loud about vpos/hpos out of range

15 years agolibpulse: as a special exception, don't require a non-NULL context in pa_context_errno
Lennart Poettering [Wed, 16 Sep 2009 23:37:23 +0000 (01:37 +0200)]
libpulse: as a special exception, don't require a non-NULL context in pa_context_errno

15 years agosvolume_mmx: disable test accidentaly left on
Lennart Poettering [Wed, 16 Sep 2009 23:34:02 +0000 (01:34 +0200)]
svolume_mmx: disable test accidentaly left on

15 years agoMerge remote branch 'wtay/optimize'
Lennart Poettering [Wed, 16 Sep 2009 23:32:03 +0000 (01:32 +0200)]
Merge remote branch 'wtay/optimize'

15 years agoalsa: correct assumptions about channels an element lacks
Vladimir Kokarev [Wed, 16 Sep 2009 23:26:18 +0000 (01:26 +0200)]
alsa: correct assumptions about channels an element lacks

If an element does not control some channels assume they are 0dB in
comparison to the other elements, i.e. do not influence the volume at
all. Previously we were assuming they were as high as the highest of the
channels we do control.

15 years agopacat: use fully automatic buffer sizes if possible
Lennart Poettering [Wed, 16 Sep 2009 23:22:48 +0000 (01:22 +0200)]
pacat: use fully automatic buffer sizes if possible

15 years agomemblock: make it easy to disable mempool usage with $PULSE_MEMPOOL_DISABLE
Lennart Poettering [Wed, 16 Sep 2009 23:21:56 +0000 (01:21 +0200)]
memblock: make it easy to disable mempool usage with $PULSE_MEMPOOL_DISABLE

15 years agoCANCELLED vs. CANCELED
Lennart Poettering [Wed, 16 Sep 2009 23:19:55 +0000 (01:19 +0200)]
CANCELLED vs. CANCELED

Define CANCELLED as alias for CANCELED

15 years agosvolume_mmx: optimize some more
Wim Taymans [Sat, 12 Sep 2009 10:02:59 +0000 (12:02 +0200)]
svolume_mmx: optimize some more

We can reorder the algortihm a bit like we do for sse so that we
don't need the contants and masking instructions. Saves 2 instructions
for the mmx code.

15 years agosvolume_sse: fix comment
Wim Taymans [Sat, 12 Sep 2009 10:02:40 +0000 (12:02 +0200)]
svolume_sse: fix comment

15 years agogccmacro: enable weakrefs only on ELF
Lennart Poettering [Tue, 15 Sep 2009 02:31:54 +0000 (04:31 +0200)]
gccmacro: enable weakrefs only on ELF

15 years agoposition-event-sounds: apply volume factor after, not before resampling v0.9.17
Lennart Poettering [Fri, 11 Sep 2009 01:27:38 +0000 (03:27 +0200)]
position-event-sounds: apply volume factor after, not before resampling

15 years agocore: add an additional volume factor that is applied after resampling took place
Lennart Poettering [Fri, 11 Sep 2009 01:26:25 +0000 (03:26 +0200)]
core: add an additional volume factor that is applied after resampling took place

15 years agoposition-event-sounds: honour window position if set, position both vertically and...
Lennart Poettering [Fri, 11 Sep 2009 00:32:21 +0000 (02:32 +0200)]
position-event-sounds: honour window position if set, position both vertically and horizontally

15 years agoproplist: define properties for storing window position
Lennart Poettering [Fri, 11 Sep 2009 00:16:17 +0000 (02:16 +0200)]
proplist: define properties for storing window position

15 years agodoxygen: don't confuse doxygen with spurious ..
Lennart Poettering [Thu, 10 Sep 2009 23:49:55 +0000 (01:49 +0200)]
doxygen: don't confuse doxygen with spurious ..

15 years agodoxygen: add rtclock.h to documentation
Lennart Poettering [Thu, 10 Sep 2009 23:49:39 +0000 (01:49 +0200)]
doxygen: add rtclock.h to documentation

15 years agodoxygen: drop references to pacat.c and paplay.c as examples since tehy are not usefu...
Lennart Poettering [Thu, 10 Sep 2009 23:49:16 +0000 (01:49 +0200)]
doxygen: drop references to pacat.c and paplay.c as examples since tehy are not useful as such and in the case of paplay not even existant anymore

15 years agobuild-sys: increase library version
Lennart Poettering [Thu, 10 Sep 2009 23:28:03 +0000 (01:28 +0200)]
build-sys: increase library version

15 years agoi18n: run make update-po
Lennart Poettering [Thu, 10 Sep 2009 23:27:18 +0000 (01:27 +0200)]
i18n: run make update-po

15 years agoi18n: add ja to LINGUAS
Lennart Poettering [Thu, 10 Sep 2009 23:25:22 +0000 (01:25 +0200)]
i18n: add ja to LINGUAS

15 years agoMerge remote branch 'origin/master-tx'
Lennart Poettering [Thu, 10 Sep 2009 23:24:36 +0000 (01:24 +0200)]
Merge remote branch 'origin/master-tx'

15 years agoalsa: properly report suspension error codes
Lennart Poettering [Thu, 10 Sep 2009 23:22:10 +0000 (01:22 +0200)]
alsa: properly report suspension error codes

15 years agoalsa: properly convert sample buffer sizes
Lennart Poettering [Thu, 10 Sep 2009 23:21:46 +0000 (01:21 +0200)]
alsa: properly convert sample buffer sizes

15 years agolibpulse: add new error code PA_ERR_BUSY
Lennart Poettering [Thu, 10 Sep 2009 23:20:45 +0000 (01:20 +0200)]
libpulse: add new error code PA_ERR_BUSY

15 years agoSending translation for Dutch
warrink [Thu, 10 Sep 2009 14:04:39 +0000 (14:04 +0000)]
Sending translation for Dutch

15 years agoSending translation for po/ja.po
hyuuga [Thu, 10 Sep 2009 12:08:54 +0000 (12:08 +0000)]
Sending translation for po/ja.po

15 years agoSending translation for Telugu
kkrothap [Thu, 10 Sep 2009 11:42:48 +0000 (11:42 +0000)]
Sending translation for Telugu

15 years agoSending translation for Bengali (India)
runab [Thu, 10 Sep 2009 11:40:15 +0000 (11:40 +0000)]
Sending translation for Bengali (India)

15 years agoSending translation for Hindi
rajesh [Thu, 10 Sep 2009 11:30:49 +0000 (11:30 +0000)]
Sending translation for Hindi

15 years agoSending translation for Tamil
ifelix [Thu, 10 Sep 2009 10:37:02 +0000 (10:37 +0000)]
Sending translation for Tamil

15 years agoSending translation for Marathi
sandeeps [Thu, 10 Sep 2009 10:06:23 +0000 (10:06 +0000)]
Sending translation for Marathi

15 years agoSending translation for Gujarati
swkothar [Thu, 10 Sep 2009 09:56:50 +0000 (09:56 +0000)]
Sending translation for Gujarati

15 years agoSending translation for Malayalam
anipeter [Thu, 10 Sep 2009 05:53:22 +0000 (05:53 +0000)]
Sending translation for Malayalam

15 years agoSending translation for Punjabi
jassy [Thu, 10 Sep 2009 05:50:19 +0000 (05:50 +0000)]
Sending translation for Punjabi

15 years agoSending translation for Assamese
amitakhya [Thu, 10 Sep 2009 04:18:38 +0000 (04:18 +0000)]
Sending translation for Assamese

15 years agolibpulse: don't support pa_context_get_card_info_list() on servers that cannot handle it v0.9.16
Lennart Poettering [Thu, 10 Sep 2009 00:16:00 +0000 (02:16 +0200)]
libpulse: don't support pa_context_get_card_info_list() on servers that cannot handle it

15 years agonative: send PA_COMMAND_PLAYBACK_BUFFER_ATTR_CHANGED messages only to clients that...
Lennart Poettering [Thu, 10 Sep 2009 00:15:12 +0000 (02:15 +0200)]
native: send PA_COMMAND_PLAYBACK_BUFFER_ATTR_CHANGED messages only to clients that understand it

15 years agoi18n: run make update-po
Lennart Poettering [Thu, 10 Sep 2009 00:04:39 +0000 (02:04 +0200)]
i18n: run make update-po

15 years agoMerge remote branch 'origin/master-tx'
Lennart Poettering [Wed, 9 Sep 2009 23:54:33 +0000 (01:54 +0200)]
Merge remote branch 'origin/master-tx'

Conflicts:
po/cs.po
po/kn.po
po/or.po
po/sr.po
po/sr@latin.po
po/te.po
po/uk.po

15 years agoi18n: run make update-po
Lennart Poettering [Wed, 9 Sep 2009 23:48:28 +0000 (01:48 +0200)]
i18n: run make update-po

15 years agoi18n: get rid of ko.po/ru.po since they contain exactly 0 translated strings
Lennart Poettering [Wed, 9 Sep 2009 23:47:22 +0000 (01:47 +0200)]
i18n: get rid of ko.po/ru.po since they contain exactly 0 translated strings

15 years agoadd ml to LINGUAS
Lennart Poettering [Wed, 9 Sep 2009 23:44:08 +0000 (01:44 +0200)]
add ml to LINGUAS

15 years agoMerge remote branch 'origin/master-tx'
Lennart Poettering [Wed, 9 Sep 2009 23:42:58 +0000 (01:42 +0200)]
Merge remote branch 'origin/master-tx'

15 years agoalsa: disable tsched for software devices before we configure the buffer metrics...
Lennart Poettering [Wed, 9 Sep 2009 21:57:49 +0000 (23:57 +0200)]
alsa: disable tsched for software devices before we configure the buffer metrics so that we don't accidently set a buffer size that is suitable for tsched where we don't use tsched

15 years agoalsa: when probing for profiles configure buffer/period sizes since some broken drive...
Lennart Poettering [Wed, 9 Sep 2009 21:56:51 +0000 (23:56 +0200)]
alsa: when probing for profiles configure buffer/period sizes since some broken drivers apparently need that

15 years agoSending translation for Serbian (Latin)
kmilos [Wed, 9 Sep 2009 20:47:11 +0000 (20:47 +0000)]
Sending translation for Serbian (Latin)

15 years agoSending translation for Serbian
kmilos [Wed, 9 Sep 2009 20:46:40 +0000 (20:46 +0000)]
Sending translation for Serbian

15 years agoSending translation for Serbian (Latin)
soko [Wed, 9 Sep 2009 16:43:35 +0000 (16:43 +0000)]
Sending translation for Serbian (Latin)

15 years agoSending translation for Serbian
soko [Wed, 9 Sep 2009 16:40:44 +0000 (16:40 +0000)]
Sending translation for Serbian

15 years agoSending translation for Oriya
mgiri [Wed, 9 Sep 2009 15:41:26 +0000 (15:41 +0000)]
Sending translation for Oriya

15 years agoSending translation for Telugu
kkrothap [Wed, 9 Sep 2009 07:01:17 +0000 (07:01 +0000)]
Sending translation for Telugu

15 years agoalsa: pass SND_PCM_NONBLOCK when opening device during unsuspend, the same way we...
Lennart Poettering [Wed, 9 Sep 2009 02:44:51 +0000 (04:44 +0200)]
alsa: pass SND_PCM_NONBLOCK when opening device during unsuspend, the same way we do it for initial opening

15 years agoalsa: rework buffer/period configuration
Lennart Poettering [Wed, 9 Sep 2009 02:28:52 +0000 (04:28 +0200)]
alsa: rework buffer/period configuration

- As discussed on alsa-devel it's probably better to initialize the
  buffer size first, followed by the period size. If that fails try the
  other way round. If that fails try to configure only buffer size. If
  that fails try to configure only period size. Finally, try to
  configure neither.

- Don't require integral periods anymore.

Both of these changes should help improving compatibility with various
weirder sound devices, such as TV cards.

15 years agosimd: be more precise which SIMD optimizations we activate
Lennart Poettering [Wed, 9 Sep 2009 02:28:22 +0000 (04:28 +0200)]
simd: be more precise which SIMD optimizations we activate

15 years agosample-util: add pa_convert_size() call for converting sizes between two sample specs
Lennart Poettering [Wed, 9 Sep 2009 02:27:16 +0000 (04:27 +0200)]
sample-util: add pa_convert_size() call for converting sizes between two sample specs

15 years agoSending translation for Czech
pmkovar [Wed, 9 Sep 2009 00:47:32 +0000 (00:47 +0000)]
Sending translation for Czech

15 years agoudev: ratelimit device initializations
Lennart Poettering [Wed, 9 Sep 2009 00:41:58 +0000 (02:41 +0200)]
udev: ratelimit device initializations

15 years agoratelimit: allow non-static ratelimit structs
Lennart Poettering [Wed, 9 Sep 2009 00:41:34 +0000 (02:41 +0200)]
ratelimit: allow non-static ratelimit structs

15 years agopadsp: properly return return values (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:54:53 +0000 (23:54 +0200)]
padsp: properly return return values (llvm-clang-analyzer)

15 years agopacat: don't convert stream name twice (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:54:31 +0000 (23:54 +0200)]
pacat: don't convert stream name twice (llvm-clang-analyzer)

15 years agostripnul: initialize 'found' bool properly (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:53:56 +0000 (23:53 +0200)]
stripnul: initialize 'found' bool properly (llvm-clang-analyzer)

15 years agoprotocol-native: log explicitly when someone asks us to quit
Lennart Poettering [Tue, 8 Sep 2009 21:53:28 +0000 (23:53 +0200)]
protocol-native: log explicitly when someone asks us to quit

15 years agocore-util: properly fill in exception array for pa_reset_sigs() (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:52:58 +0000 (23:52 +0200)]
core-util: properly fill in exception array for pa_reset_sigs() (llvm-clang-analyzer)

15 years agoconf-parser: properly initialize variable we free() later (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:51:39 +0000 (23:51 +0200)]
conf-parser: properly initialize variable we free() later (llvm-clang-analyzer)

15 years agocli-command: don't necessarily ovveride failure code of files (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:51:00 +0000 (23:51 +0200)]
cli-command: don't necessarily ovveride failure code of files (llvm-clang-analyzer)

15 years agocli-command: modernizations
Lennart Poettering [Tue, 8 Sep 2009 21:50:14 +0000 (23:50 +0200)]
cli-command: modernizations

15 years agoutf8: minor simplification
Lennart Poettering [Tue, 8 Sep 2009 21:49:42 +0000 (23:49 +0200)]
utf8: minor simplification

15 years agortsp: document that rtsp_exec() needs fixing (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:49:10 +0000 (23:49 +0200)]
rtsp: document that rtsp_exec() needs fixing (llvm-clang-analyzer)

15 years agohal: check properly for failure of libhal_find_device_by_capability() (llvm-clang...
Lennart Poettering [Tue, 8 Sep 2009 21:48:47 +0000 (23:48 +0200)]
hal: check properly for failure of libhal_find_device_by_capability() (llvm-clang-analyzer)

15 years agoblueooth: actually honour 'room' variable (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:48:12 +0000 (23:48 +0200)]
blueooth: actually honour 'room' variable (llvm-clang-analyzer)

15 years agoalsa-sink: init after_avail earlier (llvm-clang-analyzer)
Lennart Poettering [Tue, 8 Sep 2009 21:47:23 +0000 (23:47 +0200)]
alsa-sink: init after_avail earlier (llvm-clang-analyzer)

15 years agollvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes
Lennart Poettering [Tue, 8 Sep 2009 21:46:23 +0000 (23:46 +0200)]
llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes

15 years agoSending translation for Kannada
shanky [Tue, 8 Sep 2009 09:07:12 +0000 (09:07 +0000)]
Sending translation for Kannada

15 years agoSending translation for Ukrainian
mvdz [Tue, 8 Sep 2009 04:33:12 +0000 (04:33 +0000)]
Sending translation for Ukrainian

15 years agoi18n: move \r out of translatable string
Lennart Poettering [Mon, 7 Sep 2009 21:34:31 +0000 (23:34 +0200)]
i18n: move \r out of translatable string

https://bugzilla.redhat.com/show_bug.cgi?id=521552

15 years agoMerge remote branch 'wtay/optimize'
Lennart Poettering [Mon, 7 Sep 2009 20:44:16 +0000 (22:44 +0200)]
Merge remote branch 'wtay/optimize'

15 years agolibpulse: allow invocation of pa_context_play_sample_with_proplist() with NULL proplist
Lennart Poettering [Mon, 7 Sep 2009 20:43:35 +0000 (22:43 +0200)]
libpulse: allow invocation of pa_context_play_sample_with_proplist() with NULL proplist

15 years agovala: reindent
Lennart Poettering [Mon, 7 Sep 2009 20:42:47 +0000 (22:42 +0200)]
vala: reindent

15 years agovector: don't try to build vector stuff on altivec
Lennart Poettering [Mon, 7 Sep 2009 20:32:11 +0000 (22:32 +0200)]
vector: don't try to build vector stuff on altivec

15 years agovala: s/PropList/Proplist/g since the C version does not use an underscore there
Lennart Poettering [Mon, 7 Sep 2009 20:31:34 +0000 (22:31 +0200)]
vala: s/PropList/Proplist/g since the C version does not use an underscore there

15 years agoSending translation for Kannada
shanky [Mon, 7 Sep 2009 18:55:38 +0000 (18:55 +0000)]
Sending translation for Kannada

15 years agovala: add vala .vapi file for the PulseAudio APIs, but don't include them in the...
Lennart Poettering [Mon, 7 Sep 2009 18:24:59 +0000 (20:24 +0200)]
vala: add vala .vapi file for the PulseAudio APIs, but don't include them in the tarball for now

15 years agovolume: if pa_cvolume_set_{balance|fade}() is called with invalid fade/balance value...
Lennart Poettering [Mon, 7 Sep 2009 18:08:07 +0000 (20:08 +0200)]
volume: if pa_cvolume_set_{balance|fade}() is called with invalid fade/balance value log, but don't assert

15 years agovolume: when passing NULL as channel map to pa_cvolume_scale_mask() handle this the...
Lennart Poettering [Mon, 7 Sep 2009 18:00:58 +0000 (20:00 +0200)]
volume: when passing NULL as channel map to pa_cvolume_scale_mask() handle this the same way as pa_cvolume_scale()

15 years agovolume: drop some redundant but expensive validity checks
Lennart Poettering [Mon, 7 Sep 2009 18:00:02 +0000 (20:00 +0200)]
volume: drop some redundant but expensive validity checks

15 years agovolume: add a couple of validity checks for pa_volume_t arguments
Lennart Poettering [Mon, 7 Sep 2009 17:59:18 +0000 (19:59 +0200)]
volume: add a couple of validity checks for pa_volume_t arguments

15 years agovolume: fix definition of PA_VOLUME_MAX and introduce PA_VOLUME_INVALID and use it...
Lennart Poettering [Mon, 7 Sep 2009 17:53:39 +0000 (19:53 +0200)]
volume: fix definition of PA_VOLUME_MAX and introduce PA_VOLUME_INVALID and use it wherever applicable

15 years agoSending translation for Punjabi
jassy [Mon, 7 Sep 2009 16:26:08 +0000 (16:26 +0000)]
Sending translation for Punjabi

15 years agox86: also call see init for SSE2
Wim Taymans [Mon, 7 Sep 2009 15:28:19 +0000 (17:28 +0200)]
x86: also call see init for SSE2

15 years agox86: only install some functions when SSE2
Wim Taymans [Mon, 7 Sep 2009 15:21:21 +0000 (17:21 +0200)]
x86: only install some functions when SSE2

Remap and volume functions use SSE2 instructions so only install them when SSE2
is present.

15 years agoSending translation for Dutch
warrink [Mon, 7 Sep 2009 12:51:38 +0000 (12:51 +0000)]
Sending translation for Dutch