mirror of
http://mpg123.de/trunk/.git
synced 2025-07-30 02:01:12 +03:00
doc: more doxygen in examples, less warning
git-svn-id: svn://scm.orgis.org/mpg123/trunk@4841 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
#include <stdio.h>
|
||||
#include <strings.h>
|
||||
|
||||
/** Print usage info. */
|
||||
void usage(const char *cmd)
|
||||
{
|
||||
printf("Usage: %s <input> [<driver> [<output> [encoding [buffersize]]]]\n"
|
||||
@ -22,6 +23,7 @@ void usage(const char *cmd)
|
||||
exit(99);
|
||||
}
|
||||
|
||||
/** Free handles. */
|
||||
void cleanup(mpg123_handle *mh, out123_handle *ao)
|
||||
{
|
||||
out123_del(ao);
|
||||
@ -30,6 +32,7 @@ void cleanup(mpg123_handle *mh, out123_handle *ao)
|
||||
mpg123_delete(mh);
|
||||
}
|
||||
|
||||
/** The whole operation. */
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
mpg123_handle *mh = NULL;
|
||||
|
Reference in New Issue
Block a user