profile/ivi/pulseaudio.git
15 years agoSending translation for Finnish
vpv [Sun, 5 Apr 2009 12:09:35 +0000 (12:09 +0000)]
Sending translation for Finnish

15 years agoSending translation for Finnish
vpv [Sun, 5 Apr 2009 10:48:58 +0000 (10:48 +0000)]
Sending translation for Finnish

15 years agorun make po-update
Lennart Poettering [Sun, 5 Apr 2009 01:16:04 +0000 (03:16 +0200)]
run make po-update

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Sun, 5 Apr 2009 01:15:00 +0000 (03:15 +0200)]
Merge commit 'origin/master-tx'

15 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Sun, 5 Apr 2009 01:05:51 +0000 (03:05 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

15 years agomake it easy to disable interpolation in the interpolation test tool
Lennart Poettering [Sun, 5 Apr 2009 01:04:22 +0000 (03:04 +0200)]
make it easy to disable interpolation in the interpolation test tool

15 years agoFix a couple of races in native protocol
Lennart Poettering [Sun, 5 Apr 2009 00:59:02 +0000 (02:59 +0200)]
Fix a couple of races in native protocol

Also make sure we account for recording memblock that are currently 'on
the fly' between the main and the IO thread.

Also makes a couple of timing calls that were done in different calls
in a single inter-thread call. That way there is a better guarantee that
they match up.

15 years agodon't try to outsmart the transport
Lennart Poettering [Sun, 5 Apr 2009 00:50:32 +0000 (02:50 +0200)]
don't try to outsmart the transport

15 years agointroduce pa_{sink|source}_get_latency_within_thread()
Lennart Poettering [Sun, 5 Apr 2009 00:46:38 +0000 (02:46 +0200)]
introduce pa_{sink|source}_get_latency_within_thread()

15 years agoModify smoothing code to make cubic interpolation optional and allow 'quick fixups...
Lennart Poettering [Sun, 5 Apr 2009 00:26:02 +0000 (02:26 +0200)]
Modify smoothing code to make cubic interpolation optional and allow 'quick fixups' on resuming

The primary reason for this change is to allow time graphs that do not
go through the origin and hence smoothing starting from the origin is
not desired. This change will allow passing time data into the smoother
while paused and then abruptly use that data without smoothing using the
'quick fixup' flag when resuming.

Primary use case is allowing recording time graphs where the data
recorded originates from a time before the stream was created. The
resulting graft will be shifted and should not be smoothened to go
through the origin.

15 years agoSending translation for Finnish
vpv [Sat, 4 Apr 2009 22:10:50 +0000 (22:10 +0000)]
Sending translation for Finnish

15 years agoinitialize sound cards only after the 'control' object appeared
Lennart Poettering [Sat, 4 Apr 2009 02:13:58 +0000 (04:13 +0200)]
initialize sound cards only after the 'control' object appeared

15 years agoincrease log buffer further
Lennart Poettering [Sat, 4 Apr 2009 02:13:11 +0000 (04:13 +0200)]
increase log buffer further

15 years agorefuse to initialize on modem devices
Lennart Poettering [Sat, 4 Apr 2009 02:12:42 +0000 (04:12 +0200)]
refuse to initialize on modem devices

15 years agoadd missing files to POTFILES.in
Lennart Poettering [Sat, 4 Apr 2009 00:30:30 +0000 (02:30 +0200)]
add missing files to POTFILES.in

15 years agorun make update-po
Lennart Poettering [Sat, 4 Apr 2009 00:29:00 +0000 (02:29 +0200)]
run make update-po

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Sat, 4 Apr 2009 00:28:13 +0000 (02:28 +0200)]
Merge commit 'origin/master-tx'

15 years agovarious spelling fixes
Maarten Bosmans [Wed, 1 Apr 2009 10:35:44 +0000 (12:35 +0200)]
various spelling fixes

15 years agoPOTFILES.IN: Refer to src/pulsecore/dbus-util.c
Luke Yelavich [Wed, 1 Apr 2009 01:59:37 +0000 (12:59 +1100)]
POTFILES.IN: Refer to src/pulsecore/dbus-util.c

