Mercurial > mxe-octave
annotate src/sdl_mixer-test.c @ 946:35a9e556c82c
improved coding style of test programs
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 09 May 2010 23:21:01 +0200 |
parents | 9232c79dac70 |
children | 4e48476ea587 |
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 |
946
35a9e556c82c
improved coding style of test programs
Volker Grabsch <vog@notjusthosting.com>
parents:
736
diff
changeset
|
6 int main(int argc, char *argv[]) |
736
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 } |