From edcd3633e72a1590c4cf46befe5e6cd03b5aec3e Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Thu, 12 Apr 2012 13:51:12 +0200 Subject: ALSA: snd-usb: switch over to new endpoint streaming logic With the previous commit that added the new streaming model, all endpoint and streaming related code is now in endpoint.c, and pcm.c only acts as a wrapper for handling the packet's payload. Signed-off-by: Daniel Mack Signed-off-by: Takashi Iwai --- sound/usb/card.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sound/usb/card.h') diff --git a/sound/usb/card.h b/sound/usb/card.h index 9acbd4a1228d..8a08687e5bc0 100644 --- a/sound/usb/card.h +++ b/sound/usb/card.h @@ -145,6 +145,10 @@ struct snd_usb_substream { struct snd_urb_ctx syncurb[SYNC_URBS]; /* sync urb table */ char *syncbuf; /* sync buffer for all sync URBs */ dma_addr_t sync_dma; /* DMA address of syncbuf */ + /* data and sync endpoints for this stream */ + struct snd_usb_endpoint *data_endpoint; + struct snd_usb_endpoint *sync_endpoint; + unsigned long flags; u64 formats; /* format bitmasks (all or'ed) */ unsigned int num_formats; /* number of supported audio formats (list) */ -- cgit v1.2.3