lp:mpd

Created by VCS imports on 2007-11-12 and last modified on 2008-08-16
Get this branch:
bzr branch lp:mpd

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
Music Player Daemon
Status:
Development

Import details

Import Status: Invalid

Last successful import was on 2010-03-22.

Import started on 2010-03-24 on pear and finished on 2010-03-24 taking 10 seconds — see the log
Import started on 2010-03-24 on pear and finished on 2010-03-24 taking 10 seconds — see the log
Import started on 2010-03-23 on russkaya and finished on 2010-03-23 taking 20 seconds — see the log
Import started on 2010-03-23 on galapagos and finished on 2010-03-23 taking 1 hour — see the log

Whiteboard

branch no longer exists

Recent revisions

1878. By normalperson on 2008-08-16

bs: better support for mp4/faad/aac and wavpack builds

* Correctly define the following CPP directives:
  HAVE_FAAD_BUFLEN_FUNCS
  HAVE_MP4AUDIOSPECIFICCONFIG

* link against libwavpack correctly in bs

* fix include path for the mpd config.h for mp4ff

1877. By normalperson on 2008-06-30

http: hopefully allow seeking to work on static files

1876. By normalperson on 2008-06-30

don't call seekInputStream(0) if r==0

If nothing has been read from the input stream, we don't have to
rewind it.

Author: Max Kellermann <email address hidden>

1875. By normalperson on 2008-06-30

eliminated local variable "to_read"

The variable "to_read" is never modified except in the last iteration
of the while loop. This means the while condition will never become
false, as the body will break before that may be checked.

Author: Max Kellermann <email address hidden>

1874. By normalperson on 2008-06-30

introduce struct condition as a more correct version of Notify

Start using it in the HTTP code

1873. By normalperson on 2008-06-30

utils: pthread_{mutex,cond}_init can fail, so check for it

1872. By normalperson on 2008-06-30

http: initial rewrite using ringbuffer + pthreads

This institutes the usage of a separate thread to buffer HTTP
input. It is basically practice code for using the ringbuffer
code which I plan on reusing for the OutputBuffer as well as
further input buffering for disk (networked filesystems over
WAN, laptops on battery, etc).

Each readFromInputStream() call on an HTTP stream can take
several seconds to complete, short reads are avoided.

A single-threaded solution for systems supporting large enough
SO_RCVBUF values should also be possible and will likely be done
in the future; but this lock-free(except when full/empty)
ringbuffer is cool :)

1871. By normalperson on 2008-06-30

http: fix some small memory leaks when hitting redirects

1870. By normalperson on 2008-06-30

utils: add new unforgiving utility functions

We'll be using pipes when waiting for I/O, and condition
variables at other times.

1869. By normalperson on 2008-06-30

ringbuf: add thread-safe, thread-specific reset functions

This will allow both the reader and writer threads to
reset the ringbuffer in a thread-safe fashion.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.