Skip to content

Commit 6b16d8d

Browse files
committed
Minor cosmetic changes to cdef
* opening braces on same line * some more comments
1 parent 8f8916a commit 6b16d8d

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

‎jack.py‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
typedef void (*JackPortConnectCallback)(jack_port_id_t a, jack_port_id_t b, int connect, void* arg);
7676
typedef int (*JackPortRenameCallback)(jack_port_id_t port, const char* old_name, const char* new_name, void* arg);
7777
typedef void (*JackFreewheelCallback)(int starting, void* arg);
78-
/* not implemented: JackShutdownCallback */
78+
/* not implemented: JackShutdownCallback (only JackInfoShutdownCallback is used) */
7979
typedef void (*JackInfoShutdownCallback)(jack_status_t code, const char* reason, void* arg);
8080
/* JACK_DEFAULT_AUDIO_TYPE: see _AUDIO */
8181
/* JACK_DEFAULT_MIDI_TYPE: see _MIDI */
@@ -125,7 +125,7 @@
125125
int jack_get_client_pid(const char* name);
126126
/* not implemented: jack_client_thread_id */
127127
int jack_is_realtime(jack_client_t* client);
128-
/* not implemented (and deprecated): jack_thread_wait */
128+
/* deprecated: jack_thread_wait */
129129
/* not implemented: jack_cycle_wait */
130130
/* not implemented: jack_cycle_signal */
131131
/* not implemented: jack_set_process_thread */
@@ -252,8 +252,7 @@
252252
/* midiport.h */
253253
254254
typedef unsigned char jack_midi_data_t;
255-
typedef struct _jack_midi_event
256-
{
255+
typedef struct _jack_midi_event {
257256
jack_nframes_t time;
258257
size_t size;
259258
jack_midi_data_t* buffer;
@@ -274,8 +273,7 @@
274273

275274
# Packed structure
276275
_ffi.cdef("""
277-
struct _jack_position
278-
{
276+
struct _jack_position {
279277
jack_unique_t unique_1;
280278
jack_time_t usecs;
281279
jack_nframes_t frame_rate;

0 commit comments

Comments
 (0)