| Summary: | Неприятности с timidity.cfg -- не играет музыка | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Sisyphus | Reporter: | Fr. Br. George <george> | ||||
| Component: | libSDL_mixer | Assignee: | Leontiy Volodin <lvol> | ||||
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus | ||||
| Severity: | normal | ||||||
| Priority: | P2 | CC: | lvol | ||||
| Version: | unstable | ||||||
| Hardware: | all | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
|
Description
Fr. Br. George
2008-11-10 19:40:22 MSK
не совсем все так
/* You could specify a complete path, e.g. "/etc/timidity.cfg", and
then specify the library directory in the configuration file. */
#define CONFIG_FILE "timidity.cfg"
#define CONFIG_FILE_ETC "/etc/timidity.cfg"
#define CONFIG_FILE_ETC_TIMIDITY "/etc/timidity/timidity.cfg"
int Timidity_Init(int rate, int format, int channels, int samples)
{
if (read_config_file(CONFIG_FILE)<0) {
if (read_config_file(CONFIG_FILE_ETC)<0) {
if (read_config_file(CONFIG_FILE_ETC_TIMIDITY)<0) {
return(-1);
}
}
}
и т.д.
но смысл в этом есть. на чем это можно затестить?
я предлагаю заменит /etc/timidity/timidity.cfg на /usr/share/timidity/media.cfg и добавить зависимость на timidity-instruments, так будет проще Created attachment 3063 [details]
SDL_mixer-1.2.8-alt-timidity.patch
в общем примерно так
SDL_mixer-1.2.8-alt2 |