General commands
This class is accessed via the general
property on a CamillaClient
instance.
It provides the basic methods such as starting and stopping processing.
class: General
Bases: _CommandGroup
Basic commands
Source code in camilladsp/camilladsp.py
730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 |
|
exit()
Stop processing and exit.
Source code in camilladsp/camilladsp.py
765 766 767 768 769 |
|
list_capture_devices(value)
List the available capture devices for a given backend. Returns a list of tuples. Returns the system name and a descriptive name for each device. For some backends, those two names are identical.
Returns:
Type | Description |
---|---|
List[Tuple[str, str]]
|
List[Tuple[str, str]: A list containing tuples of two strings, with system device name and a descriptive name. |
Source code in camilladsp/camilladsp.py
824 825 826 827 828 829 830 831 832 833 834 835 836 |
|
list_playback_devices(value)
List the available playback devices for a given backend. Returns a list of tuples. Returns the system name and a descriptive name for each device. For some backends, those two names are identical.
Returns:
Type | Description |
---|---|
List[Tuple[str, str]]
|
List[Tuple[str, str]: A list containing tuples of two strings, with system device name and a descriptive name. |
Source code in camilladsp/camilladsp.py
810 811 812 813 814 815 816 817 818 819 820 821 822 |
|
reload()
Reload config from disk.
Source code in camilladsp/camilladsp.py
771 772 773 774 775 |
|
state()
Get current processing state.
Returns:
Type | Description |
---|---|
Optional[ProcessingState]
|
ProcessingState | None: Current processing state. |
Source code in camilladsp/camilladsp.py
737 738 739 740 741 742 743 744 745 |
|
state_file_path()
Get path to current state file.
Returns:
Type | Description |
---|---|
Optional[str]
|
str | None: Path to state file, or None. |
Source code in camilladsp/camilladsp.py
790 791 792 793 794 795 796 797 798 |
|
state_file_updated()
Check if all changes have been saved to the state file.
Returns:
Name | Type | Description |
---|---|---|
bool |
bool
|
True if all changes are saved. |
Source code in camilladsp/camilladsp.py
800 801 802 803 804 805 806 807 808 |
|
stop()
Stop processing and wait for new config if wait mode is active, else exit.
Source code in camilladsp/camilladsp.py
759 760 761 762 763 |
|
stop_reason()
Get reason why processing stopped.
Returns:
Name | Type | Description |
---|---|---|
StopReason |
StopReason
|
Stop reason enum variant. |
Source code in camilladsp/camilladsp.py
747 748 749 750 751 752 753 754 755 |
|
supported_device_types()
Read what device types the running CamillaDSP process supports. Returns a tuple with two lists of device types, the first for playback and the second for capture.
Returns:
Type | Description |
---|---|
Tuple[List[str], List[str]]
|
Tuple[List[str], List[str]]: A tuple containing two lists, with the supported playback and capture device types. |
Source code in camilladsp/camilladsp.py
777 778 779 780 781 782 783 784 785 786 787 788 |
|