/* Default value used for nr of packs per urb. * 1 to 4 have been tested ok on uhci. * To use 3 on ohci, you'd need a patch: * look for "0000425-linux-2.6.9-rc4-mm1_ohci-hcd.patch.gz" on * "https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000425" * * 1, 2 and 4 work out of the box on ohci, if I recall correctly. * Bigger is safer operation, smaller gives lower latencies.
*/ #define USX2Y_NRPACKS 4
#define USX2Y_NRPACKS_MAX 1024
/* If your system works ok with this module's parameter * nrpacks set to 1, you might as well comment * this define out, and thereby produce smaller, faster code. * You'd also set USX2Y_NRPACKS to 1 then.
*/ #define USX2Y_NRPACKS_VARIABLE 1
int hwptr; /* free frame position in the buffer (only for playback) */ int hwptr_done; /* processed frame position in the buffer */ int transfer_done; /* processed frames since last period update */
struct urb *urb[NRURBS]; /* data urb table */ struct urb *completed_urb; char *tmpbuf; /* temporary buffer for playback */
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.