/[svn]/linuxsampler/trunk/src/drivers/audio/AudioOutputDeviceJack.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/audio/AudioOutputDeviceJack.cpp

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

revision 379 by persson, Sun Feb 13 18:02:29 2005 UTC revision 403 by schoenebeck, Tue Feb 22 20:37:59 2005 UTC
# Line 75  namespace LinuxSampler { Line 75  namespace LinuxSampler {
75    
76      void AudioOutputDeviceJack::AudioChannelJack::ParameterJackBindings::OnSetValue(std::vector<String> vS) {      void AudioOutputDeviceJack::AudioChannelJack::ParameterJackBindings::OnSetValue(std::vector<String> vS) {
77          // TODO: we should remove all existing bindings before we connect new ones here          // TODO: we should remove all existing bindings before we connect new ones here
78          String src_name = "LinuxSampler:" + ((DeviceRuntimeParameterString*)pChannel->Parameters["NAME"])->ValueAsString();          String src_name = ((DeviceCreationParameterString*)pChannel->pDevice->Parameters["NAME"])->ValueAsString() + ":" +
79                              ((DeviceRuntimeParameterString*)pChannel->Parameters["NAME"])->ValueAsString();
80          for (int i = 0; i < vS.size(); i++) {          for (int i = 0; i < vS.size(); i++) {
81              String dst_name = vS[i];              String dst_name = vS[i];
82              int res = jack_connect(pChannel->pDevice->hJackClient, src_name.c_str(), dst_name.c_str());              int res = jack_connect(pChannel->pDevice->hJackClient, src_name.c_str(), dst_name.c_str());
# Line 248  namespace LinuxSampler { Line 249  namespace LinuxSampler {
249      }      }
250    
251      String AudioOutputDeviceJack::Version() {      String AudioOutputDeviceJack::Version() {
252         String s = "$Revision: 1.16 $";         String s = "$Revision: 1.17 $";
253         return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword         return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword
254      }      }
255    

Legend:
Removed from v.379  
changed lines
  Added in v.403

  ViewVC Help
Powered by ViewVC