Daniel T Chen
d3c71c92ce
udev: Use SOUND_CLASS instead of SOUND_FORM_FACTOR when checking for modem
...
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.
2010-01-05 20:00:22 +01:00
Daniel Mack
0ccc7afcd8
osx: add native zeroconf implementation via Bonjour
...
Avahi and dbus is too heavy for OSX just for the sake of publishing our
services via mDNS/Zeroconf. Apple has its own Zeroconf implementation
called Bonjour, and this patch adds a module that implements service
announcement with that API.
All data gathering is copied from module-zeroconf-publish.c, but
unfortunately the code there is too specifically made for avahi, so I
couldn't factor it out to reuse it.
2009-12-16 16:11:39 +08:00
Daniel Mack
7732421a27
CoreAudio: add audio device module
...
This patch adds support for CoreAudio driven devices under Mac OS X. It
is typically instanciated by the CoreAudio device detection module and
handles all available streams on a specific device.
Sinks are created according to the reported stream configuration.
Float32 is used as default audio sample format at it is the only format
CoreAudio speaks natively.
Hardware volume control is not implemented yet.
2009-12-16 16:11:39 +08:00
Daniel Mack
a23f5cf33d
CoreAudio: add device detection module
...
This adds a new module for CoreAudio device detection. It registers a
callback to detect hotplugged devices and creates/destroys modules named
'module-coreaudio-device'. Devices are identified via a system-wide
unique AudioDeviceID.
2009-12-16 16:11:38 +08:00
Daniel Mack
17d34462ea
poll() is totally broken on Mac OS X
...
Even on 10.5.8, poll() does not do the right thing. Haven't checked on
newer versions. Hence, wrap all occurences of poll() to pa_poll and
emulate that call with select() on OSX. This is totally embarassing.
2009-12-16 16:11:36 +08:00
Tanu Kaskinen
f42022a7d3
stream-restore: At startup, create dbus entries only for valid database entries.
2009-12-03 21:50:20 +00:00
Tanu Kaskinen
00debf4243
stream-restore: Add a missing pa_xnew0() call in handle_add_entry().
2009-12-03 21:50:19 +00:00
Tanu Kaskinen
a6b7ac6826
stream-restore: Fix a few assertion misuses with the D-Bus code.
2009-12-03 21:50:19 +00:00
Colin Guthrie
118466638a
Merge remote branch 'tanuk/master'
2009-11-30 14:55:57 +00:00
Diego Elio 'Flameeyes' Pettenò
62278b4b94
Avoid using devname as a variable name.
...
On FreeBSD, devname() is a system function, and was overshadowed.
2009-11-21 00:47:44 +01:00
Diego Elio 'Flameeyes' Pettenò
d963998676
Rename all the signal parameters and variables to something more explicit.
...
Without this change, on FreeBSD you'll be bothered by tons of warnings
about overshadowing signal(2).
2009-11-21 00:46:46 +01:00
Lennart Poettering
fc4cf27569
Merge remote branch 'phish3/master'
2009-11-21 00:05:02 +01:00
Diego Elio 'Flameeyes' Pettenò
4923f3ca77
Include sys/filio.h if present; this makes use of FIONREAD on Solaris.
...
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.
2009-11-20 21:25:33 +01:00
Diego Elio 'Flameeyes' Pettenò
09a58b6813
Don't declare the variable l if FIONREAD is not defined.
...
This avoids two warnings due to FIONREAD not being defined.
2009-11-20 21:24:46 +01:00
Diego Elio 'Flameeyes' Pettenò
71ebbfb6ef
Fix build on Solaris: pass the third parameter to pa_cloexec_open.
2009-11-20 21:23:53 +01:00
Lennart Poettering
6daf112ce0
alsa: fix minor sampling rate deviations before adjusting the buffer size
2009-11-20 20:27:03 +01:00
Lennart Poettering
bd3467ff2f
alsa: fix log output when the audio device refuses to give us again the same period settings we had before
2009-11-20 20:00:26 +01:00
Jason Newton
493d8b2fb7
module-equalizer-sink: add latency of output_q and input_q to get latency calculation
2009-11-20 06:34:46 -08:00
Jason Newton
1178f61280
module-equalizer-sink: switch back to reference dsp implementation - cpu usage doesn't really change and there may be
...
a bug in the vectorized version
2009-11-20 06:34:46 -08:00
Jason Newton
c6c933b4ec
module-equalizer-sink: (re)added output memblockq commented out timing debug statements
2009-11-20 06:34:46 -08:00
Lennart Poettering
9033140f18
rygel: fix itemCount property for sources
...
Fixes http://pulseaudio.org/ticket/721
2009-11-18 22:00:31 +01:00
Lennart Poettering
721e32b473
jack: never try to autoconnect to MIDI ports
...
Original patch supplied by 'adi'
http://pulseaudio.org/ticket/669
2009-11-05 05:18:10 +01:00
Vladimir Kokarev
7793da371b
lirc,mmkvd: added module parameters volume_limit, volume_step
...
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
2009-11-05 04:57:15 +01:00
Lennart Poettering
53b046d5c9
alsa: disable timer-based scheduling inside a VM
...
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
2009-11-05 03:23:08 +01:00
Lennart Poettering
19516d4e7f
alsa: introduce more standard path names
2009-11-05 03:21:10 +01:00
Lennart Poettering
83b181f92a
alsa: cover 'Analog Output' control
...
http://pulseaudio.org/ticket/702
2009-11-04 00:15:47 +01:00
Lennart Poettering
7938442f77
Merge remote branch 'phish3/master'
2009-10-31 03:49:02 +01:00
Lennart Poettering
6839ef6874
alsa: create a seperate mixer path for Speaker elements
...
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
2009-10-31 03:43:42 +01:00
Lennart Poettering
73a4f4fdbc
alsa: leave other headphone control enabled if possible
2009-10-31 03:42:42 +01:00
Lennart Poettering
591ade1aca
alsa: lower priority for Headphone2 path
2009-10-31 03:41:21 +01:00
Lennart Poettering
73d9d317b2
alsa: cover Input Source:AUX IN
...
As seen on some HDA chips:
https://bugzilla.redhat.com/attachment.cgi?id=359804
2009-10-31 03:25:32 +01:00
Lennart Poettering
220ac0a61a
alsa: cover Headphone2 mixer element
...
As seen on some drivers:
https://bugzilla.redhat.com/show_bug.cgi?id=498612
2009-10-31 03:10:00 +01:00
Lennart Poettering
430e8e2ee5
alsa: cover 'Digital Input Source' element
...
As used by some HDA devices:
https://bugzilla.redhat.com/attachment.cgi?id=365290
2009-10-31 02:56:57 +01:00
Lennart Poettering
3e115a96b0
alsa: cover Mic Jack Mode element
...
As used by some HDA chips:
https://bugzilla.redhat.com/attachment.cgi?id=366816
2009-10-31 02:52:35 +01:00
Lennart Poettering
2dc37e1214
bluetooth: do not hand out access to devices that are not fully configured yet
2009-10-31 02:05:54 +01:00
Lennart Poettering
168be3830a
use pa_fopen_cloexec() where applicable
2009-10-30 04:54:19 +01:00
Lennart Poettering
65e7bc18a9
use cloexec wrappers wherever applicable
2009-10-30 03:32:38 +01:00
Jason Newton
d83dd5ba13
module-equalizer-sink:
...
add premultipliar to sse2 dsp_logic implementation
2009-10-29 19:10:16 -07:00
Jason Newton
ebaca56a75
module-equalizer-sink: try to limit buffering to mempool's max_block_size and disable debug output
2009-10-29 18:49:10 -07:00
Jason Newton
5c82dd67d0
drop redundant alloc call
2009-10-29 18:49:10 -07:00
Jason Newton
e9ccc61a2f
module-equalizer-sink: drop source executable permissions configure.ac: add enable/disable + summary line for fftw
2009-10-20 04:09:34 +02:00
Jason Newton
16e77f3ab2
module-equalizer-sink:
...
*fixed SSE2 optimized dsp logic (default if available)
*cleaned up whitespace formatting (again)
2009-10-20 04:09:34 +02:00
Jason Newton
ff903ef542
module-equalizer-sink: fixed equalizer state save/restore
2009-10-20 04:09:32 +02:00
Colin Guthrie
bec67cd75f
device-manager: Fix compiler warning.
...
Do not use a variable called 'index' as it clashes with string.h
2009-10-19 21:50:03 +01:00
Tanu Kaskinen
e064d27004
Merge branch 'master' of git://0pointer.de/pulseaudio
2009-10-13 18:42:47 +03:00
Colin Guthrie
0ff2a6b434
device-manager: Rather than flagging the device as available, just include the sink/source index with PA_INVALID_INDEX meaning unavailable
2009-10-10 15:45:49 +01:00
Tanu Kaskinen
ce033e7f3a
dbusiface-client: Fix the destructor (stop leaking stuff).
2009-10-09 19:44:37 +03:00
Lennart Poettering
d0b478e9a6
Merge remote branch 'coling/history'
2009-10-07 03:46:06 +02:00
Lennart Poettering
9f226d25d6
Merge remote branch 'phish3/master'
2009-10-07 03:43:24 +02:00
Lennart Poettering
692ce73899
Merge remote branch 'tanuk/dbus-work'
2009-10-07 03:39:30 +02:00