"Fossies" - the Fresh Open Source Software Archive  

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

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

aseqdump.c  (alsa-utils-1.2.1.tar.bz2):aseqdump.c  (alsa-utils-1.2.2.tar.bz2)
skipping to change at line 28 skipping to change at line 28
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 U SA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 U SA
*/ */
#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"
static snd_seq_t *seq; static snd_seq_t *seq;
static int port_count; static int port_count;
static snd_seq_addr_t *ports; static snd_seq_addr_t *ports;
static volatile sig_atomic_t stop = 0; static volatile sig_atomic_t stop = 0;
/* prints an error message to stderr, and dies */ /* prints an error message to stderr, and dies */
skipping to change at line 359 skipping to change at line 359
} }
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
static const char short_options[] = "hVlp:"; static const char short_options[] = "hVlp:";
static const struct option long_options[] = { static const struct option long_options[] = {
{"help", 0, NULL, 'h'}, {"help", 0, NULL, 'h'},
{"version", 0, NULL, 'V'}, {"version", 0, NULL, 'V'},
{"list", 0, NULL, 'l'}, {"list", 0, NULL, 'l'},
{"port", 1, NULL, 'p'}, {"port", 1, NULL, 'p'},
{ } {0}
}; };
int do_list = 0; int do_list = 0;
struct pollfd *pfds; struct pollfd *pfds;
int npfds; int npfds;
int c, err; int c, err;
init_seq(); init_seq();
while ((c = getopt_long(argc, argv, short_options, while ((c = getopt_long(argc, argv, short_options,
 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)