Changeset 466dff3 for examples/jackio.h


Ignore:
Timestamp:
Dec 7, 2013, 4:09:00 AM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
3da8187
Parents:
44e94f3c
Message:

examples/: large refactoring, improve option management, remove old stuff, move blocking logic to jackio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/jackio.h

    r44e94f3c r466dff3  
    11/*
    2   Copyright (C) 2003-2009 Paul Brossier <piem@aubio.org>
     2  Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org>
    33
    44  This file is part of aubio.
     
    2222#define JACKIO_H
    2323
    24 /** 
     24/**
    2525 * @file
    2626 *
    2727 * Jack driver for aubio
    28  * 
     28 *
    2929 */
    3030
     
    4141typedef struct _aubio_jack_t aubio_jack_t;
    4242/** jack process function */
    43 typedef int (*aubio_process_func_t) (smpl_t ** input,
    44     smpl_t ** output, int nframes);
     43typedef int (*aubio_process_func_t) (fvec_t * input, fvec_t * output);
    4544
    4645/** jack device creation function */
    47 aubio_jack_t *new_aubio_jack (uint_t inchannels, uint_t outchannels,
    48     uint_t imidichan, uint_t omidichan,
     46aubio_jack_t *new_aubio_jack (uint_t hop_size,
     47    uint_t inchannels, uint_t outchannels,
     48    uint_t imidichan, uint_t omidichan);
     49/** activate jack client (run jackprocess function) */
     50uint_t aubio_jack_activate (aubio_jack_t * jack_setup,
    4951    aubio_process_func_t callback);
    50 /** activate jack client (run jackprocess function) */
    51 uint_t aubio_jack_activate (aubio_jack_t * jack_setup);
    5252/** close and delete jack client */
    5353void aubio_jack_close (aubio_jack_t * jack_setup);
     54void del_aubio_jack (aubio_jack_t * jack_setup);
     55/** get samplerate */
     56uint_t aubio_jack_get_samplerate (aubio_jack_t * jack_setup);
    5457
    5558/** write a jack_midi_event_t to the midi output ringbuffer */
Note: See TracChangeset for help on using the changeset viewer.