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

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

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

revision 1048 by schoenebeck, Tue Jun 27 22:57:37 2006 UTC revision 1049 by schoenebeck, Wed Feb 28 06:53:42 2007 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, 2006 Christian Schoenebeck                        *   *   Copyright (C) 2005 - 2007 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 75  namespace LinuxSampler { Line 75  namespace LinuxSampler {
75                      static String Name();                      static String Name();
76              };              };
77    
78                /** Device Parameter 'SAMPLERATE'
79                 *
80                 * Used to set the sample rate of the audio output device.
81                 */
82                class ParameterSampleRate : public AudioOutputDevice::ParameterSampleRate {
83                    public:
84                        ParameterSampleRate();
85                        ParameterSampleRate(String s);
86                        virtual std::map<String,DeviceCreationParameter*> DependsAsParameters();
87                        virtual optional<int> DefaultAsInt(std::map<String,String> Parameters);
88                        virtual optional<int> RangeMinAsInt(std::map<String,String> Parameters);
89                        virtual optional<int> RangeMaxAsInt(std::map<String,String> Parameters);
90                };
91    
92                /** Device Parameters 'CHANNELS'
93                 *
94                 * Used to increase / decrease the number of audio channels of
95                 * audio output device.
96                 */
97                class ParameterChannels : public AudioOutputDevice::ParameterChannels {
98                    public:
99                        ParameterChannels();
100                        ParameterChannels(String s);
101                        virtual std::map<String,DeviceCreationParameter*> DependsAsParameters();
102                        virtual optional<int> DefaultAsInt(std::map<String,String> Parameters);
103                        virtual optional<int> RangeMinAsInt(std::map<String,String> Parameters);
104                        virtual optional<int> RangeMaxAsInt(std::map<String,String> Parameters);
105                };
106    
107              /** Device Parameter 'FRAGMENTS'              /** Device Parameter 'FRAGMENTS'
108               *               *
109               * Used to select the number of audio fragments / periods.               * Used to select the number of audio fragments / periods.

Legend:
Removed from v.1048  
changed lines
  Added in v.1049

  ViewVC Help
Powered by ViewVC