Win32 API 日本語リファレンス
ホームMedia.DirectShow › DVD_KARAOKE_CONTENTS

DVD_KARAOKE_CONTENTS

列挙型
基底型i4

メンバー 8

名前10進16進説明
DVD_Karaoke_GuideVocal110x1チャンネルにガイドボーカル 1 が含まれます。
DVD_Karaoke_GuideVocal220x2チャンネルにガイドボーカル 2 が含まれます。
DVD_Karaoke_GuideMelody140x4チャンネルにガイドメロディ 1 が含まれます。
DVD_Karaoke_GuideMelody280x8チャンネルにガイドメロディ 2 が含まれます。
DVD_Karaoke_GuideMelodyA160x10チャンネルにガイドメロディ A が含まれます。
DVD_Karaoke_GuideMelodyB320x20チャンネルにガイドメロディ B が含まれます。
DVD_Karaoke_SoundEffectA640x40チャンネルにサウンドエフェクト A が含まれます。
DVD_Karaoke_SoundEffectB1280x80チャンネルにサウンドエフェクト B が含まれます。

公式ドキュメント

[このページに関連する機能である DirectShow はレガシー機能です。この機能は MediaPlayerIMFMediaEngine、および Audio/Video Capture in Media Foundation に置き換えられています。これらの機能は Windows 10 および Windows 11 向けに最適化されています。Microsoft は、可能な場合は新しいコードで DirectShow ではなく MediaPlayerIMFMediaEngineAudio/Video Capture in Media Foundation を使用することを強く推奨します。また、レガシー API を使用している既存のコードについても、可能であれば新しい API を使用するように書き換えることを推奨します。]

ビット単位の OR 演算で使用することにより、カラオケタイトルのオーディオストリームの各チャンネルの内容を示すフラグを指定します。

解説(Remarks)

この列挙型は DVD_KaraokeAttributes 構造体で使用されます。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum DVD_KARAOKE_CONTENTS : int {
    DVD_Karaoke_GuideVocal1 = 1,
    DVD_Karaoke_GuideVocal2 = 2,
    DVD_Karaoke_GuideMelody1 = 4,
    DVD_Karaoke_GuideMelody2 = 8,
    DVD_Karaoke_GuideMelodyA = 16,
    DVD_Karaoke_GuideMelodyB = 32,
    DVD_Karaoke_SoundEffectA = 64,
    DVD_Karaoke_SoundEffectB = 128
} DVD_KARAOKE_CONTENTS;
public enum DVD_KARAOKE_CONTENTS : int
{
    DVD_Karaoke_GuideVocal1 = 1,
    DVD_Karaoke_GuideVocal2 = 2,
    DVD_Karaoke_GuideMelody1 = 4,
    DVD_Karaoke_GuideMelody2 = 8,
    DVD_Karaoke_GuideMelodyA = 16,
    DVD_Karaoke_GuideMelodyB = 32,
    DVD_Karaoke_SoundEffectA = 64,
    DVD_Karaoke_SoundEffectB = 128,
}
Public Enum DVD_KARAOKE_CONTENTS As Integer
    DVD_Karaoke_GuideVocal1 = 1
    DVD_Karaoke_GuideVocal2 = 2
    DVD_Karaoke_GuideMelody1 = 4
    DVD_Karaoke_GuideMelody2 = 8
    DVD_Karaoke_GuideMelodyA = 16
    DVD_Karaoke_GuideMelodyB = 32
    DVD_Karaoke_SoundEffectA = 64
    DVD_Karaoke_SoundEffectB = 128
End Enum
import enum

class DVD_KARAOKE_CONTENTS(enum.IntEnum):
    DVD_Karaoke_GuideVocal1 = 1
    DVD_Karaoke_GuideVocal2 = 2
    DVD_Karaoke_GuideMelody1 = 4
    DVD_Karaoke_GuideMelody2 = 8
    DVD_Karaoke_GuideMelodyA = 16
    DVD_Karaoke_GuideMelodyB = 32
    DVD_Karaoke_SoundEffectA = 64
    DVD_Karaoke_SoundEffectB = 128
