diff options
author | Daniel Mack <daniel@caiaq.de> | 2008-01-24 12:46:42 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:14 -0500 |
commit | 09189ac793d7fef7d0f058815043e3d4bf7097c0 (patch) | |
tree | 5a0839d4d7d626af9691408503dd41ec12564533 /sound/usb | |
parent | 69252128ec628e9d19739db0101e1826d993aecb (diff) |
[ALSA] usb/caiaq: decrease period_bytes_min
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>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/caiaq/caiaq-audio.c | 2 | ||||
-rw-r--r-- | sound/usb/caiaq/caiaq-device.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/caiaq/caiaq-audio.c b/sound/usb/caiaq/caiaq-audio.c index 2f9e9b2a7ffc..9cc4cd8283f9 100644 --- a/sound/usb/caiaq/caiaq-audio.c +++ b/sound/usb/caiaq/caiaq-audio.c | |||
@@ -57,7 +57,7 @@ static struct snd_pcm_hardware snd_usb_caiaq_pcm_hardware = { | |||
57 | .channels_min = CHANNELS_PER_STREAM, | 57 | .channels_min = CHANNELS_PER_STREAM, |
58 | .channels_max = CHANNELS_PER_STREAM, | 58 | .channels_max = CHANNELS_PER_STREAM, |
59 | .buffer_bytes_max = MAX_BUFFER_SIZE, | 59 | .buffer_bytes_max = MAX_BUFFER_SIZE, |
60 | .period_bytes_min = 4096, | 60 | .period_bytes_min = 128, |
61 | .period_bytes_max = MAX_BUFFER_SIZE, | 61 | .period_bytes_max = MAX_BUFFER_SIZE, |
62 | .periods_min = 1, | 62 | .periods_min = 1, |
63 | .periods_max = 1024, | 63 | .periods_max = 1024, |
diff --git a/sound/usb/caiaq/caiaq-device.c b/sound/usb/caiaq/caiaq-device.c index 5cd92ae3cd16..58d25e4e7d6c 100644 --- a/sound/usb/caiaq/caiaq-device.c +++ b/sound/usb/caiaq/caiaq-device.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | MODULE_AUTHOR("Daniel Mack <daniel@caiaq.de>"); | 44 | MODULE_AUTHOR("Daniel Mack <daniel@caiaq.de>"); |
45 | MODULE_DESCRIPTION("caiaq USB audio, version 1.3.1"); | 45 | MODULE_DESCRIPTION("caiaq USB audio, version 1.3.2"); |
46 | MODULE_LICENSE("GPL"); | 46 | MODULE_LICENSE("GPL"); |
47 | MODULE_SUPPORTED_DEVICE("{{Native Instruments, RigKontrol2}," | 47 | MODULE_SUPPORTED_DEVICE("{{Native Instruments, RigKontrol2}," |
48 | "{Native Instruments, RigKontrol3}," | 48 | "{Native Instruments, RigKontrol3}," |