libcw/cwIoAudioPanel.h
2024-12-01 14:35:24 -05:00

29 lines
649 B
C++

//| Copyright: (C) 2020-2024 Kevin Larke <contact AT larke DOT org>
//| License: GNU GPL version 3.0 or above. See the accompanying LICENSE file.
#ifndef cwIoAudioMeterUi_H
#define cwIoAudioMeterUi_H
namespace cw
{
namespace io
{
namespace audio_panel
{
typedef handle<struct audio_panel_str> handle_t;
rc_t create( handle_t& hRef, io::handle_t ioH, unsigned baseAppId );
rc_t destroy( handle_t& hRef );
rc_t registerDevice( handle_t h, unsigned baseAppId, unsigned devIdx, float dfltGain );
rc_t exec( handle_t h, const msg_t& msg );
unsigned maxAppId( handle_t h );
}
}
}
#endif