This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** | |
This file is part of PulseAudio. | |
Copyright 2004-2006 Lennart Poettering | |
Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB | |
PulseAudio is free software; you can redistribute it and/or modify | |
it under the terms of the GNU Lesser General Public License as published | |
by the Free Software Foundation; either version 2.1 of the License, | |
or (at your option) any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <pulse/pulseaudio.h> | |
// Field list is here: http://0pointer.de/lennart/projects/pulseaudio/doxygen/structpa__sink__info.html | |
typedef struct pa_devicelist { | |
uint8_t initialized; | |
char name[512]; | |
uint32_t index; | |
char description[256]; |