sh_dac_audio.h 587 B

123456789101112131415161718192021
  1. /*
  2. * SH_DAC specific configuration, for the dac_audio platform_device
  3. *
  4. * Copyright (C) 2009 Rafael Ignacio Zurita <rizurita@yahoo.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License version 2 as published
  8. * by the Free Software Foundation.
  9. */
  10. #ifndef __INCLUDE_SH_DAC_AUDIO_H
  11. #define __INCLUDE_SH_DAC_AUDIO_H
  12. struct dac_audio_pdata {
  13. int buffer_size;
  14. int channel;
  15. void (*start)(struct dac_audio_pdata *pd);
  16. void (*stop)(struct dac_audio_pdata *pd);
  17. };
  18. #endif /* __INCLUDE_SH_DAC_AUDIO_H */