History

[ALSA] Make buffer size of proc text interface variable

Make the read/write buffer size of proc text interface variable.

Takashi Iwai committed 20 years ago

Commit 7e4eeec1 parent 2f4ca8e2 files · +82 −73Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/sound/info.h+3−3
@@ -27,9 +27,9 @@ · 26 unmodified lines
2727 /* buffer for information */
2828 struct snd_info_buffer {
2929 char *buffer; /* pointer to begin of buffer */
30− char *curr; /* current position in buffer */
31− unsigned long size; /* current size */
32− unsigned long len; /* total length of buffer */
30+ unsigned int curr; /* current position in buffer */
31+ unsigned int size; /* current size */
32+ unsigned int len; /* total length of buffer */
3333 int stop; /* stop flag */
3434 int error; /* error code */
3535 };