Top | ![]() |
![]() |
![]() |
![]() |
Wraps the settings a GObject. Single settings are accessed via normal
g_object_get()
and g_object_set()
calls. Changes in the settings will be notified
to the application by the GObject::notify signal.
gboolean bt_settings_determine_audiosink_name (const BtSettings * const self
,gchar **element_name
,gchar **device_name
);
Check the settings for the configured audio sink. Pick a fallback if none has been chosen. Verify that the sink works.
Free the strings in the output variables, when done.
GHashTable *
bt_settings_parse_ic_playback_spec (const gchar *spec
);
Parses the string.
gchar *
bt_settings_format_ic_playback_spec (GHashTable *ht
);
Format the settings as a string.
BtSettings *
bt_settings_make (void
);
Create a new instance. The type of the settings depends on the subsystem found during configuration run.
Settings are implemented as a singleton. Thus the first invocation will create the object and further calls will just give back a reference.
“audiosink”
property“audiosink” gchar *
audio output gstreamer element.
Flags: Read / Write
Default value: NULL
“audiosink-device”
property“audiosink-device” gchar *
audio output device name.
Flags: Read / Write
Default value: NULL
“channels”
property“channels” guint
number of audio output channels.
Flags: Read / Write
Allowed values: [1,2]
Default value: 2
“coherence-upnp-active”
property“coherence-upnp-active” gboolean
activate Coherence UPnP based playback controller.
Flags: Read / Write
Default value: FALSE
“coherence-upnp-port”
property“coherence-upnp-port” guint
the port number for the communication with the coherence backend.
Flags: Read / Write
Default value: 7654
“compact-theme”
property“compact-theme” gboolean
use dense theme variant for small screens.
Flags: Read / Write
Default value: FALSE
“dark-theme”
property“dark-theme” gboolean
use dark theme variant.
Flags: Read / Write
Default value: FALSE
“grid-density”
property“grid-density” gchar *
machine view grid detail level.
Flags: Read / Write
Default value: "low"
“ic-playback-active”
property“ic-playback-active” gboolean
activate interaction controller library based playback controller.
Flags: Read / Write
Default value: FALSE
“ic-playback-spec”
property“ic-playback-spec” gchar *
list of device and control names.
Flags: Read / Write
Default value: NULL
“jack-transport-master”
property“jack-transport-master” gboolean
sync other jack clients to buzztrax playback state.
Flags: Read / Write
Default value: FALSE
“jack-transport-slave”
property“jack-transport-slave” gboolean
sync buzztrax to the playback state other jack clients.
Flags: Read / Write
Default value: FALSE
“latency”
property“latency” guint
target audio latency in ms.
Flags: Read / Write
Allowed values: [1,200]
Default value: 30
“missing-machines”
property“missing-machines” gchar *
list of tip-numbers that were shown already.
Flags: Read / Write
Default value: NULL
“news-seen”
property“news-seen” guint
version number for that the user has seen the news.
Flags: Read / Write
Default value: 0
“presented-tips”
property“presented-tips” gchar *
list of missing machines to ignore.
Flags: Read / Write
Default value: NULL
“record-folder”
property“record-folder” gchar *
default directory for recordings.
Flags: Read / Write
Default value: "/home/ensonic"
“sample-folder”
property“sample-folder” gchar *
default directory for sample-waveforms.
Flags: Read / Write
Default value: "/home/ensonic"
“sample-rate”
property“sample-rate” guint
audio output sample-rate.
Flags: Read / Write
Allowed values: [1,96000]
Default value: 44100
“show-tips”
property“show-tips” gboolean
show tips on startup.
Flags: Read / Write
Default value: TRUE
“song-folder”
property“song-folder” gchar *
default directory for songs.
Flags: Read / Write
Default value: "/home/ensonic"
“statusbar-hide”
property“statusbar-hide” gboolean
hide bottom statusbar.
Flags: Read / Write
Default value: FALSE
“system-audiosink”
property“system-audiosink” gchar *
system audio output gstreamer element.
Flags: Read
Default value: NULL
“tabs-hide”
property“tabs-hide” gboolean
hide main page tabs.
Flags: Read / Write
Default value: FALSE
“toolbar-hide”
property“toolbar-hide” gboolean
hide main toolbar.
Flags: Read / Write
Default value: FALSE
“toolbar-style”
property“toolbar-style” gchar *
system tolbar style.
Flags: Read
Default value: "both"
“window-height”
property“window-height” gint
last application window height.
Flags: Read / Write
Allowed values: >= -1
Default value: -1
“window-width”
property“window-width” gint
last application window width.
Flags: Read / Write
Allowed values: >= -1
Default value: -1
“window-xpos”
property“window-xpos” gint
last application window x-position.
Flags: Read / Write
Default value: 0
“window-ypos”
property“window-ypos” gint
last application window y-position.
Flags: Read / Write
Default value: 0