Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
54abeab8
Commit
54abeab8
authored
Oct 30, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
increase default buffer size to 4 MB
2 MB was too small for cross-fading a 24 bit file. Increasing to 4 MB is still not too large for weak machines, but is enough for cross-fading.
parent
1dc8a9f0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
NEWS
NEWS
+1
-0
mpd.conf.5
doc/mpd.conf.5
+1
-1
mpdconf.example
doc/mpdconf.example
+1
-1
Main.cxx
src/Main.cxx
+1
-1
No files found.
NEWS
View file @
54abeab8
...
...
@@ -2,6 +2,7 @@ ver 0.18 (2012/??/??)
* configuration:
- allow tilde paths for socket
- default filesystem charset is UTF-8 instead of ISO-8859-1
- increase default buffer size to 4 MB
* protocol:
- new command "readcomments" lists arbitrary file tags
- new command "toggleoutput"
...
...
doc/mpd.conf.5
View file @
54abeab8
...
...
@@ -195,7 +195,7 @@ This is the gain (in dB) applied to songs with ReplayGain tags.
If yes, mpd will normalize the volume of songs as they play. The default is no.
.TP
.B audio_buffer_size <size in KiB>
This specifies the size of the audio buffer in kibibytes. The default is
2048
,
This specifies the size of the audio buffer in kibibytes. The default is
4096
,
large enough for nearly 12 seconds of CD-quality audio.
.TP
.B buffer_before_play <0-100%>
...
...
doc/mpdconf.example
View file @
54abeab8
...
...
@@ -382,7 +382,7 @@ input {
# this may have undesired effects. Don't change this if you don't know what you
# are doing.
#
#audio_buffer_size "
2048
"
#audio_buffer_size "
4096
"
#
# This setting controls the percentage of the buffer which is filled before
# beginning to play. Increasing this reduces the chance of audio file skipping,
...
...
src/Main.cxx
View file @
54abeab8
...
...
@@ -94,7 +94,7 @@
#include <ws2tcpip.h>
#endif
static
constexpr
unsigned
DEFAULT_BUFFER_SIZE
=
2048
;
static
constexpr
unsigned
DEFAULT_BUFFER_SIZE
=
4096
;
static
constexpr
unsigned
DEFAULT_BUFFER_BEFORE_PLAY
=
10
;
static
constexpr
Domain
main_domain
(
"main"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment