summaryrefslogtreecommitdiff
path: root/gvc-mixer-stream.c
Commit message (Collapse)AuthorAgeFilesLines
* mixer-control: Expose stream stateFlorian Müllner2019-11-231-0/+38
| | | | | | | The state can be used to determine whether audio is currently playing or not, which can be useful information. https://gitlab.gnome.org/GNOME/libgnome-volume-control/merge_requests/8
* Add missing guards for inputs to functionsRobert Ancell2019-03-181-0/+2
|
* fix cast-function-type warningsAlberts Muktupāvels2018-09-101-2/+1
| | | | | | | | | | gvc-mixer-card.c: In function ‘gvc_mixer_card_finalize’: gvc-mixer-card.c:571:53: warning: cast between incompatible function types from ‘void (*)(GvcMixerCardProfile *)’ {aka ‘void (*)(struct <anonymous> *)’} to ‘void (*)(void *, void *)’ [-Wcast-function-type] g_list_foreach (mixer_card->priv->profiles, (GFunc) free_profile, NULL); gvc-mixer-stream.c: In function ‘gvc_mixer_stream_finalize’: gvc-mixer-stream.c:1044:52: warning: cast between incompatible function types from ‘void (*)(GvcMixerStreamPort *)’ {aka ‘void (*)(struct <anonymous> *)’} to ‘void (*)(void *, void *)’ [-Wcast-function-type] g_list_foreach (mixer_stream->priv->ports, (GFunc) free_port, NULL);
* avoid deprecated g_type_class_add_privateAlberts Muktupāvels2018-09-091-5/+2
|
* Fix unused GIR transfer notation on integer valuesRobert Ancell2017-12-061-2/+2
|
* gvc-mixer-stream: make card-index unsigned intAlberts Muktupāvels2015-09-151-3/+3
| | | | | | | | | Card in pa_source_info that is used as card-index is uint32_t so it is never less then 0. Also index in GvcMixerCard is already unsigned int that is used to compare with card-index. This fixes build warning - comparison between signed and unsigned integer expressions. https://bugzilla.gnome.org/show_bug.cgi?id=752244
* remove unneeded *_class_init and *_init declarationsAlberts Muktupāvels2015-09-091-2/+0
|
* GvcMixerStream: expose form factor from PulseAudioGiovanni Campagna2012-12-081-0/+38
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675902
* Gvc: make GvcMixerStreamPort a boxed typeGiovanni Campagna2012-12-081-8/+24
| | | | | | It's a prerequisite for accessing it from JS https://bugzilla.gnome.org/show_bug.cgi?id=675902
* Fix introspection supportGiovanni Campagna2012-10-191-4/+0
| | | | | Fix includes, comments and parameter names so that introspection builds without warnings.
* Initial importGiovanni Campagna2012-10-191-0/+1006
Code from gnome-control-center, build system integration from gnome-shell