MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / Finish

Method Finish

test/run_decoder.cxx:109–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 :seek_where(_seek_where) {}
108
109 void Finish() {
110 if (!IsInitialized())
111 throw "Unrecognized file";
112
113 if (seek_error)
114 throw "Seek error";
115
116 if (seek_where != SongTime{}) {
117 if (!seekable)
118 throw "Not seekable";
119
120 throw "Did not seek";
121 }
122 }
123
124 /* virtual methods from DecoderClient */
125 void Ready(AudioFormat audio_format,

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected