waveview/src/gawsnd.h

38 lines
915 B
C
Raw Permalink Normal View History

2022-09-24 17:47:18 -04:00
#ifndef GAWSND_H
#define GAWSND_H
2024-06-15 11:58:18 -04:00
2022-09-24 17:47:18 -04:00
/*
* gawsnd.h - Gtk analog waveform viewer
* sound configuration and capture.
*
* include LICENSE
*/
#include <appclass.h>
typedef struct _GawSndData GawSndData;
struct _GawSndData {
2024-06-15 11:58:18 -04:00
AppClass parent;
UserData *ud;
GtkWidget *w_card; /* combo for card */
GtkWidget *w_rate; /* combo for rate */
gint n_rate; /* number of item in rate combo */
GtkWidget *w_format; /* combo for format */
gint n_format; /* number of item in format combo */
GtkWidget *w_duration; /* entry for duration */
GtkWidget *w_size; /* entry for siz */
SoundParams *sparams; /* sound params for sound interface */
2022-09-24 17:47:18 -04:00
};
/*
* prototypes
*/
GawSndData *as_sound_new( UserData *ud );
void as_sound_construct( GawSndData *snd, UserData *ud );
void as_sound_destroy(void *snd);
void as_sound_win_create(GawSndData *snd);
#endif /* GAWSND_H */