source:
roaraudio/libroarpulse/libroarpulseinfo.c
@
462:08db2c1fa036
Last change on this file since 462:08db2c1fa036 was 403:7e82c0d6e78b, checked in by phi, 16 years ago | |
---|---|
File size: 389 bytes |
Line | |
---|---|
1 | //*.c: |
2 | |
3 | #include <libroarpulse/libroarpulse.h> |
4 | |
5 | int main (void) { |
6 | struct { char * name; int len; } types[] = { |
7 | // { "pa_simple", sizeof(pa_simple) }, |
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.