mp3stream.h 510 B

12345678910111213141516171819202122232425
  1. //
  2. // Created by Jordy Sipkema on 28/03/16.
  3. //
  4. #ifndef MUTLI_OS_BUILD_MP3STREAM_H
  5. #define MUTLI_OS_BUILD_MP3STREAM_H
  6. #include "typedefs.h"
  7. #include <netinet/tcp.h>
  8. #include <sys/socket.h>
  9. #include <stdio.h>
  10. #include <string.h>
  11. bool play(void);
  12. bool connectToStream(char* ipaddr, u_short port, char *radioUrl);
  13. void killPlayerThread(void);
  14. u_char volumeUp(void);
  15. u_char volumeDown(void);
  16. void setVolume(void); // Do not use this one, this is invoked by volumeUp/Down
  17. #endif //MUTLI_OS_BUILD_MP3STREAM_H