// 12/03/29 

#ifndef pxtoneNoise_H
#define pxtoneNoise_H

#include "./pxtnData.h"

class pxtoneNoise: public pxtnData
{
private:
	void operator = (const pxtoneNoise& src){}
	pxtoneNoise     (const pxtoneNoise& src){}

	void *_bldr ;
	int32_t  _ch_num;
	int32_t  _sps   ;
	int32_t  _bps   ;

public:
	 pxtoneNoise( pxtnIO_r io_read, pxtnIO_w io_write, pxtnIO_seek io_seek, pxtnIO_pos io_pos );
	~pxtoneNoise();

	bool init       ();

	bool quality_set( int32_t    ch_num, int32_t    sps, int32_t    bps );
	void quality_get( int32_t *p_ch_num, int32_t *p_sps, int32_t *p_bps ) const;

	bool generate   ( void* desc, void **pp_buf, int32_t *p_size ) const;
};

#endif
