MCPcopy Create free account
hub / github.com/audacity/audacity / SetPinnedHeadPreference

Method SetPinnedHeadPreference

src/prefs/TracksPrefs.cpp:377–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377void TracksPrefs::SetPinnedHeadPreference(bool value, bool flush)
378{
379 iPreferencePinned = value ? 1 :0;
380 gPrefs->Write(PinnedHeadPreferenceKey(), value);
381 if(flush)
382 gPrefs->Flush();
383}
384
385double TracksPrefs::GetPinnedHeadPositionPreference()
386{

Callers

nothing calls this directly

Calls 3

PinnedHeadPreferenceKeyFunction · 0.85
WriteMethod · 0.45
FlushMethod · 0.45

Tested by

no test coverage detected