Changeset eb866bf6e8302d2fc26ac8c490d28ba9adc6bd67
- Timestamp:
- 11/07/10 20:59:20 (3 years ago)
- Author:
- Nedko Arnaudov <nedko@…>
- Children:
- 8aebce6821ae5d0266dcbc3de61ad34fe83e39e3
- Parents:
- 79c75fd07bec3ba6e33dcb5fce11aba37a20e601
- git-committer:
- Nedko Arnaudov <nedko@arnaudov.name> / 2010-11-07T20:59:20Z+0200
- Message:
-
ladishd: save additional attributes for graph objects
For clients, save the naming scheme used. sometimes it is useful to maintain the original jack or alsa client name.
For ports, save port type and direction, alsa ports can be bidirectional, this renders as two a2j ports.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r78e99c4
|
reb866bf
|
|
| 147 | 147 | } |
| 148 | 148 | |
| | 149 | if (!ladish_write_string(fd, "\" naming=\"")) |
| | 150 | { |
| | 151 | return false; |
| | 152 | } |
| | 153 | |
| | 154 | if (!ladish_write_string(fd, "app")) |
| | 155 | { |
| | 156 | return false; |
| | 157 | } |
| | 158 | |
| 149 | 159 | if (!ladish_write_string(fd, "\">\n")) |
| 150 | 160 | { |
| … |
… |
|
| 266 | 276 | } |
| 267 | 277 | |
| | 278 | if (!ladish_write_string(fd, "\" type=\"")) |
| | 279 | { |
| | 280 | return false; |
| | 281 | } |
| | 282 | |
| | 283 | if (!ladish_write_string(fd, port_type == JACKDBUS_PORT_TYPE_AUDIO ? "audio" : "midi")) |
| | 284 | { |
| | 285 | return false; |
| | 286 | } |
| | 287 | |
| | 288 | if (!ladish_write_string(fd, "\" direction=\"")) |
| | 289 | { |
| | 290 | return false; |
| | 291 | } |
| | 292 | |
| | 293 | if (!ladish_write_string(fd, JACKDBUS_PORT_IS_INPUT(port_flags) ? "input" : "output")) |
| | 294 | { |
| | 295 | return false; |
| | 296 | } |
| | 297 | |
| 268 | 298 | if (link) |
| 269 | 299 | { |