Changeset View
Changeset View
Standalone View
Standalone View
src/qml/volumefeedback.cpp
Context not available. | |||||
55 | 55 | | |||
---|---|---|---|---|---|
56 | // NB Depending on how this is desired to work, we may want to simply | 56 | // NB Depending on how this is desired to work, we may want to simply | ||
57 | // skip playing, or cancel the currently playing sound and play our | 57 | // skip playing, or cancel the currently playing sound and play our | ||
58 | // new one... for now, let's do the latter. | 58 | // new one... for now, let's do the former. | ||
59 | if (playing) { | 59 | if (playing) { | ||
60 | ca_context_cancel(context, cindex); | 60 | return; | ||
61 | } | 61 | } | ||
62 | 62 | | |||
63 | char dev[64]; | 63 | char dev[64]; | ||
Context not available. |