Lines Matching refs:old

1182          * but the old overwritten settings can still be in the database after
1188 * and devices set by the user, so we discard all old device settings,
1194 * default, whereas old manual configuration can be restored restored
1291 struct entry *entry, *old = NULL;
1327 if ((old = entry_read(u, name))) {
1328 entry = entry_copy(old);
1341 && (!old->volume_valid
1342 || !pa_channel_map_equal(&entry->channel_map, &old->channel_map)
1343 || !pa_cvolume_equal(&entry->volume, &old->volume));
1350 mute_updated = !created_new_entry && (!old->muted_valid || entry->muted != old->muted);
1368 if ((old = entry_read(u, name))) {
1369 entry = entry_copy(old);
1382 && (!old->volume_valid
1383 || !pa_channel_map_equal(&entry->channel_map, &old->channel_map)
1384 || !pa_cvolume_equal(&entry->volume, &old->volume));
1391 mute_updated = !created_new_entry && (!old->muted_valid || entry->muted != old->muted);
1397 if (old) {
1399 if (entries_equal(old, entry)) {
1400 entry_free(old);
1406 entry_free(old);
1543 struct entry *old;
1553 if ((old = entry_read(u, name)))
1554 entry = entry_copy(old);
1584 if (!created_new_entry && !pa_safe_streq(entry->device, old->device))
1590 if (old)
1591 entry_free(old);
2052 struct entry *old;
2104 old = entry_read(u, name);
2115 if (old) {
2118 if ((old->device_valid != entry->device_valid)
2119 || (entry->device_valid && !pa_streq(entry->device, old->device)))
2122 if ((old->volume_valid != entry->volume_valid)
2123 || (entry->volume_valid && (!pa_cvolume_equal(&entry->volume, &old->volume)
2124 || !pa_channel_map_equal(&entry->channel_map, &old->channel_map))))
2127 if (!old->muted_valid || (entry->muted != old->muted))
2142 if (old)
2143 entry_free(old);