source:
roaraudio/libroarpulse/libroarpulseinfo.c
@
679:686e27a00872
Last change on this file since 679:686e27a00872 was 403:7e82c0d6e78b, checked in by phi, 16 years ago | |
---|---|
File size: 389 bytes |
Rev | Line | |
---|---|---|
[401] | 1 | //*.c: |
2 | ||
3 | #include <libroarpulse/libroarpulse.h> | |
4 | ||
5 | int main (void) { | |
6 | struct { char * name; int len; } types[] = { | |
[403] | 7 | // { "pa_simple", sizeof(pa_simple) }, |
[401] | 8 | { "pa_sample_spec", sizeof(pa_sample_spec) }, |
9 | { NULL, 0 } | |
10 | }, * c = types - 1; | |
11 | ||
12 | printf("Types:\n"); | |
13 | while ((++c)->name != NULL) | |
14 | printf("%-20s = %3i Bytes = %4i Bits\n", c->name, c->len, c->len * 8); | |
15 | ||
16 | return 0; | |
17 | } | |
18 | ||
19 | //ll |
Note: See TracBrowser
for help on using the repository browser.