/[svn]/liblscp/trunk/examples/example_client.c
ViewVC logotype

Diff of /liblscp/trunk/examples/example_client.c

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

revision 1018 by capela, Mon Dec 18 09:39:20 2006 UTC revision 1019 by capela, Thu Jan 11 12:33:05 2007 UTC
# Line 2  Line 2 
2  //  //
3  /****************************************************************************  /****************************************************************************
4     liblscp - LinuxSampler Control Protocol API     liblscp - LinuxSampler Control Protocol API
5     Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
8     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 589  void client_test_all ( lscp_client_t *pC Line 589  void client_test_all ( lscp_client_t *pC
589                  CLIENT_TEST(pClient, status, lscp_destroy_audio_device(pClient, iNewAudioDevice));                  CLIENT_TEST(pClient, status, lscp_destroy_audio_device(pClient, iNewAudioDevice));
590          }          }
591    
592            CLIENT_TEST(pClient, status, lscp_set_volume(pClient, 0.123f));
593            CLIENT_TEST(pClient, int, (int) (100.0f * lscp_get_volume(pClient)));
594    
595          CLIENT_TEST(pClient, status, lscp_reset_sampler(pClient));          CLIENT_TEST(pClient, status, lscp_reset_sampler(pClient));
596                    
597          printf("\n\n");          printf("\n\n");

Legend:
Removed from v.1018  
changed lines
  Added in v.1019

  ViewVC Help
Powered by ViewVC