// DVD_KARAOKE_CONTENTS
pub const DVD_Karaoke_GuideVocal1: i32 = 1;
pub const DVD_Karaoke_GuideVocal2: i32 = 2;
pub const DVD_Karaoke_GuideMelody1: i32 = 4;
pub const DVD_Karaoke_GuideMelody2: i32 = 8;
pub const DVD_Karaoke_GuideMelodyA: i32 = 16;
pub const DVD_Karaoke_GuideMelodyB: i32 = 32;
pub const DVD_Karaoke_SoundEffectA: i32 = 64;
pub const DVD_Karaoke_SoundEffectB: i32 = 128;
// DVD_KARAOKE_CONTENTS
const (
	DVD_Karaoke_GuideVocal1 int32 = 1
	DVD_Karaoke_GuideVocal2 int32 = 2
	DVD_Karaoke_GuideMelody1 int32 = 4
	DVD_Karaoke_GuideMelody2 int32 = 8
	DVD_Karaoke_GuideMelodyA int32 = 16
	DVD_Karaoke_GuideMelodyB int32 = 32
	DVD_Karaoke_SoundEffectA int32 = 64
	DVD_Karaoke_SoundEffectB int32 = 128
)
const
  DVD_Karaoke_GuideVocal1 = 1;
  DVD_Karaoke_GuideVocal2 = 2;
  DVD_Karaoke_GuideMelody1 = 4;
  DVD_Karaoke_GuideMelody2 = 8;
  DVD_Karaoke_GuideMelodyA = 16;
  DVD_Karaoke_GuideMelodyB = 32;
  DVD_Karaoke_SoundEffectA = 64;
  DVD_Karaoke_SoundEffectB = 128;
// DVD_KARAOKE_CONTENTS
pub const DVD_Karaoke_GuideVocal1: i32 = 1;
pub const DVD_Karaoke_GuideVocal2: i32 = 2;
pub const DVD_Karaoke_GuideMelody1: i32 = 4;
pub const DVD_Karaoke_GuideMelody2: i32 = 8;
pub const DVD_Karaoke_GuideMelodyA: i32 = 16;
pub const DVD_Karaoke_GuideMelodyB: i32 = 32;
pub const DVD_Karaoke_SoundEffectA: i32 = 64;
pub const DVD_Karaoke_SoundEffectB: i32 = 128;
const
  DVD_Karaoke_GuideVocal1* = 1
  DVD_Karaoke_GuideVocal2* = 2
  DVD_Karaoke_GuideMelody1* = 4
  DVD_Karaoke_GuideMelody2* = 8
  DVD_Karaoke_GuideMelodyA* = 16
  DVD_Karaoke_GuideMelodyB* = 32
  DVD_Karaoke_SoundEffectA* = 64
  DVD_Karaoke_SoundEffectB* = 128
enum DVD_KARAOKE_CONTENTS : int {
    DVD_Karaoke_GuideVocal1 = 1,
    DVD_Karaoke_GuideVocal2 = 2,
    DVD_Karaoke_GuideMelody1 = 4,
    DVD_Karaoke_GuideMelody2 = 8,
    DVD_Karaoke_GuideMelodyA = 16,
    DVD_Karaoke_GuideMelodyB = 32,
    DVD_Karaoke_SoundEffectA = 64,
    DVD_Karaoke_SoundEffectB = 128,
}
#define global DVD_Karaoke_GuideVocal1  0x1
#define global DVD_Karaoke_GuideVocal2  0x2
#define global DVD_Karaoke_GuideMelody1 0x4
#define global DVD_Karaoke_GuideMelody2 0x8
#define global DVD_Karaoke_GuideMelodyA 0x10
#define global DVD_Karaoke_GuideMelodyB 0x20
#define global DVD_Karaoke_SoundEffectA 0x40
#define global DVD_Karaoke_SoundEffectB 0x80