## Class direct_sound_source

hamigaki::audio::direct_sound_source —

## Synopsis

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

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

      // queries
      pcm_format format() const;
    };

## Description

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

### `direct_sound_source` Boost.Iostreams implementation

1.     std::streamsize optimal_buffer_size() const;

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

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

3.     void close();

### `direct_sound_source` queries

1.     pcm_format format() const;

   Returns: | フォーマット情報

| 製作著作 © 2006, 2007 Takeshi Mouri