libpsynth 0.2.1
Public Types | Public Member Functions
psynth::io::alsa_output< Range > Class Template Reference

#include <alsa_output.hpp>

Inheritance diagram for psynth::io::alsa_output< Range >:
Inheritance graph
[legend]
Collaboration diagram for psynth::io::alsa_output< Range >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef base_type::range range
typedef base_type::const_range const_range

Public Member Functions

 static_assert (alsa_support< Range >::is_supported::value,"Range output format not supported by ALSA.")
 alsa_output (const std::string &device, std::size_t buffer_size, std::size_t rate, callback_type cb=callback_type())
std::size_t put (const const_range &data)
 Write a bunch of data into the device.
std::size_t buffer_size () const

template<typename Range>
class psynth::io::alsa_output< Range >


Member Typedef Documentation

template<typename Range >
typedef base_type::const_range psynth::io::alsa_output< Range >::const_range

Reimplemented from psynth::io::output< Range >.

template<typename Range >
typedef base_type::range psynth::io::alsa_output< Range >::range

Reimplemented from psynth::io::output< Range >.


Constructor & Destructor Documentation

template<typename Range >
psynth::io::alsa_output< Range >::alsa_output ( const std::string &  device,
std::size_t  buffer_size,
std::size_t  rate,
callback_type  cb = callback_type() 
)

Member Function Documentation

template<typename Range >
std::size_t psynth::io::alsa_output< Range >::buffer_size ( ) const [inline]

Reimplemented from psynth::io::alsa_raw_output.

template<typename Range >
std::size_t psynth::io::alsa_output< Range >::put ( const const_range data) [virtual]

Write a bunch of data into the device.

Implements psynth::io::output< Range >.

template<typename Range >
psynth::io::alsa_output< Range >::static_assert ( alsa_support< Range >::is_supported::value  ,
"Range output format not supported by ALSA."   
)

The documentation for this class was generated from the following file: