An audio player for macOS 10.8 and newer. https://kode54.net/cog
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.3KB

  1. /* _______ ____ __ ___ ___
  2. * \ _ \ \ / \ / \ \ / / ' ' '
  3. * | | \ \ | | || | \/ | . .
  4. * | | | | | | || ||\ /| |
  5. * | | | | | | || || \/ | | ' ' '
  6. * | | | | | | || || | | . .
  7. * | |_/ / \ \__// || | |
  8. * /_______/ynamic \____/niversal /__\ /____\usic /| . . ibliotheque
  9. * / \
  10. * / . \
  11. * loadany2.c - Code to detect and read any of the / / \ \
  12. * module formats supported by DUMB, | < / \_
  13. * opening and closing the file for | \/ /\ /
  14. * you, and do an initial run-through. \_ / > /
  15. * | \ / /
  16. * by Christopher Snowhill. | ' /
  17. * \__/
  18. */
  19. #include "dumb.h"
  20. DUH *dumb_load_any(const char *filename, int restrict_, int subsong) {
  21. DUH *duh = dumb_load_any_quick(filename, restrict_, subsong);
  22. dumb_it_do_initial_runthrough(duh);
  23. return duh;
  24. }