libpsynth 0.2.1
Public Types | Public Member Functions
psynth::io::oss_raw_output Class Reference

#include <oss_raw_output.hpp>

Inheritance diagram for psynth::io::oss_raw_output:
Inheritance graph
[legend]
Collaboration diagram for psynth::io::oss_raw_output:
Collaboration graph
[legend]

List of all members.

Public Types

typedef thread_async::callback_type callback_type

Public Member Functions

 oss_raw_output (const char *device, int format, int sample_size, int buffer_size, bool interleaved, int rate, int channels, callback_type cb=callback_type())
 We do not check that sample_size and format match.
 ~oss_raw_output ()
std::size_t put_i (const void *data, std::size_t frames)
std::size_t put_n (const void *const *data, std::size_t frames)
std::size_t buffer_size () const

Member Typedef Documentation

Reimplemented from psynth::io::thread_async.


Constructor & Destructor Documentation

psynth::io::oss_raw_output::oss_raw_output ( const char *  device,
int  format,
int  sample_size,
int  buffer_size,
bool  interleaved,
int  rate,
int  channels,
callback_type  cb = callback_type () 
)

We do not check that sample_size and format match.

psynth::io::oss_raw_output::~oss_raw_output ( )

Member Function Documentation

std::size_t psynth::io::oss_raw_output::buffer_size ( ) const [inline]
std::size_t psynth::io::oss_raw_output::put_i ( const void *  data,
std::size_t  frames 
)
std::size_t psynth::io::oss_raw_output::put_n ( const void *const *  data,
std::size_t  frames 
)

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