foobar2000 SDK  2015-08-03
audio_postprocessor.h
Go to the documentation of this file.
1 
3 class NOVTABLE audio_postprocessor : public service_base
4 {
5 public:
13 
14  virtual void run(const audio_chunk & p_chunk,
15  mem_block_container & p_output,
16  t_uint32 p_out_bps,
17  t_uint32 p_out_bps_physical,
18  bool p_dither,
19  audio_sample p_prescale
20  ) = 0;
21 
22 
23 
24  FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(audio_postprocessor);
25 };
This class handles conversion of audio data (audio_chunk) to various linear PCM types, with optional dithering.
Interface to container of a chunk of audio data. See audio_chunk_impl for an implementation.
Definition: audio_chunk.h:5
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
Definition: service.h:333
float audio_sample
Definition: audio_sample.h:6
Generic interface for a memory block; used by various other interfaces to return memory blocks while ...
uint32_t t_uint32
Definition: int_types.h:5