"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "seq/aplaymidi/arecordmidi.c" between
alsa-utils-1.2.1.tar.bz2 and alsa-utils-1.2.2.tar.bz2

About: ALSA (Advanced Linux Sound Architecture) - Utilities.

arecordmidi.c  (alsa-utils-1.2.1.tar.bz2):arecordmidi.c  (alsa-utils-1.2.2.tar.bz2)
skipping to change at line 30 skipping to change at line 30
*/ */
/* TODO: sequencer queue timer selection */ /* TODO: sequencer queue timer selection */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <signal.h> #include <signal.h>
#include <getopt.h> #include <getopt.h>
#include <sys/poll.h> #include <poll.h>
#include <alsa/asoundlib.h> #include <alsa/asoundlib.h>
#include "aconfig.h" #include "aconfig.h"
#include "version.h" #include "version.h"
#define BUFFER_SIZE 4088 #define BUFFER_SIZE 4088
/* linked list of buffers, stores data as in the .mid file */ /* linked list of buffers, stores data as in the .mid file */
struct buffer { struct buffer {
struct buffer *next; struct buffer *next;
unsigned char buf[BUFFER_SIZE]; unsigned char buf[BUFFER_SIZE];
skipping to change at line 743 skipping to change at line 743
{"list", 0, NULL, 'l'}, {"list", 0, NULL, 'l'},
{"port", 1, NULL, 'p'}, {"port", 1, NULL, 'p'},
{"bpm", 1, NULL, 'b'}, {"bpm", 1, NULL, 'b'},
{"fps", 1, NULL, 'f'}, {"fps", 1, NULL, 'f'},
{"ticks", 1, NULL, 't'}, {"ticks", 1, NULL, 't'},
{"split-channels", 0, NULL, 's'}, {"split-channels", 0, NULL, 's'},
{"dump", 0, NULL, 'd'}, {"dump", 0, NULL, 'd'},
{"metronome", 1, NULL, 'm'}, {"metronome", 1, NULL, 'm'},
{"timesig", 1, NULL, 'i'}, {"timesig", 1, NULL, 'i'},
{"num-events", 1, NULL, 'n'}, {"num-events", 1, NULL, 'n'},
{ } {0}
}; };
char *filename = NULL; char *filename = NULL;
int do_list = 0; int do_list = 0;
struct pollfd *pfds; struct pollfd *pfds;
int npfds; int npfds;
int c, err; int c, err;
/* If |num_events| isn't specified, leave it at 0. */ /* If |num_events| isn't specified, leave it at 0. */
long num_events = 0; long num_events = 0;
long events_received = 0; long events_received = 0;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)