recording.c
changeset 27 81a574d60c15
parent 9 c3fecc82ade6
child 29 7abf6146898e
equal deleted inserted replaced
26:d227047a3e88 27:81a574d60c15
    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 
    31     int arg;                    /* argument for ioctl calls */
    32     int arg;                    /* argument for ioctl calls */
       
    33 
    32     int status;                 /* return status of system calls */
    34     int status;                 /* return status of system calls */
    33 
    35 
    34     /*
    36     /*
    35      * open sound device
    37      * open sound device
    36      */
    38      */