]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] usb/caiaq: decrease period_bytes_min
authorDaniel Mack <daniel@caiaq.de>
Thu, 24 Jan 2008 17:46:42 +0000 (18:46 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:30:14 +0000 (17:30 +0100)
This patch decreases the snd_pcm_hardware->period_bytes_min field in the
caiaq/usb audio driver. The hardware can actually handle as few as 128
bytes, depending on the system. So it makes no sense to keep
applications from actually using such values.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/usb/caiaq/caiaq-audio.c
sound/usb/caiaq/caiaq-device.c

index 2f9e9b2a7ffc10a71eda7f00db294c1b98675b03..9cc4cd8283f91561d744641b0afbead6e8b0495a 100644 (file)
@@ -57,7 +57,7 @@ static struct snd_pcm_hardware snd_usb_caiaq_pcm_hardware = {
        .channels_min   = CHANNELS_PER_STREAM,
        .channels_max   = CHANNELS_PER_STREAM,
        .buffer_bytes_max = MAX_BUFFER_SIZE,
-       .period_bytes_min = 4096,
+       .period_bytes_min = 128,
        .period_bytes_max = MAX_BUFFER_SIZE,
        .periods_min    = 1,
        .periods_max    = 1024,
index 5cd92ae3cd1671f7388cb14daa4d467aa5738738..58d25e4e7d6cf34324ed67a8454c93d4225967e2 100644 (file)
@@ -42,7 +42,7 @@
 #endif
 
 MODULE_AUTHOR("Daniel Mack <daniel@caiaq.de>");
-MODULE_DESCRIPTION("caiaq USB audio, version 1.3.1");
+MODULE_DESCRIPTION("caiaq USB audio, version 1.3.2");
 MODULE_LICENSE("GPL");
 MODULE_SUPPORTED_DEVICE("{{Native Instruments, RigKontrol2},"
                         "{Native Instruments, RigKontrol3},"