diff --git a/veejay-current/veejay-server/bio2jack/bio2jack.c b/veejay-current/veejay-server/bio2jack/bio2jack.c index 987f9049..725989fa 100644 --- a/veejay-current/veejay-server/bio2jack/bio2jack.c +++ b/veejay-current/veejay-server/bio2jack/bio2jack.c @@ -2486,6 +2486,16 @@ JACK_SetClientName(char *name) } } +void +JACK_FreeClientName() +{ + if( client_name ) { + free(client_name); + client_name = NULL; + } +} + + long JACK_OutputStatus(int deviceID,long *sec, long *usec) { jack_driver_t *this = &outDev[deviceID]; diff --git a/veejay-current/veejay-server/bio2jack/bio2jack.h b/veejay-current/veejay-server/bio2jack/bio2jack.h index 1a9ac81e..862cb8b7 100644 --- a/veejay-current/veejay-server/bio2jack/bio2jack.h +++ b/veejay-current/veejay-server/bio2jack/bio2jack.h @@ -106,6 +106,7 @@ int JACK_SetAllVolume(int deviceID, unsigned int volume); /* returns 0 on succe int JACK_SetVolumeForChannel(int deviceID, unsigned int channel, unsigned int volume); void JACK_GetVolumeForChannel(int deviceID, unsigned int channel, unsigned int *volume); +void JACK_FreeClientName(); unsigned long JACK_GetOutputBytesPerSecond(int deviceID); /* bytes_per_output_frame * sample_rate */ unsigned long JACK_GetInputBytesPerSecond(int deviceID); /* bytes_per_input_frame * sample_rate */