capture.h 649 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Line 6 Linux USB driver
  4. *
  5. * Copyright (C) 2004-2010 Markus Grabner ([email protected])
  6. */
  7. #ifndef CAPTURE_H
  8. #define CAPTURE_H
  9. #include <sound/pcm.h>
  10. #include "driver.h"
  11. #include "pcm.h"
  12. extern const struct snd_pcm_ops snd_line6_capture_ops;
  13. extern void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf,
  14. int fsize);
  15. extern void line6_capture_check_period(struct snd_line6_pcm *line6pcm,
  16. int length);
  17. extern int line6_create_audio_in_urbs(struct snd_line6_pcm *line6pcm);
  18. extern int line6_submit_audio_in_all_urbs(struct snd_line6_pcm *line6pcm);
  19. #endif