comparison src/vtx/vtx.c @ 2523:769e17da93dd

Replaced s/ConfigDb/mcs_handle_t/g, as per changes in the core.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 09 Apr 2008 15:48:36 +0300
parents 42a5c9d5830b
children bd3a24b39058
comparison
equal deleted inserted replaced
2522:7b5b4a51ea6e 2523:769e17da93dd
54 static gchar *vtx_fmts[] = { "vtx", NULL }; 54 static gchar *vtx_fmts[] = { "vtx", NULL };
55 55
56 void 56 void
57 vtx_init(void) 57 vtx_init(void)
58 { 58 {
59 ConfigDb *db; 59 mcs_handle_t *db;
60 db = aud_cfg_db_open(); 60 db = aud_cfg_db_open();
61 61
62 aud_cfg_db_get_int(db, NULL, "src_rate", &freq); 62 aud_cfg_db_get_int(db, NULL, "src_rate", &freq);
63 if (freq < 4000 || freq > 192000) 63 if (freq < 4000 || freq > 192000)
64 freq = 44100; 64 freq = 44100;