| Lift freeq's AV media plane out of sleek 90f8b89 nandi 20d ago | 1 | pub const METADATA_NAME: &str = "metadata.name"; |
| 2 | |
| 3 | // NOTE: the icon name contains bluetooth and etc, not icon-name, but icon_name |
| 4 | // I have tried to get the information, and get |
| 5 | // "device.icon-name": "audio-card-analog", |
| 6 | // "device.icon_name": "video-display", |
| 7 | // So seems the `icon_name` is usable |
| 8 | pub const DEVICE_ICON_NAME: &str = "device.icon_name"; |
| 9 | |
| 10 | pub mod clock { |
| 11 | pub const RATE: &str = "clock.rate"; |
| 12 | pub const ALLOWED_RATES: &str = "clock.allowed-rates"; |
| 13 | pub const QUANTUM: &str = "clock.quantum"; |
| 14 | pub const MIN_QUANTUM: &str = "clock.min-quantum"; |
| 15 | pub const MAX_QUANTUM: &str = "clock.max-quantum"; |
| 16 | } |
| 17 | |
| 18 | pub mod audio { |
| 19 | pub const SINK: &str = "Audio/Sink"; |
| 20 | pub const SOURCE: &str = "Audio/Source"; |
| 21 | pub const DUPLEX: &str = "Audio/Duplex"; |
| 22 | pub const STREAM_OUTPUT: &str = "Stream/Output/Audio"; |
| 23 | pub const STREAM_INPUT: &str = "Stream/Input/Audio"; |
| 24 | } |