diff options
author | Daniel Mack <zonque@gmail.com> | 2011-09-12 18:54:12 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-09-14 17:07:02 +0200 |
commit | e8e8babf561c9560f37b9bd80407ebaf90ad2ca4 (patch) | |
tree | bcb7899519e35b094ab1f89d3c929ae4f8935c00 /sound/usb/stream.h | |
parent | ALSA: snd-usb: re-order the Makefile (diff) | |
download | linux-e8e8babf561c9560f37b9bd80407ebaf90ad2ca4.tar.xz linux-e8e8babf561c9560f37b9bd80407ebaf90ad2ca4.zip |
ALSA: snd-usb: re-order code
Move code from endpoint.c into a new file called stream.c and rename
functions so that their names actually reflect what they're doing.
This way, endpoint.c will be available to functions that hold all the
endpoint logic.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/stream.h')
-rw-r--r-- | sound/usb/stream.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/usb/stream.h b/sound/usb/stream.h new file mode 100644 index 000000000000..c97f679fc84f --- /dev/null +++ b/sound/usb/stream.h @@ -0,0 +1,12 @@ +#ifndef __USBAUDIO_STREAM_H +#define __USBAUDIO_STREAM_H + +int snd_usb_parse_audio_interface(struct snd_usb_audio *chip, + int iface_no); + +int snd_usb_add_audio_stream(struct snd_usb_audio *chip, + int stream, + struct audioformat *fp); + +#endif /* __USBAUDIO_STREAM_H */ + |