ardour
|
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sysexits.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
#include "smf.h"
#include "config.h"
Go to the source code of this file.
Classes | |
struct | command_struct |
Macros | |
#define | COMMAND_LENGTH 10 |
#define | BUFFER_SIZE 1024 |
Functions | |
static void | log_handler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer notused) |
static int | cmd_track (char *arg) |
static int | cmd_load (char *file_name) |
static int | cmd_save (char *file_name) |
static int | cmd_ppqn (char *new_ppqn) |
static int | cmd_format (char *new_format) |
static int | cmd_tracks (char *notused) |
static int | parse_track_number (const char *arg) |
static int | cmd_trackadd (char *notused) |
static int | cmd_trackrm (char *arg) |
static int | show_event (smf_event_t *event) |
static int | cmd_events (char *notused) |
static int | parse_event_number (const char *arg) |
static int | cmd_event (char *arg) |
static int | decode_hex (char *str, unsigned char **buffer, int *length) |
static void | eventadd_usage (void) |
static int | cmd_eventadd (char *str) |
static int | cmd_text (char *str) |
static int | cmd_eventaddeot (char *time) |
static int | cmd_eventrm (char *number) |
static int | cmd_tempo (char *notused) |
static int | cmd_length (char *notused) |
static int | cmd_version (char *notused) |
static int | cmd_exit (char *notused) |
static int | cmd_help (char *notused) |
static void | strip_unneeded_whitespace (char *str, int len) |
static char * | read_command (void) |
static int | execute_command (char *line) |
static void | read_and_execute_command (void) |
static void | usage (void) |
int | main (int argc, char *argv[]) |
Variables | |
smf_track_t * | selected_track = NULL |
smf_event_t * | selected_event = NULL |
smf_t * | smf = NULL |
char * | last_file_name = NULL |
static struct command_struct | commands [] |
"SMF shell", command line utility.
Definition in file smfsh.c.
|
static |
|
static |
|
static |
|
static |
|
static |
smf_event_t* selected_event = NULL |
smf_track_t* selected_track = NULL |