/[svn]/liblscp/trunk/src/common.c
ViewVC logotype

Diff of /liblscp/trunk/src/common.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 253 by capela, Mon Sep 27 14:40:08 2004 UTC revision 378 by capela, Sun Feb 13 17:20:46 2005 UTC
# Line 694  void lscp_channel_info_init ( lscp_chann Line 694  void lscp_channel_info_init ( lscp_chann
694      pChannelInfo->audio_routing     = NULL;      pChannelInfo->audio_routing     = NULL;
695      pChannelInfo->instrument_file   = NULL;      pChannelInfo->instrument_file   = NULL;
696      pChannelInfo->instrument_nr     = 0;      pChannelInfo->instrument_nr     = 0;
697        pChannelInfo->instrument_name   = NULL;
698      pChannelInfo->instrument_status = 0;      pChannelInfo->instrument_status = 0;
699      pChannelInfo->midi_device       = 0;      pChannelInfo->midi_device       = 0;
700      pChannelInfo->midi_port         = 0;      pChannelInfo->midi_port         = 0;
# Line 709  void lscp_channel_info_free ( lscp_chann Line 710  void lscp_channel_info_free ( lscp_chann
710          lscp_szsplit_destroy(pChannelInfo->audio_routing);          lscp_szsplit_destroy(pChannelInfo->audio_routing);
711      if (pChannelInfo->instrument_file)      if (pChannelInfo->instrument_file)
712          free(pChannelInfo->instrument_file);          free(pChannelInfo->instrument_file);
713        if (pChannelInfo->instrument_name)
714            free(pChannelInfo->instrument_name);
715  }  }
716    
717  void lscp_channel_info_reset ( lscp_channel_info_t *pChannelInfo )  void lscp_channel_info_reset ( lscp_channel_info_t *pChannelInfo )

Legend:
Removed from v.253  
changed lines
  Added in v.378

  ViewVC Help
Powered by ViewVC