## Class direct_sound_sink

hamigaki::audio::direct_sound_sink —

## Synopsis

    class direct_sound_sink {
    public:
      // types
      typedef char                   char_type;
      typedef implementation defined category;

      // Boost.Iostreams implementation
      std::streamsize optimal_buffer_size() const;
      std::streamsize write(const char*, std::streamsize);
      void close();

      // queries
      pcm_format format() const;
    };

## Description

モデルとなるコンセプト:Sink, ClosableDevice, OptimallyBuffered, PcmFormatRetrievable

### `direct_sound_sink` Boost.Iostreams implementation

1.     std::streamsize optimal_buffer_size() const;

   Returns: | 200ミリ秒分のバッファサイズ

2.     std::streamsize write(const char* s, std::streamsize n);

3.     void close();

### `direct_sound_sink` queries

1.     pcm_format format() const;

   Returns: | フォーマット情報

| 製作著作 © 2006-2008 Takeshi Mouri