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

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

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

revision 213 by schoenebeck, Wed Jul 28 14:17:29 2004 UTC revision 214 by schoenebeck, Sat Aug 14 23:00:44 2004 UTC
# Line 236  namespace LinuxSampler { Line 236  namespace LinuxSampler {
236          this->uiSamplerate   = ((DeviceCreationParameterInt*)Parameters["samplerate"])->ValueAsInt();          this->uiSamplerate   = ((DeviceCreationParameterInt*)Parameters["samplerate"])->ValueAsInt();
237          this->FragmentSize   = ((DeviceCreationParameterInt*)Parameters["fragmentsize"])->ValueAsInt();          this->FragmentSize   = ((DeviceCreationParameterInt*)Parameters["fragmentsize"])->ValueAsInt();
238          uint Fragments       = ((DeviceCreationParameterInt*)Parameters["fragments"])->ValueAsInt();          uint Fragments       = ((DeviceCreationParameterInt*)Parameters["fragments"])->ValueAsInt();
239          String Card          = Parameters["card"]->Value();          String Card          = ((DeviceCreationParameterString*)Parameters["card"])->ValueAsString();
240    
241          dmsg(1,("Checking if hw parameters supported...\n"));          dmsg(1,("Checking if hw parameters supported...\n"));
242          if (HardwareParametersSupported(Card, uiAlsaChannels, uiSamplerate, Fragments, FragmentSize)) {          if (HardwareParametersSupported(Card, uiAlsaChannels, uiSamplerate, Fragments, FragmentSize)) {
# Line 459  namespace LinuxSampler { Line 459  namespace LinuxSampler {
459      }      }
460    
461      String AudioOutputDeviceAlsa::Version() {      String AudioOutputDeviceAlsa::Version() {
462         String s = "$Revision: 1.11 $";         String s = "$Revision: 1.12 $";
463         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
464      }      }
465    

Legend:
Removed from v.213  
changed lines
  Added in v.214

  ViewVC Help
Powered by ViewVC