| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Stolen from
http://www.freebsd.org/cgi/cvsweb.cgi/ports/audio/pulseaudio/files/patch-src_pulse_util.c?rev=1.1
and fixed for indentation.
|
|
|
|
|
|
|
|
|
| |
Instead of declaring extra variables for the ALSA profiles and PATHS, and
using EXTRA_DIST for the udev rule, use the dist_ prefix when declaring
them for conditional installation.
This relies on the fact that automake *is* smart enough to know that there
exist *no* conditional dist, and will always distribute all of them.
|
|
|
|
| |
On FreeBSD, devname() is a system function, and was overshadowed.
|
|
|
|
|
| |
Without this change, on FreeBSD you'll be bothered by tons of warnings
about overshadowing signal(2).
|
|\ |
|
| | |
|
| |
| |
| |
| | |
calculation
|
| |
| |
| |
| |
| |
| | |
usage doesn't really change and there may be
a bug in the vectorized version
|
| |
| |
| |
| | |
statements
|
| |
| |
| |
| |
| |
| | |
Stole from
http://www.freebsd.org/cgi/cvsweb.cgi/ports/audio/pulseaudio/files/patch-src_pulsecore_atomic.h?rev=1.6
|
| |
| |
| |
| |
| |
| | |
FIONREAD on OpenSolaris is declared in sys/filio.h. The RTP modules already
rely on the presence of FIONREAD, and check for the header, so this brings
the pipe source and sink modules on par with them.
|
| |
| |
| |
| | |
This avoids two warnings due to FIONREAD not being defined.
|
| | |
|
| | |
|
| |
| |
| |
| | |
period settings we had before
|
| |
| |
| |
| | |
state change so that in the STARTED/UNDERFLOW callbacks we accurate transport latency information
|
| |
| |
| |
| | |
don't want the timer to advance when we are supposedly already paused
|
| |
| |
| |
| | |
in corked state
|
|/ |
|
|
|
|
| |
Fixes http://pulseaudio.org/ticket/721
|
| |
|
|
|
|
|
| |
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
|
|
|
|
| |
Third time is a charm... maybe.
|
| |
|
|
|
|
|
|
| |
Fixes an assert that is hit in somne niche cases:
https://bugzilla.redhat.com/show_bug.cgi?id=533482
|
|
|
|
| |
Use the correct sample rate for reporting about the timing.
|
| |
|
|
|
|
|
|
| |
Original patch supplied by 'adi'
http://pulseaudio.org/ticket/669
|
|
|
|
|
|
|
|
| |
volume_limit sets maximum volume that can be set from the module
default is PA_VOLUME_NORM*3/2 (150%)
volume_step sets step in volume changing
default is PA_VOLUME_NORM/20
values are of raw pa_volume_t type
|
|
|
|
|
|
| |
added function to increase volume not exceeding specified limit
simply changed PA_VOLUME_MAX to 'limit' in pa_cvolume_inc
pa_cvolume_inc now calls pa_cvolume_inc_clamp with PA_VOLUME_MAX limit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In virtual machines sound card clocks and OS scheduling tend to become
unreliable, adding various 'uneven' latencies. The adaptive algorithm
that handles drop-outs does not handle it this well: in contrast to
drop-outs on real machines that are evenly distributed, small and can
easily be encountered via the adpative algorithms, drop-outs in VMs tend
to happen abruptly, and massively, which is not easy to counter.
This patch simply disables timer based scheduling in VMs reverting to
classic IO based scheduling. This should help make PA perform better in
VMs.
https://bugzilla.redhat.com/show_bug.cgi?id=532775
|
| |
|
| |
|
| |
|
|
|
|
| |
http://pulseaudio.org/ticket/702
|
|\ |
|
| |
| |
| |
| | |
add premultipliar to sse2 dsp_logic implementation
|
| |
| |
| |
| | |
and disable debug output
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
On some cards line-out is independant of Sepaker and it is a good idea
to cover that so that they can independantly be activated.
https://bugzilla.redhat.com/show_bug.cgi?id=520884
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
As seen on some HDA chips:
https://bugzilla.redhat.com/attachment.cgi?id=359804
|
| |
| |
| |
| |
| |
| | |
As seen on some drivers:
https://bugzilla.redhat.com/show_bug.cgi?id=498612
|
| |
| |
| |
| |
| |
| | |
As used by some HDA devices:
https://bugzilla.redhat.com/attachment.cgi?id=365290
|
| |
| |
| |
| |
| |
| | |
As used by some HDA chips:
https://bugzilla.redhat.com/attachment.cgi?id=366816
|
| |
| |
| |
| | |
leader so that we cannot acquire a tty ever
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Lennart,
Apparently I was debugging this at the same time as you. I can't figure out
why my Fedora 11 install with glibc-2.10 has a glibc realpath that doesn't
match the gnu documentation and returns null. But it does.
Your commit aa8ce5bb9b159abb2ffb0f43996340566fc2e9c6 almost fixed my
problem, but it needs a tweak.
Thanks,
David Yoder
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On Wed, Sep 16, 2009 at 11:57:04PM +0200, Lennart Poettering wrote:
> On Wed, 16.09.09 15:15, Daniel Mack (daniel@caiaq.de) wrote:
>
> > + s = pa_xnew(pa_semaphore, 1);
> > + MPCreateSemaphore(UINT_MAX, value, &(s->sema));
> > + pa_assert(s->sema != 0);
>
> Hmm, I'd prefer if the ret val of MPCreateSemaphore() would be checked
> here.
>
> Also I find it a bit weird checking for s->sema, though not
> initializing it to 0 in the beginning. If the call actually failed,
> then the assert will check uninitialized memory. Also, comparing
> pointers with 0 sucks. That should be NULL.
>
> Given that this can not realisitically fail, only in OOM or OOM-like
> situations in which case we abort anyway it mght be enough just writing:
>
> pa_assert_se(MPCreateSemaphore(UINT_MAX, value, &s->sema) == 0);
>
> (Assuming that success is signalled by retval == 0 on MacOSX)
>
> > +void pa_semaphore_free(pa_semaphore *s) {
> > + pa_assert(s);
> > + MPDeleteSemaphore(s->sema);
>
> Same here.
>
> > + pa_xfree(s);
> > +}
> > +
> > +void pa_semaphore_post(pa_semaphore *s) {
> > + pa_assert(s);
> > + MPSignalSemaphore(s->sema);
>
> And here.
>
> > +}
> > +
> > +void pa_semaphore_wait(pa_semaphore *s) {
> > + pa_assert(s);
> > + /* should probably check return value (-ve is error), noErr is ok. */
> > + MPWaitOnSemaphore(s->sema, kDurationForever);
>
> And here.
Ok, done. See the patch below.
Daniel
>From 26df2fbae6d9215a3ae084876fb5f79e4d9cf4f0 Mon Sep 17 00:00:00 2001
From: Kim Lester <kim@dfusion.com.au>
Date: Wed, 16 Sep 2009 09:23:39 +0800
Subject: [PATCH] Mac OS X: add semaphore implementation
|