25 lines
542 B
C
25 lines
542 B
C
/**
|
|
* ctrmus - 3DS Music Player
|
|
* Copyright (C) 2016 Mahyar Koshkouei
|
|
*
|
|
* This program comes with ABSOLUTELY NO WARRANTY and is free software. You are
|
|
* welcome to redistribute it under certain conditions; for details see the
|
|
* LICENSE file.
|
|
*/
|
|
|
|
/**
|
|
* Obtains file type.
|
|
*
|
|
* \param file File location.
|
|
* \return File type, else negative.
|
|
*/
|
|
int getFileType(const char *file);
|
|
|
|
/**
|
|
* Plays a WAV file.
|
|
*
|
|
* \param file File location of WAV file.
|
|
* \return Zero if successful, else failure.
|
|
*/
|
|
int playWav(const char *wav);
|