1 |
|
/* |
2 |
|
* audio_defs.h - Definitions for MacOS audio components |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2000 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
60 |
|
|
61 |
|
// Sound information selectors |
62 |
|
enum { |
63 |
+ |
siNumberChannels = 'chan', // current number of channels |
64 |
+ |
siChannelAvailable = 'chav', // number of channels available |
65 |
|
siSampleRate = 'srat', // current sample rate |
66 |
|
siSampleRateAvailable = 'srav', // sample rates available |
67 |
|
siSampleSize = 'ssiz', // current sample size |
68 |
|
siSampleSizeAvailable = 'ssav', // sample sizes available |
67 |
– |
siNumberChannels = 'chan', // current number of channels |
68 |
– |
siChannelAvailable = 'chav', // number of channels available |
69 |
– |
siSpeakerMute = 'smut', // mute state of all built-in speaker |
70 |
– |
siSpeakerVolume = 'svol', // volume level of built-in speaker |
69 |
|
siHardwareMute = 'hmut', // mute state of all hardware |
70 |
|
siHardwareVolume = 'hvol', // volume level of all hardware |
71 |
|
siHardwareVolumeSteps = 'hstp', // number of volume steps for hardware |
72 |
< |
siHardwareBusy = 'hwbs' // sound hardware is in use |
72 |
> |
siHardwareBusy = 'hwbs', // sound hardware is in use |
73 |
> |
siHeadphoneMute = 'pmut', // mute state of headphone |
74 |
> |
siHeadphoneVolume = 'pvol', // volume level of headphone |
75 |
> |
siHeadphoneVolumeSteps = 'hdst', // number of volume steps for headphone |
76 |
> |
siSpeakerMute = 'smut', // mute state of all built-in speakers |
77 |
> |
siSpeakerVolume = 'svol' // volume level of built-in speaker |
78 |
|
}; |
79 |
|
|
80 |
|
enum { // ComponentResource struct |