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
07080574
Commit
07080574
authored
Jul 04, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
encoder/Interface: allow throwing any exception
parent
6c22c343
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
EncoderInterface.hxx
src/encoder/EncoderInterface.hxx
+6
-6
No files found.
src/encoder/EncoderInterface.hxx
View file @
07080574
...
...
@@ -50,7 +50,7 @@ public:
* usable for more data, and only Read() and Close() can be
* called.
*
* Throws
#std::runtime_error
on error.
* Throws on error.
*/
virtual
void
End
()
{
}
...
...
@@ -59,7 +59,7 @@ public:
* Flushes an encoder object, make everything which might
* currently be buffered available by Read().
*
* Throws
#std::runtime_error
on error.
* Throws on error.
*/
virtual
void
Flush
()
{
}
...
...
@@ -69,7 +69,7 @@ public:
* some encoders to flush the previous sub-stream, in
* preparation to begin a new one.
*
* Throws
#std::runtime_error
on error.
* Throws on error.
*/
virtual
void
PreTag
()
{
}
...
...
@@ -80,7 +80,7 @@ public:
* Instructions: call PreTag(); then obtain flushed data with
* Read(); finally call Tag().
*
* Throws
#std::runtime_error
on error.
* Throws on error.
*
* @param tag the tag object
*/
...
...
@@ -90,7 +90,7 @@ public:
/**
* Writes raw PCM data to the encoder.
*
* Throws
#std::runtime_error
on error.
* Throws on error.
*
* @param data the buffer containing PCM samples
* @param length the length of the buffer in bytes
...
...
@@ -122,7 +122,7 @@ public:
* first encoder_write() call, you should invoke
* encoder_read() to obtain the file header.
*
* Throws
#std::runtime_error
on error.
* Throws on error.
*
* @param audio_format the encoder's input audio format; the plugin
* may modify the struct to adapt it to its abilities
...
...
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