33 |
|
|
34 |
|
|
35 |
/** |
/** |
36 |
* |
* This task retrieves all audio output drivers currently available for the LinuxSampler instance. |
37 |
* @author Grigor Iliev |
* @author Grigor Iliev |
38 |
*/ |
*/ |
39 |
public class GetAODrivers extends EnhancedTask<AudioOutputDriver[]> { |
public class GetAODrivers extends EnhancedTask<AudioOutputDriver[]> { |
40 |
|
/** Creates a new instance of <code>GetAODrivers</code>. */ |
41 |
public |
public |
42 |
GetAODrivers() { |
GetAODrivers() { |
43 |
setTitle("GetAODrivers_task"); |
setTitle("GetAODrivers_task"); |
44 |
setDescription(i18n.getMessage("GetAODrivers.description")); |
setDescription(i18n.getMessage("GetAODrivers.description")); |
45 |
} |
} |
46 |
|
|
47 |
|
/** The entry point of the task. */ |
48 |
public void |
public void |
49 |
run() { |
run() { |
50 |
try { setResult(CC.getClient().getAudioOutputDrivers()); } |
try { setResult(CC.getClient().getAudioOutputDrivers()); } |