music player daemon (fork)
Go to file
Dan McGee 27baf6913e alsa: fix option parsing and restore default period_time
Two bugs here led to a large number of interrupts being generated on the
sound card when ALSA output is being used. Because we specify no default
period_time, the sound card gives us 3000 interrupts/sec rather than a more
sane 20 or 30. This completes the revert of dd7711 already started by
4ca24f.

The larger bug was in the change to config_get_block_unsigned() and using 0
as the default value for both 'buffer_time' and 'period_time'. This means
any pre-setting of these options in newAlsaData() gets wiped out. Add a new
default for period_time, and ensure default values for buffer_time and
period_time are used if none are provided by the user.

Signed-off-by: Dan McGee <dan@archlinux.org>
[mk: set defaults in newAlsaData() to fix auto-configuration; renamed
"_MS" back to "_US" because ALSA expects microseconds, not milliseconds]
Signed-off-by: Max Kellermann <max@duempel.org>
2009-01-25 12:52:37 +01:00
doc sticker: added guidelines for sticker names 2009-01-19 19:13:55 +01:00
m4 m4: deleted acx_pthread.m4 and codeset.m4 2009-01-05 18:09:38 +01:00
scripts added build test script "test.sh" 2008-12-24 11:35:57 +01:00
src alsa: fix option parsing and restore default period_time 2009-01-25 12:52:37 +01:00
.gitignore updated .gitignore 2009-01-10 17:56:58 +01:00
AUTHORS Fix AUTHORS UTF-8 compliance. 2008-12-21 06:10:47 -08:00
autogen.sh autogen.sh: removed libtoolize 2008-11-22 14:57:06 +01:00
configure.ac oggvorbis: define HAVE_OGGVORBIS when tremor is enabled 2009-01-15 22:54:31 +01:00
COPYING Update the text of the GPLv2, this fixes the address and a few other oddities. 2008-12-20 19:02:09 -08:00
INSTALL allow ~/.mpd/mpd.conf as alternate config file 2009-01-14 14:31:55 +01:00
Makefile.am Makefile.am: distribute only real scripts 2008-12-24 11:01:14 +01:00
NEWS tag: added support for MusicBrainz tags 2009-01-24 20:02:55 +01:00
README Word wrap to 80 char lines 2008-12-20 19:27:02 -08:00
TODO Update ChangeLog and TODO 2008-02-25 00:19:14 +00:00
UPGRADING UPGRADING: added a 0.14 section 2008-11-05 21:27:30 +01:00
valgrind.suppressions added valgrind suppressions file 2009-01-10 18:55:48 +01:00

		       Music Player Daemon (MPD)
			http://www.musicpd.org

A daemon for playing music of various formats.  Music is played through the 
server's audio device.  The daemon stores info about all available music, 
and this info can be easily searched and retrieved.  Player control, info
retrieval, and playlist management can all be managed remotely.

For basic installation information see the INSTALL file.

MPD is released under the GNU General Public License version 2, which is
distributed in the COPYING file.

You should have received a copy of the GNU General Public License along with
this program.  If not, see <http://www.gnu.org/licenses/>.