Mercurial > mxe-octave
annotate src/sdl_mixer-test.c @ 2333:f653602a0500
Rebrand to new project name MXE
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Mar 2012 15:46:58 +0200 |
parents | 4e48476ea587 |
children | 8a6c466753e2 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1707
diff
changeset
|
1 /* This file is part of MXE. */ |
736
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); |
1707
4e48476ea587
fix compiler errors instead of suppressing them
Volker Grabsch <vog@notjusthosting.com>
parents:
946
diff
changeset
|
14 (void)initted; |
736
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 Mix_Quit(); |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 return 0; |
9232c79dac70
bugfix and test program for package sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 } |