Class direct_sound_device
hamigaki::audio::direct_sound_device —
Synopsis
Description
direct_sound_device
construct/copy/destruct
-
direct_sound_device();
Effects: |
規定のDirectSoundデバイスをオープンする。 |
-
explicit direct_sound_device(const uuid& driver_guid);
Effects: |
driver_guid で識別されるDirectSoundデバイスをオープンする。 |
direct_sound_device
modifier
-
void set_cooperative_level(void* hwnd, unsigned long level);
-
void format(const pcm_format& f);
Effects: |
プライマリバッファのフォーマットを設定する。 |
-
direct_sound_sink create_buffer(const pcm_format& f);
Effects: |
規定のバッファサイズでDirectSoundバッファを作成する。 |
-
direct_sound_sink create_buffer(const pcm_format& f, std::size_t buffer_size);
Effects: |
バッファサイズ=buffer_size でDirectSoundバッファを作成する。 |