/* Show input. */
err = snd_oxfw_stream_get_current_formation(oxfw,
AVC_GENERAL_PLUG_DIR_IN,
&curr); if (err < 0) return;
snd_iprintf(buffer, "Input Stream to device:\n");
snd_iprintf(buffer, "\tRate\tPCM\tMIDI\n"); for (i = 0; i < SND_OXFW_STREAM_FORMAT_ENTRIES; i++) {
format = oxfw->rx_stream_formats[i]; if (format == NULL) continue;
err = snd_oxfw_stream_parse_format(format, &formation); if (err < 0) continue;
if (memcmp(&formation, &curr, sizeof(curr)) == 0)
flag = '*'; else
flag = ' ';
/* Show output. */
err = snd_oxfw_stream_get_current_formation(oxfw,
AVC_GENERAL_PLUG_DIR_OUT,
&curr); if (err < 0) return;
snd_iprintf(buffer, "Output Stream from device:\n");
snd_iprintf(buffer, "\tRate\tPCM\tMIDI\n"); for (i = 0; i < SND_OXFW_STREAM_FORMAT_ENTRIES; i++) {
format = oxfw->tx_stream_formats[i]; if (format == NULL) continue;
err = snd_oxfw_stream_parse_format(format, &formation); if (err < 0) continue;
if (memcmp(&formation, &curr, sizeof(curr)) == 0)
flag = '*'; else
flag = ' ';
/* * All nodes are automatically removed at snd_card_disconnect(), * by following to link list.
*/
root = snd_info_create_card_entry(oxfw->card, "firewire",
oxfw->card->proc_root); if (root == NULL) return;
root->mode = S_IFDIR | 0555;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.