Mercurial > audlegacy-plugins
diff src/OSS4/init.c @ 1244:d0f1e147cf62
now it saves VMIX volume between sessions
| author | Cristi Magherusan <majeru@atheme-project.org> |
|---|---|
| date | Thu, 12 Jul 2007 18:21:23 +0300 |
| parents | 2a722c3ccd9e |
| children | a18b7cdc505d |
line wrap: on
line diff
--- a/src/OSS4/init.c Thu Jul 12 17:51:36 2007 +0300 +++ b/src/OSS4/init.c Thu Jul 12 18:21:23 2007 +0300 @@ -43,6 +43,7 @@ oss_cfg.use_master = 0; if ((db = bmp_cfg_db_open())) { + bmp_cfg_db_get_int(db, "OSS", "saved_volume", &vol); bmp_cfg_db_get_int(db, "OSS", "audio_device", &oss_cfg.audio_device); bmp_cfg_db_get_int(db, "OSS", "mixer_device", &oss_cfg.mixer_device); bmp_cfg_db_get_int(db, "OSS", "buffer_size", &oss_cfg.buffer_size);
