mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-24 00:30:01 +01:00
fix leaks in bio2jack
This commit is contained in:
@@ -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)
|
long JACK_OutputStatus(int deviceID,long *sec, long *usec)
|
||||||
{
|
{
|
||||||
jack_driver_t *this = &outDev[deviceID];
|
jack_driver_t *this = &outDev[deviceID];
|
||||||
|
|||||||
@@ -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);
|
int JACK_SetVolumeForChannel(int deviceID, unsigned int channel, unsigned int volume);
|
||||||
void JACK_GetVolumeForChannel(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_GetOutputBytesPerSecond(int deviceID); /* bytes_per_output_frame * sample_rate */
|
||||||
unsigned long JACK_GetInputBytesPerSecond(int deviceID); /* bytes_per_input_frame * sample_rate */
|
unsigned long JACK_GetInputBytesPerSecond(int deviceID); /* bytes_per_input_frame * sample_rate */
|
||||||
|
|||||||
Reference in New Issue
Block a user