home *** CD-ROM | disk | FTP | other *** search
/ PC Loisirs 18 / cd.iso / sharewar / mikm202 / source / drvnosnd / nosnddev.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-09-18  |  625 b   |  61 lines

  1. #include <stdio.h>
  2. #include "mtypes.h"
  3. #include "mdriver.h"
  4.  
  5.  
  6. BOOL NS_IsThere(void)
  7. {
  8.     return 1;
  9. }
  10.  
  11.  
  12. WORD NS_SampleLoad(FILE *fp,ULONG s,ULONG a,ULONG b,UWORD f)
  13. {
  14.     return 1;
  15. }
  16.  
  17.  
  18. void NS_SampleUnload(WORD h)
  19. {
  20. }
  21.  
  22.  
  23. BOOL NS_Init(void)
  24. {
  25.     return 1;
  26. }
  27.  
  28. void NS_Exit(void)
  29. {
  30. }
  31.  
  32.  
  33. void NS_PlayStart(void)
  34. {
  35. }
  36.  
  37.  
  38. void NS_PlayStop(void)
  39. {
  40. }
  41.  
  42.  
  43. void NS_Update(void)
  44. {
  45. }
  46.  
  47.  
  48. DRIVER nosnddriver={
  49.     NULL,
  50.     "No Sound",
  51.     "MikMod Nosound Driver v1.0 - (c) Creative Silence",
  52.     NS_IsThere,
  53.     NS_SampleLoad,
  54.     NS_SampleUnload,
  55.     NS_Init,
  56.     NS_Exit,
  57.     NS_PlayStart,
  58.     NS_PlayStop,
  59.     NS_Update
  60. };
  61.