recording.c
changeset 29 7abf6146898e
parent 27 81a574d60c15
child 48 b94d657a9acb
equal deleted inserted replaced
28:54addf5893ef 29:7abf6146898e
    26 unsigned char buf[LENGTH * RATE * SIZE * CHANNELS / 8];
    26 unsigned char buf[LENGTH * RATE * SIZE * CHANNELS / 8];
    27 
    27 
    28 int main (int argc, char **argv)
    28 int main (int argc, char **argv)
    29 {
    29 {
    30     int fd;                     /* sound device file descriptor */
    30     int fd;                     /* sound device file descriptor */
    31 
       
    32     int arg;                    /* argument for ioctl calls */
    31     int arg;                    /* argument for ioctl calls */
    33 
       
    34     int status;                 /* return status of system calls */
    32     int status;                 /* return status of system calls */
    35 
    33 
    36     /*
    34     /*
    37      * open sound device
    35      * open sound device
    38      */
    36      */