pulse.get_device">pulse.get_device</a> to obtain a device object.
          </div>
    <dl class="function">
    <dt>
    <a name = "pulse.Device:get_state"></a>
    <strong>pulse.Device:get_state ()</strong>
    </dt>
    <dd>

<p>Get the current state of the device.  This can be one of:</p>

<ul>
    <li>"running": the device is being used by at least one non-corked stream.</li>
    <li>"idle": the device is active, but no non-corked streams are connected to it.</li>
    <li>"suspended": the device is not