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

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

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

revision 2508 by schoenebeck, Wed Jan 1 17:48:01 2014 UTC revision 2509 by schoenebeck, Sat Jan 18 18:10:49 2014 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 - 2008 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2014 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 595  std::map<String,DeviceCreationParameter* Line 595  std::map<String,DeviceCreationParameter*
595    
596  optional<String> AudioOutputDeviceAsio::ParameterCard::DefaultAsString(std::map<String,String> Parameters) {  optional<String> AudioOutputDeviceAsio::ParameterCard::DefaultAsString(std::map<String,String> Parameters) {
597      std::vector<String> cards = PossibilitiesAsString(Parameters);      std::vector<String> cards = PossibilitiesAsString(Parameters);
598      if (cards.empty()) throw Exception("AudioOutputDeviceAsio: Can't find any card");      if (cards.empty()) throw Exception(
599            "AudioOutputDeviceAsio: Can't find any ASIO-capable sound card. Make "
600            "sure you have an ASIO driver installed for your sound device. If you "
601            "are using a consumer sound card that does not provide an ASIO driver "
602            "to be installed, then consider installing an alternative like ASIO4ALL."
603        );
604    
605      // If currentAsioDriverName is empty then return the first card,      // If currentAsioDriverName is empty then return the first card,
606      // otherwise return the currentAsioDriverName. This avoids closing      // otherwise return the currentAsioDriverName. This avoids closing

Legend:
Removed from v.2508  
changed lines
  Added in v.2509

  ViewVC Help
Powered by ViewVC