15 years agoSending translation for po/sr@latin.po
soko [Fri, 3 Apr 2009 18:42:32 +0000 (18:42 +0000)]
Sending translation for po/sr@latin.po

15 years agoSending translation for Serbian
soko [Fri, 3 Apr 2009 18:41:45 +0000 (18:41 +0000)]
Sending translation for Serbian

15 years agoSending translation for po/sr@latin.po
soko [Fri, 3 Apr 2009 18:27:29 +0000 (18:27 +0000)]
Sending translation for po/sr@latin.po

15 years agoSending translation for Serbian
soko [Fri, 3 Apr 2009 18:26:59 +0000 (18:26 +0000)]
Sending translation for Serbian

15 years agoMerge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Lennart Poettering [Fri, 3 Apr 2009 15:50:37 +0000 (17:50 +0200)]
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio

15 years agodowngrade a few messages
Lennart Poettering [Fri, 3 Apr 2009 15:49:05 +0000 (17:49 +0200)]
downgrade a few messages

15 years agoSending translation for Serbian
soko [Thu, 2 Apr 2009 22:22:49 +0000 (22:22 +0000)]
Sending translation for Serbian

15 years agoSending translation for Chinese (Simplified)
leahliu [Thu, 2 Apr 2009 09:32:20 +0000 (09:32 +0000)]
Sending translation for Chinese (Simplified)

15 years agoplot the difference between system and sound card time
Lennart Poettering [Wed, 1 Apr 2009 21:05:43 +0000 (23:05 +0200)]
plot the difference between system and sound card time

15 years agoproperly account for seeks in the requested_bytes counter
Lennart Poettering [Wed, 1 Apr 2009 21:05:09 +0000 (23:05 +0200)]
properly account for seeks in the requested_bytes counter

15 years agouse machine id instead of hostname to identify local connections
Lennart Poettering [Wed, 1 Apr 2009 19:15:52 +0000 (21:15 +0200)]
use machine id instead of hostname to identify local connections

15 years agoSending translation for Italian
tombo [Wed, 1 Apr 2009 17:39:09 +0000 (17:39 +0000)]
Sending translation for Italian

15 years agoload bt discover module only when installed
Lennart Poettering [Wed, 1 Apr 2009 14:15:27 +0000 (16:15 +0200)]
load bt discover module only when installed

15 years agoprepare test7
Lennart Poettering [Wed, 1 Apr 2009 01:09:10 +0000 (03:09 +0200)]
prepare test7

15 years agopass destination source/sink when moving streams so that we can access them
Lennart Poettering [Wed, 1 Apr 2009 01:04:39 +0000 (03:04 +0200)]
pass destination source/sink when moving streams so that we can access them

15 years agodon't access i->sink if it is not set
Lennart Poettering [Wed, 1 Apr 2009 01:03:20 +0000 (03:03 +0200)]
don't access i->sink if it is not set

15 years agoprepare test6
Lennart Poettering [Tue, 31 Mar 2009 22:43:29 +0000 (00:43 +0200)]
prepare test6

15 years agoincrease timing update interval exponentially
Lennart Poettering [Tue, 31 Mar 2009 22:36:18 +0000 (00:36 +0200)]
increase timing update interval exponentially

15 years agoin verbose mode log buffer attr changes
Lennart Poettering [Tue, 31 Mar 2009 22:35:37 +0000 (00:35 +0200)]
in verbose mode log buffer attr changes

15 years agoadd buffer_attr callback stuff to exported symbol list
Lennart Poettering [Tue, 31 Mar 2009 22:33:40 +0000 (00:33 +0200)]
add buffer_attr callback stuff to exported symbol list

15 years agofix buffer defaults
Lennart Poettering [Tue, 31 Mar 2009 20:16:53 +0000 (22:16 +0200)]
fix buffer defaults

15 years agobe a bit more verbose about max_request changes
Lennart Poettering [Tue, 31 Mar 2009 19:36:45 +0000 (21:36 +0200)]
be a bit more verbose about max_request changes

15 years agoLog underruns
Lennart Poettering [Tue, 31 Mar 2009 19:36:09 +0000 (21:36 +0200)]
Log underruns

