|
void | write_thread () |
|
void | create_soundfile (const std::string &prefix, bool use_date) |
|
void | set_format (SF_INFO &sf_info) |
| Converts the format_name string to the corresponding int according to libsndfile and writes it into the format field of sf_info throws if no format of this name is available. More...
|
|
◆ wavwriter_t()
wavwriter_t::wavwriter_t |
( |
bool |
active, |
|
|
const mhaconfig_t & |
cf, |
|
|
unsigned int |
fifosize, |
|
|
unsigned int |
minwrite, |
|
|
const std::string & |
prefix, |
|
|
bool |
use_date, |
|
|
const std::string & |
format_name_ |
|
) |
| |
◆ ~wavwriter_t()
wavwriter_t::~wavwriter_t |
( |
| ) |
|
◆ process()
◆ exit_request()
void wavwriter_t::exit_request |
( |
| ) |
|
◆ write_thread() [1/2]
static void* wavwriter_t::write_thread |
( |
void * |
this_ | ) |
|
|
inlinestaticprivate |
◆ write_thread() [2/2]
void wavwriter_t::write_thread |
( |
| ) |
|
|
private |
◆ create_soundfile()
void wavwriter_t::create_soundfile |
( |
const std::string & |
prefix, |
|
|
bool |
use_date |
|
) |
| |
|
private |
◆ set_format()
void wavwriter_t::set_format |
( |
SF_INFO & |
sf_info | ) |
|
|
private |
Converts the format_name string to the corresponding int according to libsndfile and writes it into the format field of sf_info throws if no format of this name is available.
- Parameters
-
sf_info | Destination sf_info struct for the format |
- Exceptions
-
MHA_Error | If no sample format of name format_name is offered by libsndfile |
◆ close_session
std::atomic<bool> wavwriter_t::close_session |
|
private |
◆ act_
◆ cf_
◆ sf
◆ fifo
◆ minw_
unsigned int wavwriter_t::minw_ |
|
private |
◆ writethread
pthread_t wavwriter_t::writethread |
|
private |
◆ data
◆ format_name
std::string wavwriter_t::format_name |
|
private |
The documentation for this class was generated from the following file: