Mercurial > hg > xmms-sid
comparison src/xs_sidplay.h @ 230:608f31f6c095
Raw cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 21 Dec 2004 09:25:03 +0000 |
parents | fe684a2ccdc7 |
children | b1a858b8cb1a |
comparison
equal
deleted
inserted
replaced
229:7bb9e20e3092 | 230:608f31f6c095 |
---|---|
1 /* | 1 /* |
2 * Here comes the really ugly code... | 2 * Here comes the really ugly code... |
3 * Get all SID-tune information (for all sub-tunes) | 3 * Get all SID-tune information (for all sub-tunes) |
4 * including name, length, etc. | 4 * including name, length, etc. |
5 */ | 5 */ |
6 t_xs_tune * TFUNCTION(gchar *pcFilename) | 6 t_xs_tuneinfo * TFUNCTION(gchar *pcFilename) |
7 { | 7 { |
8 t_xs_sldb_node *tuneLength = NULL; | 8 t_xs_sldb_node *tuneLength = NULL; |
9 t_xs_tune *pResult; | 9 t_xs_tuneinfo *pResult; |
10 TTUNEINFO tuneInfo; | 10 TTUNEINFO tuneInfo; |
11 TTUNE *testTune; | 11 TTUNE *testTune; |
12 gboolean haveInfo = TRUE; | 12 gboolean haveInfo = TRUE; |
13 gint i; | 13 gint i; |
14 | 14 |
33 | 33 |
34 /* Get length information (NOTE: Do not free this!) */ | 34 /* Get length information (NOTE: Do not free this!) */ |
35 tuneLength = xs_songlen_get(pcFilename); | 35 tuneLength = xs_songlen_get(pcFilename); |
36 | 36 |
37 /* Allocate tuneinfo structure */ | 37 /* Allocate tuneinfo structure */ |
38 pResult = xs_tune_new(pcFilename, | 38 pResult = xs_tuneinfo_new(pcFilename, |
39 tuneInfo.songs, tuneInfo.startSong, | 39 tuneInfo.songs, tuneInfo.startSong, |
40 tuneInfo.infoString[0], tuneInfo.infoString[1], tuneInfo.infoString[2], | 40 tuneInfo.infoString[0], tuneInfo.infoString[1], tuneInfo.infoString[2], |
41 tuneInfo.loadAddr, tuneInfo.initAddr, tuneInfo.playAddr, | 41 tuneInfo.loadAddr, tuneInfo.initAddr, tuneInfo.playAddr, |
42 tuneInfo.dataFileLen); | 42 tuneInfo.dataFileLen); |
43 | 43 |