decoder/Bridge: add method OpenLocal()

This commit is contained in:
Max Kellermann
2019-05-30 17:08:09 +02:00
parent cfb678d618
commit 8fef4af7b2
3 changed files with 16 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2003-2018 The Music Player Daemon Project
* Copyright 2003-2019 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -30,6 +30,7 @@
class PcmConvert;
struct MusicChunk;
class DecoderControl;
class Path;
struct Tag;
/**
@@ -153,6 +154,11 @@ public:
std::rethrow_exception(error);
}
/**
* Open a local file.
*/
InputStreamPtr OpenLocal(Path path_fs);
/* virtual methods from DecoderClient */
void Ready(AudioFormat audio_format,
bool seekable, SignedSongTime duration) override;