source: roaraudio/libroarpulse/libroarpulseinfo.c @ 409:b0e358b145d9

Last change on this file since 409:b0e358b145d9 was 403:7e82c0d6e78b, checked in by phi, 16 years ago

PulseAudio?'s devs are ideots: type pa_simple is not defined in there -dev pkg!

File size: 389 bytes
Line 
1//*.c:
2
3#include <libroarpulse/libroarpulse.h>
4
5int 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.