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.