Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Line 6 Linux USB driver
0004  *
0005  * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
0006  */
0007 
0008 #ifndef CAPTURE_H
0009 #define CAPTURE_H
0010 
0011 #include <sound/pcm.h>
0012 
0013 #include "driver.h"
0014 #include "pcm.h"
0015 
0016 extern const struct snd_pcm_ops snd_line6_capture_ops;
0017 
0018 extern void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf,
0019                    int fsize);
0020 extern void line6_capture_check_period(struct snd_line6_pcm *line6pcm,
0021                        int length);
0022 extern int line6_create_audio_in_urbs(struct snd_line6_pcm *line6pcm);
0023 extern int line6_submit_audio_in_all_urbs(struct snd_line6_pcm *line6pcm);
0024 
0025 #endif