mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
[ALSA] Make buffer size of proc text interface variable
Make the read/write buffer size of proc text interface variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
2f4ca8e5c7
commit
7e4eeec8a3
2 changed files with 82 additions and 73 deletions
|
|
@ -27,9 +27,9 @@
|
|||
/* buffer for information */
|
||||
struct snd_info_buffer {
|
||||
char *buffer; /* pointer to begin of buffer */
|
||||
char *curr; /* current position in buffer */
|
||||
unsigned long size; /* current size */
|
||||
unsigned long len; /* total length of buffer */
|
||||
unsigned int curr; /* current position in buffer */
|
||||
unsigned int size; /* current size */
|
||||
unsigned int len; /* total length of buffer */
|
||||
int stop; /* stop flag */
|
||||
int error; /* error code */
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue