Commit graph

1258 commits

Author SHA1 Message Date
Lennart Poettering
4505bc9cc6 introduce default channel map in addition to the default sample spec 2009-02-21 16:32:42 +01:00
Marc-André Lureau
9f89907bfa bluetooth: fix suspend on a2dp (to do on HSP non SCO over PCM)
- s/setup_stream_fd/start_stream_fd

 - introduce stop_stream_fd to suspend properly the stream_fd (does
   not seem necessary when shuting down)

 - move {start,stop}_stream_fd to IO thread, it is also a good idea
   because it takes about 1s to setup.
2009-02-20 03:32:25 +01:00
Lennart Poettering
7bc1847596 Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio 2009-02-20 03:21:46 +01:00
Lennart Poettering
26a270a934 big alsa module rework to make things more robust to broken sound drivers and make it easier to debug them 2009-02-20 03:21:17 +01:00
Lennart Poettering
9f813dd5b3 Make sure we actually call _() for translating profile names 2009-02-20 03:18:17 +01:00
Lennart Poettering
fdca6edf20 make profile names translatable 2009-02-20 01:18:37 +01:00
Lennart Poettering
2e250aaebb Merge commit '38ded3bb31' 2009-02-19 05:17:08 +01:00
Marc-André Lureau
7c78c3f658 alsa-util: check if mixer_poll_descriptors_count() < 0 2009-02-19 05:00:37 +01:00
Marc-André Lureau
4722fecb99 rtp: remove unused variable a 2009-02-19 04:58:16 +01:00
Marc-André Lureau
0684b236f0 stream-resotre: don't leak a name 2009-02-19 04:57:51 +01:00
Marc-André Lureau
4512a2ce9c rtp-recv: remove unused variable assignment 2009-02-19 04:55:01 +01:00
Marc-André Lureau
01f81d6973 card-restore: it's not useful to check an array, let's check the length 2009-02-19 04:49:58 +01:00
Marc-André Lureau
83cdcf2f53 alsa-util: make sure we check an initialized cn variable 2009-02-19 04:46:56 +01:00
Marc-André Lureau
7737b10ac6 hal-detect: make sure r is initialized, so we don't take random path 2009-02-19 04:46:42 +01:00
Marc-André Lureau
7d16dcb6cc dbus-util: avoid double free 2009-02-19 04:46:30 +01:00
Lennart Poettering
205b0ba08e split out mixer setup into seperate functions to make things more readable 2009-02-19 04:04:42 +01:00
Lennart Poettering
07333f8cae refer folks to the ALSA devs, not us 2009-02-18 21:50:27 +01:00
Lennart Poettering
dc1ad08a65 minor optimizations 2009-02-18 21:50:09 +01:00
Lennart Poettering
ff58fa8870 simplify pa_alsa_init_proplist_pcm() a bit and include resolution bits in alsa device props 2009-02-18 21:49:31 +01:00
Marc-André Lureau
38ded3bb31 bluetooth: print SBC encoder implementation info
The encoder initialization is done lazily, so we can only get the
information once encoding start. This is abit annoying..
2009-02-18 15:20:48 +02:00
Marc-André Lureau
b4c391ee5e bluetooth: don't crash on pa_thread_mq_done() if pa_init() fail 2009-02-18 15:20:48 +02:00
Marc-André Lureau
b51e6135e8 bluetooth: update SBC from upstream 2009-02-18 15:20:08 +02:00
Lennart Poettering
0b8a6c66dc bluetooth: fix message queue/rtpoll 2009-02-16 14:17:02 +02:00
Lennart Poettering
a571565f86 don't open the alsa devices in hw:xxx mode 2009-02-15 20:34:38 +01:00
Lennart Poettering
6790c03f91 unify ALSA mixer initialization 2009-02-14 00:21:36 +01:00
Iain Hibbert
dc590c7d0a Optionally disable IPv6
Closes #79
2009-02-13 21:58:09 +01:00
Lennart Poettering
44bca66c59 make PA_GCC_PACKED and PA_GCC_MALLOC actually work 2009-02-13 18:02:47 +01:00
Lennart Poettering
433751ff25 add a module that forwards cork/uncork requests to X11 as fake pause/resume key events 2009-02-13 02:39:07 +01:00
Lennart Poettering
4fab9bf238 add full set of argument description 2009-02-12 23:14:24 +01:00
Lennart Poettering
6bb3dc82ba don't try to recycle rtpoll objects 2009-02-12 22:52:02 +01:00
Lennart Poettering
52bfd47a49 use the same service fd shutdown logic when destructing module and changing profile 2009-02-12 22:09:00 +01:00
Lennart Poettering
b18c8755d6 minor service IO fixes 2009-02-12 22:06:15 +01:00
Lennart Poettering
d9e3abaf83 the service fd is a stream socket, so handle things accordingly 2009-02-12 21:45:17 +01:00
Lennart Poettering
e82b2fd098 handle errors from BT service properly 2009-02-12 16:51:02 +01:00
Lennart Poettering
c3b0d841d1 make module-hal-detect pick up all cards even when they have no device 0 2009-02-12 04:15:15 +01:00
Lennart Poettering
84666dbc88 properly free modargs object when init fails; don't abbreviate modargs in struct 2009-02-12 04:00:40 +01:00
Lennart Poettering
a371306710 tabs are evil 2009-02-12 03:57:59 +01:00
Lennart Poettering
a7b992face some minor fixups 2009-02-12 03:56:01 +01:00
Lennart Poettering
6ada8d1fea instead of reparsing the rate module argument when changing profile, simply restore the originally requested sample_spec, this also makes sure the channel count is properly reset 2009-02-12 03:47:27 +01:00
Lennart Poettering
752f815183 addendum to f56da9893: don't crash when s->sink is NULL 2009-02-12 03:42:28 +01:00
Lennart Poettering
f0cc23d6e5 Merge commit 'elmarco/bt-wip' 2009-02-12 03:35:57 +01:00
Lennart Poettering
5d154255cb minor reformatting 2009-02-12 03:20:52 +01:00
Lennart Poettering
12db1a559d make gcc 4.4 shut up 2009-02-12 03:19:59 +01:00
Lennart Poettering
a729786637 implement a module that corks music/video streams automatically when a phone call is active 2009-02-12 03:19:40 +01:00
Marc-André Lureau
f56da98937 suspend-on-idle: don't crash when so->source is NULL 2009-02-11 16:07:23 +02:00
Marc-André Lureau
cce4359831 bluetooth: reinitialize the sample spec when switching profile
When doing init_profile(), the value u->sample_spec is modified to the
one which has been last configured. In case of HSP, it will be 8kHz.

Later on, when setting the profile to A2DP, it picks up the lower rate
available which match with current u->sample_spec.

In my case, it would be 16kHz. To circunvent the issue, I decided to
reinitialize the u->sample_spec to default value with user module
argument requested rate.
2009-02-10 23:53:36 +02:00
Marc-André Lureau
cac0f9ef2b bluetooth: export nrec 2009-02-10 16:10:00 +02:00
Marc-André Lureau
452e2b9fa0 bluetooth: suspend SCO state when over PCM 2009-02-10 16:09:56 +02:00
Marc-André Lureau
c8a240cddd bluetooth: SCO over PCM 2009-02-09 22:14:45 +02:00
Marc-André Lureau
b35ae7f531 bluetooth: reconnect to audio service when switching profile
Currently, Bluez audio service crash when reusing the same control
socket to switch to different profiles. This typically happen when
first switching from HSP to A2DP on dual headsets.
2009-02-09 22:13:46 +02:00