aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/plugins/CdioParanoiaInputPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-01input/cdio_paranoia: use CopyString() instead of g_strlcpy()Max Kellermann1-2/+1
2014-08-19InputStream: make offset_type unsignedMax Kellermann1-1/+1
2014-05-22InputStream: make Seek() always absoluteMax Kellermann1-15/+2
Remove the "whence" parameter that is not actually necessary, and only complicates the InputStream implementations.
2014-05-12input/cdio: convert to classMax Kellermann1-1/+2
2014-05-12input/cdio: move initialization code to constructorMax Kellermann1-51/+50
Make attributes const, don't allow partial initialization. Instantiate the CdioParanoiaInputStream object at the end of input_cdio_open().
2014-05-12input/cdio: handle cdio_open() failureMax Kellermann1-0/+5
2014-05-12input/cdio: initialize lsn_relofs in constructorMax Kellermann1-2/+1
2014-05-12input/cdio: initialize attribute "buffer_lsn"Max Kellermann1-1/+2
2014-05-12input/cdio: remove unused attribute "trackno"Max Kellermann1-11/+6
2014-05-11InputStream: remove attribute "plugin"Max Kellermann1-1/+1
2014-05-11InputStream: make various methods abstractMax Kellermann1-40/+32
Replace InputPlugin attributes.
2014-05-11InputStream: add virtual destructorMax Kellermann1-9/+0
Replaces the method Close().
2014-05-11input/plugins: make InputStream the base classMax Kellermann1-19/+17
Prepare for adding virtual methods.
2014-05-11InputStream: convert to classMax Kellermann1-3/+3
2014-03-02InputPlugin: allow init() to soft-failMax Kellermann1-3/+3
Add enum InputResult which is a tri-state. Input plugins may now fail and just become unavailable.
2014-01-24Input*: move to input/Max Kellermann1-2/+2
2014-01-24Config*: move to config/Max Kellermann1-2/+2
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-12-17input/cdio: fix typo in #include pathMax Kellermann1-1/+1
Broken by commit 3b0fea5f
2013-11-28Util/StringUtil: add StringStartsWith()Max Kellermann1-1/+2
Replaces GLib's g_str_has_prefix().
2013-11-27input/cdio_paranoia: support libcdio-paranoia 0.90Gaetan Bisson1-0/+5
2013-11-07input/cdio_paranoia: add setting "default_byte_order"Max Kellermann1-2/+26
Allows big-endian users to configure the fallback byte order to little-endian. Without this setting, MPD assumes native byte order if the CD drive can't decide.
2013-10-23input_stream: rename struct to InputStreamMax Kellermann1-6/+6
2013-10-23InputInternal: remove obsolete libraryMax Kellermann1-1/+0
2013-10-19input/cdio: use class AllocatedPathMax Kellermann1-10/+9
2013-10-17InputStream: use int64_t instead of goffsetMax Kellermann1-1/+1
Decouple some more from GLib.
2013-10-17input_plugin: rename struct to "InputPlugin"Max Kellermann1-1/+1
2013-10-16system/ByteOrder: new library for byte ordering / endianessMax Kellermann1-2/+3
Replacing GLib macros.
2013-10-15input/*: don't allocate attribute "mime"Max Kellermann1-3/+3
This was a memory leak, because "mime" was a std::string which created another copy and discarded the allocated buffer.
2013-10-02Log: new logging library APIMax Kellermann1-4/+9
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-04util/Error: new error passing libraryMax Kellermann1-25/+19
Replaces GLib's GError.
2013-01-29refcount: convert to C++Max Kellermann1-1/+0
2013-01-28InputStream: add constructor/destructorMax Kellermann1-5/+2
Eliminate input_stream_init() and input_stream_deinit().
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann1-2/+2
2013-01-26input_stream: forward-declare the structMax Kellermann1-0/+1
Hide the definition from C code, to prepare the transition to C++.
2013-01-25input_{internal,plugin}: convert to C++Max Kellermann1-2/+2
2013-01-21input/cdio_paranoia: convert to C++Max Kellermann1-49/+60
2012-02-15input/cdio_paranoia: whitespace-fix a commentJonathan Neuschäfer1-2/+2
2011-10-10input/cdio_paranoia: pass byte order swapping to the PCM "decoder"Max Kellermann1-32/+11
Send another "magic" MIME type when the byte order must be reversed. This also fixes byte order issues when big-endian was involved (input data or host byte order) - that was completely broken.
2011-09-16input_stream: non-blocking I/OMax Kellermann1-2/+5
Add GMutex, GCond attributes which will be used by callers to conditionally wait on the stream. Remove the (now-useless) plugin method buffer(), wait on GCond instead. Lock the input_stream before each method call. Do the same with the playlist plugins.
2011-09-14input_stream: move input_stream_init(), _deinit() to _internal.cMax Kellermann1-0/+1
2011-01-29copyright year 2011Max Kellermann1-1/+1
2011-01-08input/cdio_paranoia: add module nameMax Kellermann1-0/+1
Seems like we forgot to give this module a name... this can crash MPD on startup.
2010-12-22input/cdda: rename plugin to "cdio_paranoia"Max Kellermann1-39/+39
2010-12-22input/cdda: support reading the whole discMax Kellermann1-10/+8
2010-12-22input/cdda: remove unused function input_cdda_archive_extract_trackno()Max Kellermann1-24/+0
2010-12-22input/cdda: import missing pcm16_to_wave() from the wave encoderMax Kellermann1-0/+11
2010-12-22input/cdda: implement parse_cdda_uri()Max Kellermann1-10/+59
Was missing.
2010-12-22input/cdda: call input_cdda_close() with an input_stream pointerMax Kellermann1-5/+5
Another build fix.
2010-12-22input/cdda: move code to cdda_detect_drive()Max Kellermann1-7/+18