Mercurial > mxe-octave
annotate src/sdl_mixer-test.c @ 736:9232c79dac70
bugfix and test program for package sdl_mixer
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 14 Feb 2010 19:59:37 +0100 |
parents | |
children | 35a9e556c82c |
rev | line source |
---|---|
736
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
1 /* This file is part of mingw-cross-env. */ |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
2 /* See doc/index.html for further information. */ |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 #include <SDL_mixer.h> |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 int main(int argc, char* argv[]) |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 { |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 int initted; |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 (void)argc; |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 (void)argv; |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 initted = Mix_Init(MIX_INIT_FLAC | MIX_INIT_OGG | MIX_INIT_MOD); |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 Mix_Quit(); |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 return 0; |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 } |