roaraudio_0_1_testing6_wesen
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.