Mercurial > hg > xmms-sid
comparison src/xs_sidplay.h @ 526:fa95d942f226
Header cleanup; Moved some types from xmms-sid.h to xs_player.h; Renamed few functions.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 20 Feb 2007 16:53:05 +0000 |
parents | 99f05a74de5b |
children | fe8b41abd923 |
comparison
equal
deleted
inserted
replaced
525:9395961504c1 | 526:fa95d942f226 |
---|---|
43 delete myTune; | 43 delete myTune; |
44 return NULL; | 44 return NULL; |
45 } | 45 } |
46 | 46 |
47 /* Get general tune information */ | 47 /* Get general tune information */ |
48 #ifdef _XS_SIDPLAY1_H | 48 #ifdef XS_SIDPLAY1_H |
49 myTune->getInfo(myInfo); | 49 myTune->getInfo(myInfo); |
50 #endif | 50 #endif |
51 #ifdef _XS_SIDPLAY2_H | 51 #ifdef XS_SIDPLAY2_H |
52 myInfo = myTune->getInfo(); | 52 myInfo = myTune->getInfo(); |
53 #endif | 53 #endif |
54 | 54 |
55 /* Allocate tuneinfo structure and set information */ | 55 /* Allocate tuneinfo structure and set information */ |
56 pResult = xs_tuneinfo_new(sidFilename, | 56 pResult = xs_tuneinfo_new(sidFilename, |
89 myTune = myEngine->currTune; | 89 myTune = myEngine->currTune; |
90 if (!myTune) | 90 if (!myTune) |
91 return FALSE; | 91 return FALSE; |
92 | 92 |
93 /* Get currently playing tune information */ | 93 /* Get currently playing tune information */ |
94 #ifdef _XS_SIDPLAY1_H | 94 #ifdef XS_SIDPLAY1_H |
95 myTune->getInfo(myInfo); | 95 myTune->getInfo(myInfo); |
96 #endif | 96 #endif |
97 #ifdef _XS_SIDPLAY2_H | 97 #ifdef XS_SIDPLAY2_H |
98 myInfo = myTune->getInfo(); | 98 myInfo = myTune->getInfo(); |
99 #endif | 99 #endif |
100 | 100 |
101 /* NOTICE! Here we assume that libSIDPlay[12] headers define | 101 /* NOTICE! Here we assume that libSIDPlay[12] headers define |
102 * SIDTUNE_SIDMODEL_* similarly to our enums in xs_config.h ... | 102 * SIDTUNE_SIDMODEL_* similarly to our enums in xs_config.h ... |