1 |
|
/* |
2 |
|
* audio_defs.h - Definitions for MacOS audio components |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2000 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2008 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 |
77 |
|
const uint32 siHeadphoneVolumeSteps = FOURCC('h','d','s','t'); // number of volume steps for headphone |
78 |
|
const uint32 siSpeakerMute = FOURCC('s','m','u','t'); // mute state of all built-in speakers |
79 |
|
const uint32 siSpeakerVolume = FOURCC('s','v','o','l'); // volume level of built-in speaker |
80 |
+ |
const uint32 siDeviceName = FOURCC('n','a','m','e'); |
81 |
+ |
const uint32 siDeviceIcon = FOURCC('i','c','o','n'); |
82 |
+ |
const uint32 siHardwareFormat = FOURCC('h','w','f','m'); |
83 |
|
|
84 |
|
enum { // ComponentResource struct |
85 |
|
componentType = 0, |
97 |
|
componentIconID = 42, |
98 |
|
componentVersion = 44, |
99 |
|
componentRegisterFlags = 48, |
100 |
< |
componentIconFamily = 52 |
100 |
> |
componentIconFamily = 52, |
101 |
> |
componentPFCount = 54, |
102 |
> |
componentPFFlags = 58, |
103 |
> |
componentPFResType = 62, |
104 |
> |
componentPFResID = 66, |
105 |
> |
componentPFPlatform = 68 |
106 |
|
}; |
107 |
|
|
108 |
|
// Component feature flags |