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 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 * |
71 |
MidiInputPortAlsa* pPort; |
MidiInputPortAlsa* pPort; |
72 |
}; |
}; |
73 |
|
|
74 |
|
/** MIDI Port Parameter 'ALSA_SEQ_ID' |
75 |
|
* |
76 |
|
* Reflects the ALSA sequencer ID of this MIDI port, |
77 |
|
* e.g. "128:0". |
78 |
|
*/ |
79 |
|
class ParameterAlsaSeqId : public DeviceRuntimeParameterString { |
80 |
|
public: |
81 |
|
ParameterAlsaSeqId(MidiInputPortAlsa* pPort); |
82 |
|
virtual String Description(); |
83 |
|
virtual bool Fix(); |
84 |
|
virtual std::vector<String> PossibilitiesAsString(); |
85 |
|
virtual void OnSetValue(String s); |
86 |
|
}; |
87 |
|
|
88 |
void ConnectToAlsaMidiSource(const char* MidiSource); |
void ConnectToAlsaMidiSource(const char* MidiSource); |
89 |
protected: |
protected: |
90 |
MidiInputPortAlsa(MidiInputDeviceAlsa* pDevice) throw (MidiInputException); |
MidiInputPortAlsa(MidiInputDeviceAlsa* pDevice) throw (MidiInputException); |