GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — linux-6.12.y/sound/last.c at main · unifreq/linux-6.12.y Expand file tree/ Copy pathlast.cMore file actions 29 lines (25 loc) · 628 Bytes / Copy pathlast.cFile metadata and controls29 lines (25 loc) · 628 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 // SPDX-License-Identifier: GPL-2.0-or-later /* * Advanced Linux Sound Architecture * Copyright (c) by Jaroslav Kysela <[email protected]> */ #include <linux/init.h> #include <sound/core.h> static int __init alsa_sound_last_init(void) { struct snd_card *card; int idx, ok = 0; printk(KERN_INFO "ALSA device list:\n"); for (idx = 0; idx < SNDRV_CARDS; idx++) { card = snd_card_ref(idx); if (card) { printk(KERN_INFO " #%i: %s\n", idx, card->longname); snd_card_unref(card); ok++; } } if (ok == 0) printk(KERN_INFO " No soundcards found.\n"); return 0; } late_initcall_sync(alsa_sound_last_init); |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |