File: sampleformats.c

package info (click to toggle)
gavl 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,324 kB
  • sloc: ansic: 474,645; makefile: 305; sh: 109
file content (12 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#include <gavl/gavl.h>
#include <stdio.h>

int main() {
	int i;
	for(i=0; i<gavl_num_sample_formats(); i++) {
		gavl_sample_format_t fmt=gavl_get_sample_format(i);
		printf("%d: %s[%d]\n", i, gavl_sample_format_to_string(fmt), fmt);
	}

	return 0;
}