powccoreaudio.endpointvolume module#
エンドポイントの音量。
主なクラスは AudioEndpointVolume です。MMDevice から作成されます。
- class powccoreaudio.endpointvolume.AudioEndpointVolume(o: Any, eventcontext_guid: GUID | None = None)#
ベースクラス:
objectオーディオエンドポイント。IAudioEndpointVolumeインターフェイスのラッパーです。
- class VolumeRange(min_db: float, max_db: float, increment_db: float)#
ベースクラス:
object- increment_db: float#
- max_db: float#
- min_db: float#
- property channel_count: int#
- property eventcontext_guid: GUID | None#
- property hardware_support: int#
- property master_volume_level: float#
- property master_volume_level_scalar: float#
- property mute: bool#
- set_channel_volume_level(channel: int, value: float) None#
- set_channel_volume_level_scalar(channel: int, value: float) None#
- property volume_range: VolumeRange#
- property volume_range_nothrow: ComResult[VolumeRange]#
- property volume_step_info: VolumeStepInfo#
- property volume_step_info_nothrow: ComResult[VolumeStepInfo]#
- volume_stepdown() None#
- volume_stepup() None#
- property wrapped_obj: c_void_p#
- class powccoreaudio.endpointvolume.AudioMeterInformation(o: Any)#
ベースクラス:
object聴覚メーター情報。IAudioMeterInformationインターフェイスのラッパーです。
作成には
MMDeviceを使用します。- property channelspeakvalues: tuple[float]#
- property hardwaresupport: ENDPOINT_HARDWARE_SUPPORT#
- property hardwaresupport_nothrow: ComResult[ENDPOINT_HARDWARE_SUPPORT]#
- property meteringchannelcount: int#
- property peakvalue: float#
- property wrapped_obj: c_void_p#
- class powccoreaudio.endpointvolume.AudioVolumeNotificationData#
ベースクラス:
StructureAUDIO_VOLUME_NOTIFICATION_DATA
- channel_volumes0#
Structure/Union member
- channels#
Structure/Union member
- event_context_guid#
Structure/Union member
- master_volume#
Structure/Union member
- muted#
Structure/Union member
- class powccoreaudio.endpointvolume.ENDPOINT_HARDWARE_SUPPORT(*values)#
ベースクラス:
IntFlagENDPOINT_HARDWARE_SUPPORT_*定数
- METER = 4#
- MUTE = 2#
- VOLUME = 1#
- class powccoreaudio.endpointvolume.IAudioEndpointVolume#
ベースクラス:
IUnknown- GetChannelCount = <COM method offset 5: WinFunctionType>#
- GetChannelVolumeLevel = <COM method offset 12: WinFunctionType>#
- GetChannelVolumeLevelScalar = <COM method offset 13: WinFunctionType>#
- GetMasterVolumeLevel = <COM method offset 8: WinFunctionType>#
- GetMasterVolumeLevelScalar = <COM method offset 9: WinFunctionType>#
- GetMute = <COM method offset 15: WinFunctionType>#
- GetVolumeRange = <COM method offset 20: WinFunctionType>#
- GetVolumeStepInfo = <COM method offset 16: WinFunctionType>#
- QueryHardwareSupport = <COM method offset 19: WinFunctionType>#
- RegisterControlChangeNotify = <COM method offset 3: WinFunctionType>#
- SetChannelVolumeLevel = <COM method offset 10: WinFunctionType>#
- SetChannelVolumeLevelScalar = <COM method offset 11: WinFunctionType>#
- SetMasterVolumeLevel = <COM method offset 6: WinFunctionType>#
- SetMasterVolumeLevelScalar = <COM method offset 7: WinFunctionType>#
- SetMute = <COM method offset 14: WinFunctionType>#
- UnregisterControlChangeNotify = <COM method offset 4: WinFunctionType>#
- VolumeStepDown = <COM method offset 18: WinFunctionType>#
- VolumeStepUp = <COM method offset 17: WinFunctionType>#
- class powccoreaudio.endpointvolume.IAudioEndpointVolumeCallback#
ベースクラス:
IUnknown- OnNotify = <COM method offset 3: WinFunctionType>#
- class powccoreaudio.endpointvolume.IAudioEndpointVolumeEx#
ベースクラス:
IAudioEndpointVolume- GetVolumeRangeChannel = <COM method offset 21: WinFunctionType>#
- class powccoreaudio.endpointvolume.IAudioMeterInformation#
ベースクラス:
IUnknown- GetChannelsPeakValues = <COM method offset 5: WinFunctionType>#
- GetMeteringChannelCount = <COM method offset 4: WinFunctionType>#
- GetPeakValue = <COM method offset 3: WinFunctionType>#
- QueryHardwareSupport = <COM method offset 6: WinFunctionType>#