| Top |
BtAudioSessionBtAudioSession — bin to be used by BtSinkMachine |
| gboolean | audio-locked | Read / Write |
| GstElement * | audio-sink | Read |
| gchar * | audio-sink-device | Read / Write |
| gchar * | audio-sink-name | Read / Write |
The audio-session provides a persistent audio-sink for some classes. This e.g. ensures a persistent presence in qjackctrl if jackaudiosink is used.
The top BtApplication should create one and dispose it at the end of the
lifecycle. The audio-session is a singleton, parts in the code can just call
bt_audio_session_new() to get the instance.
BtAudioSession *
bt_audio_session_new (void);
Create a new audio-session or return the existing one. The audio session keeps the audio setup alive across songs. An application can only have one audio-session. This method can be called several times though.
“audio-locked” property“audio-locked” gboolean
locked state for the audio-sink.
Flags: Read / Write
Default value: FALSE
“audio-sink-device” property“audio-sink-device” gchar *
The name of the audio sink device.
Flags: Read / Write
Default value: NULL
“audio-sink-name” property“audio-sink-name” gchar *
The name of the audio sink factory.
Flags: Read / Write
Default value: NULL