diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-08-15 21:27:30 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-08-15 21:27:30 +0200 |
commit | 10c98b106dbb7ee90aca745c7c100a43f80fa01e (patch) | |
tree | 1be45f9a15486e12813729a81e83d32d35578439 /audio_read.h | |
parent | bad1162b921d3c65390ce64c436fa82aaf9ad7c5 (diff) | |
download | toolame-dab-10c98b106dbb7ee90aca745c7c100a43f80fa01e.tar.gz toolame-dab-10c98b106dbb7ee90aca745c7c100a43f80fa01e.tar.bz2 toolame-dab-10c98b106dbb7ee90aca745c7c100a43f80fa01e.zip |
Port JACK patch to this toolame
Diffstat (limited to 'audio_read.h')
-rw-r--r-- | audio_read.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/audio_read.h b/audio_read.h index 7ab3f01..ab17a8f 100644 --- a/audio_read.h +++ b/audio_read.h @@ -28,6 +28,10 @@ typedef struct IFF_AIFF_struct } IFF_AIFF; +void setup_jack(frame_header *header, const char* jackname); +int process(jack_nframes_t nframes, void *arg); +void jack_shutdown(void *arg); + void parse_input_file (FILE *musicin, char *, frame_header *header, unsigned long *num_samples); void aiff_check (char *file_name, IFF_AIFF * pcm_aiff_data, int *version); @@ -35,7 +39,8 @@ int aiff_read_headers (FILE *, IFF_AIFF *); int aiff_seek_to_sound_data (FILE *); enum byte_order DetermineByteOrder (void); void SwapBytesInWords (short *loc, int words); - unsigned long read_samples (FILE *, short[2304], unsigned long, + unsigned long read_samples (music_in_t*, short[2304], unsigned long, unsigned long); - unsigned long get_audio (FILE *, short[2][1152], unsigned long, + unsigned long get_audio (music_in_t*, short[2][1152], unsigned long, int, frame_header *header); + |