15 years agohandle buffer_attr changed messages properly
Lennart Poettering [Tue, 31 Mar 2009 19:35:34 +0000 (21:35 +0200)]
handle buffer_attr changed messages properly

15 years agoupdate command name table
Lennart Poettering [Tue, 31 Mar 2009 18:43:05 +0000 (20:43 +0200)]
update command name table

15 years agofix an error where a signal was accidently freed when it is tried to register it...
Lennart Poettering [Tue, 31 Mar 2009 18:31:15 +0000 (20:31 +0200)]
fix an error where a signal was accidently freed when it is tried to register it twice

15 years agoMerge commit 'origin/master-tx'
Lennart Poettering [Tue, 31 Mar 2009 18:28:58 +0000 (20:28 +0200)]
Merge commit 'origin/master-tx'

15 years agoSending translation for Spanish
beckerde [Tue, 31 Mar 2009 12:39:49 +0000 (12:39 +0000)]
Sending translation for Spanish

15 years agoSending translation for Spanish
beckerde [Tue, 31 Mar 2009 02:48:57 +0000 (02:48 +0000)]
Sending translation for Spanish

15 years agoSending translation for Spanish
beckerde [Tue, 31 Mar 2009 00:39:58 +0000 (00:39 +0000)]
Sending translation for Spanish

15 years agorevive solaris module
Finn Thain [Sat, 7 Mar 2009 05:48:10 +0000 (16:48 +1100)]
revive solaris module

On Wed, 4 Mar 2009, Lennart Poettering wrote:

[snip]
> > This patch disables link map/library versioning unless ld is GNU ld.
> > Another approach for solaris would be to use that linker's -M option,
> > but I couldn't make that work (due to undefined mainloop, browse and
> > simple symbols when linking pacat. I can post the errors if anyone is
> > intested.)
>
> The linking in PA is a bit weird since we have a cyclic dependency
> between libpulse and libpulsecommon which however is not explicit.

Could that affect the pacat link somehow?

What are the implications for client apps that link with the non-versioned
libraries I've been building on solaris?

