| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| | |
Mixers with the "global" flag set aren't closed automatically when the
output device is closed. Thus, they might still be open when MPD
shuts down.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes an inconsistency in the stored playlist subsystem: when
obtaining the list of playlists (listplaylist, listplaylistinfo), the
file names in the playlist directory are converted to UTF-8 (according
to filesystem_charset), but when saving or loading playlists, the
filesystem_charset setting was ignored.
|
| |
| |
| |
| | |
Call spl_valid_name() in spl_delete().
|
| |
| |
| |
| | |
Don't allocate the file name before the playlist_dir==NULL check.
|
| |
| |
| |
| |
| | |
If we define id3v1_encoding, then the tags are not added to the
database.
|
| |
| |
| |
| |
| |
| | |
The plugin code tried to force libavcodec to supply stereo samples.
That however has never actually worked. By removing this code, we are
able to play surround files for the first time.
|
| |
| |
| |
| |
| |
| | |
If both tags (stream and decoder) are present, we prefer the stream tag.
Fixes #2698, where ICY tag contained useful information, but was
overwritten with bogus decoder tag data.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
output plugin
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This includes some default values of #defined constants used in the
code; it won't compile without it.
|
| |
| |
| |
| |
| |
| | |
This patch prepares support for floating point samples (and probably
other formats). It changes the meaning of the "bits" attribute from a
bit count to a symbolic value.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Copied sources from
http://beesbuzz.biz/code/audiocompress/AudioCompress-2.0.tar.gz
[mk: created this patch under fluffy's name and fixed some gcc
signed/unsigned comparison warnings]
|
| |
| |
| |
| |
| | |
This fixes a regression due to a typo caused by "decoder: use
audio_format_init_checked()".
|
| | |
|
| |
| |
| |
| | |
Support 32 bit samples with software mixer.
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
NEWS
configure.ac
|
| |
| |
| |
| |
| |
| | |
Removed the "vtrack" local variable (which triggered a gcc warning
because it was after the newly introduced NULL check), and run
strtol() on the original parameter.
|
| |
| |
| |
| | |
The function flac_vtrack_tnum() was missing a strrchr()==NULL check.
|
| |
| |
| |
| |
| |
| |
| | |
Allow RIFF/AIFF ID3 tags up to 4 MB (old limit was 256 kB). This
might still be too small for some users, and when somebody complains,
we might do something more clever (like streaming the data into
libid3tag?).
|
| |
| |
| |
| |
| |
| | |
On some platforms, libavcodec wants the output buffer aligned to 16
bytes (because it uses SSE/Altivec internally). It will segfault when
you don't obey this rule.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Pass the audiofile_setup_sample_format() result to
audio_format_init_checked().
|
| | |
|
| |
| |
| |
| |
| | |
Don't maintain the current time stamp in a floating point variable,
because this is subject to rounding errors.
|
| |
| |
| |
| | |
More exact total time.
|
| |
| |
| |
| |
| | |
Negative return values are not documented here, but since the function
prototype is signed, let's be sure.
|
| |
| |
| |
| |
| | |
Don't maintain the current time stamp in a floating point variable,
because this is subject to rounding errors.
|
| |
| |
| |
| | |
The new option "sample_rate" sets the sample rate for libmikmod.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
These functions are trivial, we don't need them separate.
|
| |
| |
| |
| | |
Don't allocate this object, put it on the stack.
|
| |
| |
| |
| |
| | |
Unified function for converting an audio_format object to a string,
for log messages and for the "status" command.
|
| |
| |
| |
| |
| |
| | |
Let the audio_check library verify the audio format in all (relevant,
i.e. non-hardcoded) plugins.
|
| |
| |
| |
| |
| | |
These functions are a wrapper for audio_valid_X(). On error, they
return a GError object.
|
| |
| |
| |
| |
| | |
Internally, use only the integer time. When needed, convert it to a
floating point seconds value.
|
| |
| |
| |
| | |
At this point, the function may be called from the SEEK handler.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When waiting for the decoder to provide more data, the player thread
generates silence chunks if needed. However, it forgot to initialize
the chunk.times attribute, which had now an undefined value. This
patch sets it to -1.0, meaning "value is undefined". Add a ">= 0.0"
check to audio_output_all_check(). This fixes spurious relative
seeking errors, because sometimes, the "elapsed" value falls back to
0.0.
|
| | |
|