summaryrefslogtreecommitdiff
path: root/gen_tone.h
diff options
context:
space:
mode:
Diffstat (limited to 'gen_tone.h')
-rw-r--r--gen_tone.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gen_tone.h b/gen_tone.h
new file mode 100644
index 0000000..bbe23b5
--- /dev/null
+++ b/gen_tone.h
@@ -0,0 +1,17 @@
+/*
+ * gen_tone.h
+ */
+
+
+int gen_tone_init (struct audio_s *pp, int amp, int gen_packets);
+
+
+//int gen_tone_open (int nchan, int sample_rate, int bit_rate, int f1, int f2, int amp, char *fname);
+
+//int gen_tone_open_fd (int nchan, int sample_rate, int bit_rate, int f1, int f2, int amp, int fd) ;
+
+//int gen_tone_close (void);
+
+void tone_gen_put_bit (int chan, int dat);
+
+void gen_tone_put_sample (int chan, int a, int sam); \ No newline at end of file