[snip]
> >  struct userdata {
> >      pa_core *core;
> > @@ -87,15 +92,24 @@ struct userdata {
> >
> >      pa_memchunk memchunk;
> >
> > -    unsigned int page_size;
> > -
> >      uint32_t frame_size;
> > -    uint32_t buffer_size;
> > -    unsigned int written_bytes, read_bytes;
> > +    int32_t buffer_size;
> > +    volatile uint64_t written_bytes, read_bytes;
> > +    pa_mutex *written_bytes_lock;
>
> Hmm, we generally try do do things without locking in PA. This smells as
> if it was solvable using atomic ints as well.
>
> Actually, looking at this again I get the impression these mutex are
> completely unnecessary here. All functions that lock these mutexes are
> called from the IO thread so no locking should be nessary.
>
> Please don't use volatile here. I am pretty sure it is a misuse. Also
> see http://kernel.org/doc/Documentation/volatile-considered-harmful.txt
> which applies here too I think.

OK, I've removed the locks. For some reason I thought that the get_latency
function was called from two different threads.

> > +static void sink_set_volume(pa_sink *s) {
> > +    struct userdata *u;
> > +    audio_info_t info;
> > +
> > +    pa_assert_se(u = s->userdata);
> > +
> > +    if (u->fd >= 0) {
> > +        AUDIO_INITINFO(&info);
> > +
> > +        info.play.gain = pa_cvolume_avg(&s->virtual_volume) * AUDIO_MAX_GAIN / PA_VOLUME_NORM;
> > +        assert(info.play.gain <= AUDIO_MAX_GAIN);
>
> I'd prefer if you'd use pa_cvolume_max here instead of pa_cvolume_avg()
> because this makes the volume independant of the balance.
>
> > -    info.play.error = 0;
> > +        info.play.gain = pa_cvolume_avg(&s->virtual_volume) * AUDIO_MAX_GAIN / PA_VOLUME_NORM;
> > +        assert(info.play.gain <= AUDIO_MAX_GAIN);
>
> Same here. (i.e. for the source)

Done and done.

> > +            if (u->sink->thread_info.rewind_requested)
> > +                pa_sink_process_rewind(u->sink, 0);
>
> This is correct.
>
> >
> >              err = ioctl(u->fd, AUDIO_GETINFO, &info);
> >              pa_assert(err >= 0);
>
> Hmm, if at all this should be pa_assert_se(), not pa_assert() (so that
> it is not defined away by -DNDEBUG). However I'd prefer if the error
> would be could correctly. (I see that this code is not yours, but
> still...)

Done.

> > +                        case EINTR:
> > +                            break;
>
> I think you should simply try again in this case...

Done.

> > +                        case EAGAIN:
> > +                            u->buffer_size = u->buffer_size * 18 / 25;
> > +                            u->buffer_size -= u->buffer_size % u->frame_size;
> > +                            u->buffer_size = PA_MAX(u->buffer_size, (int32_t)MIN_BUFFER_SIZE);
> > +                            pa_sink_set_max_request(u->sink, u->buffer_size);
> > +                            pa_log("EAGAIN. Buffer size is now %u bytes (%llu buffered)", u->buffer_size, buffered_bytes);
> > +                            break;
>
> Hmm, care to explain this?

EAGAIN happens when the user requests a buffer size that is too large for
the STREAMS layer to accept. We end up looping with EAGAIN every time we
try to write out the rest of the buffer, which burns enough CPU time to
trip the CPU limit.

So, I reduce the buffer size with each EAGAIN. This gets us reasonably
close to the largest usable buffer size. (Perhaps there's a better way to
determine what that limit is, but I don't know how.)

> > +
> > +            pa_rtpoll_set_timer_absolute(u->rtpoll, xtime0 + pa_bytes_to_usec(buffered_bytes / 2, &u->sink->sample_spec));
> > +        } else {
> > +            pa_rtpoll_set_timer_disabled(u->rtpoll);
> >          }
>
> Hmm, you schedule audio via timers? Is that a good idea?

Perhaps not. I won't know until I test on more hardware.

But, given that we have rt priority and high resolution timers on solaris,
I think it is OK in theory...

The reason I used a timer was to minimise CPU usage and avoid the CPU
limit. Recall that getting woken up by poll is not an option for playback
unfortunately. We can arrange for a signal when the FD becomes writable,
but that throws out the whole buffer size concept, which acts to reduce
latency.

> That really only makes sense if you have to deal with large buffers and
> support rewinding.

I've implemented rewind support, but I'm still not sure that I have
understood the concept; I take it that we "rewind" (from the point-of-view
of the renderer, not the sink) so that some rendered but as yet unplayed
portion of the memblock/buffers can then be rendered again?

> Please keep in mind that the system clock and the sound card clock
> deviate. If you use the system timers to do PCM scheduling ou might need
> a pa_smoother object that is able to estimate the deviation for you.

Actually, in an earlier version I did use a smoother (after reading about
that in the wiki). But because of the non-monotonic sample counter (bug?)
I decided that it probably wasn't worth the added complexity so I removed
it. I'll put the smoother back if I can figure out the problem with the
sample counter.

>
> > +    u->frame_size = pa_frame_size(&ss);
> >
> > -    if ((fd = open(p = pa_modargs_get_value(ma, "device", DEFAULT_DEVICE), mode | O_NONBLOCK)) < 0)
> > +    u->buffer_size = 16384;
>
> It would appear more appropriate to me if the buffer size is adjusted by
> the sample spec used.

Done.

> One last thing: it would probably be a good idea to allocate a pa_card
> object and attach the sink and the source to it.

It is possible to open /dev/audio twice by loading the solaris module
twice -- once for the sink (passing record=0) and once for source (passing
playback=0), thus giving seperate threads/LWPs for source and sink. It
might be misleading to allocate two cards in that situation?

> Right now pa_cards are mostly useful for switching profiles but even if
> you do not allow switching profiles on-the-fly it is of some value to
> find out via the cards object which source belongs to which sink.
>
> Otherwise I am happy!
>
> Thanks for your patch! I'd be thankful if you could fix the issues
> pointed out and prepare another patch on top of current git!

No problem. Patch follows. It also includes a portability fix for
pa_realpath and a fix for a bug in the pa_signal_new() error path that
causes signal data be freed if you attempt to register the same signal
twice.

> I hope I answered all your questions,

Your answers were very helpful, thanks.

Finn

>
> Lennart
>
>

15 years agoSpecifying ALSA mixer control
Kyle Cronan [Mon, 30 Mar 2009 17:49:37 +0000 (12:49 -0500)]
Specifying ALSA mixer control

On Fri, Mar 27, 2009 at 7:21 AM, Lennart Poettering <lennart@poettering.net> wrote:

>> I tried installing the latest git sources on my Ubuntu Jaunty box but
>> it just broke sound in all my applications.  For my own purposes, I'm
>> going to need to start with the Ubuntu-patched 0.9.14.  However, if
>> you are willing to accept this patch I will forward port it so that it
>> applies to the latest sources.  It's a completely harmless change, so
>> why not apply it?
>
> Yes, I am happy to apply it. Could you please update it for current git?
>

Great.  An updated patch is attached.  For symmetry, I added this
option to the alsa source module as well.

The Ubuntu folks have customized pulse so much that it is difficult
for me to get this version working on my system.  For this patch I
have only made sure that it compiles.  But it does pretty much the
same thing as the one for 0.9.14, which is working great for me.

Thanks,
Kyle

15 years agofix some typos in doxygen comments
Maarten Bosmans [Sun, 29 Mar 2009 18:41:58 +0000 (20:41 +0200)]
fix some typos in doxygen comments

these bugged me for a while now.

Maarten

15 years agohandle failure to parse proplist in cli-command gracefully
Maarten Bosmans [Mon, 30 Mar 2009 14:24:18 +0000 (16:24 +0200)]
handle failure to parse proplist in cli-command gracefully

15 years agoexplain ff7033c11d9248fe837204b03c8397231dc511fe
Lennart Poettering [Mon, 30 Mar 2009 22:26:12 +0000 (00:26 +0200)]
explain ff7033c11d9248fe837204b03c8397231dc511fe

15 years agoRevert "make sure we always read in all properties"
Lennart Poettering [Mon, 30 Mar 2009 22:22:17 +0000 (00:22 +0200)]
Revert "make sure we always read in all properties"

This reverts commit 1c8f968282208be391f062c1656d85e2ba5078ac.

Turns out doing this is racy. The appropriate fix seems to be
38825d79123678bf0c5d156aaea4bedb888a7fcd

15 years agoallow nofail mode only when no server string was specified
Lennart Poettering [Mon, 30 Mar 2009 20:31:03 +0000 (20:31 +0000)]
allow nofail mode only when no server string was specified

15 years agominor cleanups
Lennart Poettering [Mon, 30 Mar 2009 19:07:41 +0000 (21:07 +0200)]
minor cleanups

15 years agotake org.pulseaudio.Server instead of org.pulseaudio to match the interface name...
Lennart Poettering [Mon, 30 Mar 2009 19:07:23 +0000 (21:07 +0200)]
take org.pulseaudio.Server instead of org.pulseaudio to match the interface name already used in the HAL module

15 years agofix compiler warning
Lennart Poettering [Mon, 30 Mar 2009 18:57:23 +0000 (20:57 +0200)]
fix compiler warning

15 years agomake sure we never access an invalid pa_bluetooth_device object
Lennart Poettering [Mon, 30 Mar 2009 18:57:12 +0000 (20:57 +0200)]
make sure we never access an invalid pa_bluetooth_device object

15 years agomake sure we always read in all properties
Lennart Poettering [Mon, 30 Mar 2009 18:56:03 +0000 (20:56 +0200)]
make sure we always read in all properties

15 years agoget rid of old 'Connected' property parsing and make sure we don't execute two case...
Lennart Poettering [Mon, 30 Mar 2009 18:55:50 +0000 (20:55 +0200)]
get rid of old 'Connected' property parsing and make sure we don't execute two case branches

15 years agointroduce typedef for pa_bt_audio_state and use it everywhere
Lennart Poettering [Mon, 30 Mar 2009 18:55:10 +0000 (20:55 +0200)]
introduce typedef for pa_bt_audio_state and use it everywhere

15 years agoMerge commit 'elmarco/bluetooth-fixes'
Lennart Poettering [Mon, 30 Mar 2009 18:34:49 +0000 (20:34 +0200)]
Merge commit 'elmarco/bluetooth-fixes'

15 years agoMerge commit 'elmarco/dbus'
Lennart Poettering [Mon, 30 Mar 2009 18:26:27 +0000 (20:26 +0200)]
Merge commit 'elmarco/dbus'

15 years agoUse pa_source_set_max_rewind_within_thread() for updating the monitor source's max_rewind
Lennart Poettering [Mon, 30 Mar 2009 18:19:32 +0000 (20:19 +0200)]
Use pa_source_set_max_rewind_within_thread() for updating the monitor source's max_rewind

15 years agogtk-test: updated to use PA_CONTEXT_NOAUTOSPAWN|PA_CONTEXT_NOFAIL
Marc-André Lureau [Fri, 27 Mar 2009 18:41:52 +0000 (20:41 +0200)]
gtk-test: updated to use PA_CONTEXT_NOAUTOSPAWN|PA_CONTEXT_NOFAIL

15 years agopulse: client connect to dbus
Marc-André Lureau [Fri, 20 Mar 2009 14:51:28 +0000 (16:51 +0200)]
pulse: client connect to dbus

15 years agodaemon: take org.pulseaudio
Marc-André Lureau [Fri, 20 Mar 2009 16:39:30 +0000 (18:39 +0200)]
daemon: take org.pulseaudio

15 years agodbus: split dbus-util into dbus-shared
Marc-André Lureau [Wed, 18 Mar 2009 23:35:02 +0000 (01:35 +0200)]
dbus: split dbus-util into dbus-shared

modules: fix dbus-util include
pulse: get dbus at context connection

15 years agoMerge commit 'coling/master'
Lennart Poettering [Mon, 30 Mar 2009 17:15:39 +0000 (19:15 +0200)]
Merge commit 'coling/master'

15 years agoMerge commit 'origin/master'
Lennart Poettering [Mon, 30 Mar 2009 17:14:09 +0000 (19:14 +0200)]
Merge commit 'origin/master'

15 years agorework tunneling code
Lennart Poettering [Mon, 30 Mar 2009 17:13:07 +0000 (19:13 +0200)]
rework tunneling code

15 years agonotify clients about tlength changes
Lennart Poettering [Mon, 30 Mar 2009 16:46:12 +0000 (18:46 +0200)]
notify clients about tlength changes

15 years agotypo fix
Lennart Poettering [Mon, 30 Mar 2009 16:27:33 +0000 (18:27 +0200)]
typo fix

15 years agoadd pa_memblockq_apply_attr()/pa_memblockq_get_attr()
Lennart Poettering [Mon, 30 Mar 2009 16:27:07 +0000 (18:27 +0200)]
add pa_memblockq_apply_attr()/pa_memblockq_get_attr()

15 years agodocument more often the context certain functions are called in
Lennart Poettering [Mon, 30 Mar 2009 16:26:23 +0000 (18:26 +0200)]
document more often the context certain functions are called in

15 years agosimplify latency config functions a bit and make them callable in more contexts
Lennart Poettering [Mon, 30 Mar 2009 16:23:48 +0000 (18:23 +0200)]
simplify latency config functions a bit and make them callable in more contexts

15 years agoTrigger move callback a little bit earlier so that no IO thread is running
Lennart Poettering [Mon, 30 Mar 2009 16:21:34 +0000 (18:21 +0200)]
Trigger move callback a little bit earlier so that no IO thread is running

15 years agodon't enabled tsched on software ALSA devices
Lennart Poettering [Mon, 30 Mar 2009 16:00:23 +0000 (18:00 +0200)]
don't enabled tsched on software ALSA devices

15 years agobluetooth: use new audio State properties
Marc-André Lureau [Fri, 27 Mar 2009 19:48:04 +0000 (21:48 +0200)]
bluetooth: use new audio State properties

15 years agobluetooth: GetProperties after profile UUID show up
Marc-André Lureau [Fri, 27 Mar 2009 11:56:26 +0000 (13:56 +0200)]
bluetooth: GetProperties after profile UUID show up

15 years agobluetooth: remove racy GetProperties to check profile
Marc-André Lureau [Fri, 27 Mar 2009 11:43:32 +0000 (13:43 +0200)]
bluetooth: remove racy GetProperties to check profile

15 years agobluetooth: don't access outside array range
Marc-André Lureau [Thu, 26 Mar 2009 19:31:12 +0000 (21:31 +0200)]
bluetooth: don't access outside array range

15 years agobluetooth: fail when switching on non-connected profile
Marc-André Lureau [Tue, 24 Mar 2009 12:38:52 +0000 (14:38 +0200)]
bluetooth: fail when switching on non-connected profile

15 years agobluetooth: connected can be -1, check > 0
Marc-André Lureau [Tue, 24 Mar 2009 12:07:51 +0000 (14:07 +0200)]
bluetooth: connected can be -1, check > 0

15 years agoSmall fix for MacOSX compat
Lennart Poettering [Fri, 27 Mar 2009 13:37:58 +0000 (14:37 +0100)]
Small fix for MacOSX compat

Issue originally pointed out by Igor Zubkov.

15 years agofix typo
Lennart Poettering [Thu, 26 Mar 2009 23:06:15 +0000 (00:06 +0100)]
fix typo

15 years agoDo not reconfigure capabilities.
Luiz Augusto von Dentz [Thu, 26 Mar 2009 18:38:40 +0000 (15:38 -0300)]
Do not reconfigure capabilities.

15 years agoQuery and make use of the current configuration.
Luiz Augusto von Dentz [Tue, 24 Mar 2009 15:04:52 +0000 (12:04 -0300)]
Query and make use of the current configuration.

15 years agoUpdate ipc to match new message headers introduced on BlueZ 4.34.
Luiz Augusto von Dentz [Wed, 25 Mar 2009 20:57:19 +0000 (17:57 -0300)]
Update ipc to match new message headers introduced on BlueZ 4.34.

15 years agoFix misuse of 'frame.joint' when estimating the frame length.
Luiz Augusto von Dentz [Mon, 23 Mar 2009 14:46:08 +0000 (11:46 -0300)]
Fix misuse of 'frame.joint' when estimating the frame length.

'frame.joint' is not the flag for joint stereo mode, it is a set of bits which
show for which subbands channels joining was actually used.

15 years agoMaintain the original code style for sbc.
Luiz Augusto von Dentz [Mon, 23 Mar 2009 14:29:41 +0000 (11:29 -0300)]
Maintain the original code style for sbc.

15 years agoraop: Add call to pa_sink_set_max_request()
Colin Guthrie [Wed, 25 Mar 2009 23:05:41 +0000 (23:05 +0000)]
raop: Add call to pa_sink_set_max_request()

This is just a copy from the ESD version which is a little crude, but will do for now.

15 years agoadd missing initialization
Lennart Poettering [Wed, 25 Mar 2009 22:49:26 +0000 (23:49 +0100)]
add missing initialization

15 years agomake sure the discovery module is only loaded once
Lennart Poettering [Wed, 25 Mar 2009 22:49:09 +0000 (23:49 +0100)]
make sure the discovery module is only loaded once

15 years agoon monitor source be fine with any latency range set by the sink
Lennart Poettering [Wed, 25 Mar 2009 15:31:16 +0000 (16:31 +0100)]
on monitor source be fine with any latency range set by the sink

15 years agoadd missing whitespace
Lennart Poettering [Wed, 25 Mar 2009 15:30:46 +0000 (16:30 +0100)]
add missing whitespace

15 years agocopy latency flags from sink to monitor source
Lennart Poettering [Wed, 25 Mar 2009 15:30:28 +0000 (16:30 +0100)]
copy latency flags from sink to monitor source

15 years agouse u->use_tsched everywhere
Lennart Poettering [Wed, 25 Mar 2009 15:17:45 +0000 (16:17 +0100)]
use u->use_tsched everywhere