"Fossies" - the Fresh Open Source Software Archive  

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

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

amidi.c  (alsa-utils-1.2.1.tar.bz2):amidi.c  (alsa-utils-1.2.2.tar.bz2)
skipping to change at line 34 skipping to change at line 34
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include <math.h> #include <math.h>
#include <getopt.h> #include <getopt.h>
#include <errno.h> #include <errno.h>
#include <signal.h> #include <signal.h>
#include <sys/timerfd.h> #include <sys/timerfd.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/poll.h> #include <poll.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <alsa/asoundlib.h> #include <alsa/asoundlib.h>
#include "aconfig.h" #include "aconfig.h"
#include "version.h" #include "version.h"
#define NSEC_PER_SEC 1000000000L #define NSEC_PER_SEC 1000000000L
static int do_device_list, do_rawmidi_list; static int do_device_list, do_rawmidi_list;
skipping to change at line 472 skipping to change at line 472
{"list-rawmidis", 0, NULL, 'L'}, {"list-rawmidis", 0, NULL, 'L'},
{"port", 1, NULL, 'p'}, {"port", 1, NULL, 'p'},
{"send", 1, NULL, 's'}, {"send", 1, NULL, 's'},
{"receive", 1, NULL, 'r'}, {"receive", 1, NULL, 'r'},
{"send-hex", 2, NULL, 'S'}, {"send-hex", 2, NULL, 'S'},
{"dump", 0, NULL, 'd'}, {"dump", 0, NULL, 'd'},
{"timeout", 1, NULL, 't'}, {"timeout", 1, NULL, 't'},
{"active-sensing", 0, NULL, 'a'}, {"active-sensing", 0, NULL, 'a'},
{"clock", 0, NULL, 'c'}, {"clock", 0, NULL, 'c'},
{"sysex-interval", 1, NULL, 'i'}, {"sysex-interval", 1, NULL, 'i'},
{ } {0}
}; };
int c, err, ok = 0; int c, err, ok = 0;
int ignore_active_sensing = 1; int ignore_active_sensing = 1;
int ignore_clock = 1; int ignore_clock = 1;
int do_send_hex = 0; int do_send_hex = 0;
struct itimerspec itimerspec = { .it_interval = { 0, 0 } }; struct itimerspec itimerspec = { .it_interval = { 0, 0 } };
while ((c = getopt_long(argc, argv, short_options, while ((c = getopt_long(argc, argv, short_options,
long_options, NULL)) != -1) { long_options, NULL)) != -1) {
switch (c) { switch (c) {
 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)