diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2005-01-18 15:54:30 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2005-01-18 15:54:30 (GMT) |
commit | e18f19b0a56278701114167d73b403fa28e9b297 (patch) | |
tree | 7898ef3b39c84f692d7b76ef0cf0c53fc7b1d686 | |
parent | 4d33b08a66b738de940c703a4deac1a0eb79ad17 (diff) | |
download | TASS-e18f19b0a56278701114167d73b403fa28e9b297.zip TASS-e18f19b0a56278701114167d73b403fa28e9b297.tar.gz TASS-e18f19b0a56278701114167d73b403fa28e9b297.tar.bz2 |
Changed functions to inline functions.
Added 2 functions to load audio data from smartmedia.
-rw-r--r-- | Graphic_Equalizer/include/smartmedia.hch | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Graphic_Equalizer/include/smartmedia.hch b/Graphic_Equalizer/include/smartmedia.hch index a5388a0..ce13685 100644 --- a/Graphic_Equalizer/include/smartmedia.hch +++ b/Graphic_Equalizer/include/smartmedia.hch @@ -60,14 +60,22 @@ * Initializes the smartmedia device.
*/
-unsigned 1 smartmedia_init(void);
+inline unsigned 1 smartmedia_init(void);
/*
* This function loads the memory with data from the smartmedia card.
*/
-void smartmedia_loaddata(skindata_t *skindata);
+unsigned 1 smartmedia_loaddata(skindata_t *skindata);
+
+/*
+ * This function loads samplecount samples from the smartmedia.
+ */
+void load_audio_samples(signed 18 *samples, unsigned 27 blockoffset, unsigned 7 sample_count);
+
+
+void smartmedia_read_bytes(unsigned 8 *data, unsigned 8 bytecount);
#else
#error "ERROR file smartmedia.hch multiple times included"
|