From what I can tell, corked is a Boolean field that means "paused", i.e. the opposite of "running". I believe the "state" that pacmd shows for sink inputs is not a field on them but just a different presentation of the corked field.
Not sure if it's same as paused/running flag for stream, but quickly checking it here with mpv, see that it definitely reflects playback state there, so guess close enough :)
Tried following the example in #3.
From what I can tell,
corked
is a Boolean field that means "paused", i.e. the opposite of "running". I believe the "state" that pacmd shows for sink inputs is not a field on them but just a different presentation of thecorked
field.