NullSoundDevice

class NullSoundDevice[source]

Bases: object

__init__()

Methods

Attributes

samplerate: int = 44100
error: str = ''
recorder: Any = None
load(load: Any, right: Any) → None[source]

Loads sound data.

Parameters:
  • load (Any) – Left channel data or similar.

  • right (Any) – Right channel data.

play() → None[source]

Plays the loaded sound.

stop() → None[source]

Stops sound playback.

shutdown() → None[source]

No device to shut down.