Subversion Repositories Kolibri OS

Rev

Rev 1905 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /*
  2.         icy: support for SHOUTcast ICY meta info, an attempt to keep it organized
  3.  
  4.         copyright 2006-7 by the mpg123 project - free software under the terms of the LGPL 2.1
  5.         see COPYING and AUTHORS files in distribution or http://mpg123.org
  6.         initially written by Thomas Orgis and modelled after patch by Honza
  7. */
  8. #ifndef MPG123_ICY_H
  9. #define MPG123_ICY_H
  10.  
  11. #ifndef NO_ICY
  12.  
  13. #include "compat.h"
  14. #include "mpg123.h"
  15.  
  16. struct icy_meta
  17. {
  18.         char* data;
  19.         off_t interval;
  20.         off_t next;
  21. };
  22.  
  23. void init_icy(struct icy_meta *);
  24. void clear_icy(struct icy_meta *);
  25. void reset_icy(struct icy_meta *);
  26.  
  27. #else
  28.  
  29. #undef init_icy
  30. #define init_icy(a)
  31. #undef clear_icy
  32. #define clear_icy(a)
  33. #undef reset_icy
  34. #define reset_icy(a)
  35.  
  36. #endif /* NO_ICY */
  37.  
  38. #endif
  39.