Mercurial > audlegacy-plugins
comparison src/OSS4/OSS4.c @ 2124:b8da6a0b0da2
s/bmp_cfg_/aud_cfg_/g
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 24 Oct 2007 07:34:02 +0300 |
parents | 4c937c5a03d2 |
children | 7b284f323ad8 |
comparison
equal
deleted
inserted
replaced
2123:c349bd73af71 | 2124:b8da6a0b0da2 |
---|---|
51 DECLARE_PLUGIN(OSS4, NULL, NULL, NULL, oss_oplist, NULL, NULL, NULL, NULL); | 51 DECLARE_PLUGIN(OSS4, NULL, NULL, NULL, oss_oplist, NULL, NULL, NULL, NULL); |
52 | 52 |
53 void oss_cleanup(void) | 53 void oss_cleanup(void) |
54 { | 54 { |
55 ConfigDb *db; | 55 ConfigDb *db; |
56 db = bmp_cfg_db_open(); | 56 db = aud_cfg_db_open(); |
57 bmp_cfg_db_set_int(db, "OSS", "saved_volume", vol); | 57 aud_cfg_db_set_int(db, "OSS", "saved_volume", vol); |
58 bmp_cfg_db_close(db); | 58 aud_cfg_db_close(db); |
59 | 59 |
60 if (oss_cfg.alt_audio_device) { | 60 if (oss_cfg.alt_audio_device) { |
61 free(oss_cfg.alt_audio_device); | 61 free(oss_cfg.alt_audio_device); |
62 oss_cfg.alt_audio_device = NULL; | 62 oss_cfg.alt_audio_device = NULL; |
63 } | 63 } |