diff --git a/cwAudioDevice.h b/cwAudioDevice.h index b8619fd..a7ab5ea 100644 --- a/cwAudioDevice.h +++ b/cwAudioDevice.h @@ -62,7 +62,6 @@ namespace cw rc_t (*deviceStart)( struct driver_str* drvArg, unsigned devIdx ); rc_t (*deviceStop)( struct driver_str* drvArg, unsigned devIdx ); bool (*deviceIsStarted)( struct driver_str* drvArg, unsigned devIdx ); - bool (*deviceIsAsync)( struct driver_str* drvArg, unsigned devIdx ); rc_t (*deviceExecute)( struct driver_str* drvArg, unsigned devIdx ); void (*deviceRealTimeReport)( struct driver_str* drvArg, unsigned devIdx ); } driver_t; diff --git a/cwAudioDeviceAlsa.cpp b/cwAudioDeviceAlsa.cpp index 0043fed..032fea5 100644 --- a/cwAudioDeviceAlsa.cpp +++ b/cwAudioDeviceAlsa.cpp @@ -1375,7 +1375,6 @@ cw::rc_t cw::audio::device::alsa::create( handle_t& hRef, struct driver_str*& dr p->driver.deviceStart = deviceStart; p->driver.deviceStop = deviceStop; p->driver.deviceIsStarted = deviceIsStarted; - p->driver.deviceIsAsync = deviceIsAsync; p->driver.deviceExecute = deviceExecute; p->driver.deviceRealTimeReport = deviceRealTimeReport; @@ -1584,11 +1583,6 @@ bool cw::audio::device::alsa::deviceIsStarted(struct driver_str* drv, unsigned } -bool cw::audio::device::alsa::deviceIsAsync(struct driver_str* drv, unsigned devIdx ) -{ - return true; -} - cw::rc_t cw::audio::device::alsa::deviceExecute(struct driver_str* drv, unsigned devIdx ) { return kOkRC; diff --git a/cwAudioDeviceAlsa.h b/cwAudioDeviceAlsa.h index d40d0fe..7dd10cb 100644 --- a/cwAudioDeviceAlsa.h +++ b/cwAudioDeviceAlsa.h @@ -24,7 +24,6 @@ namespace cw rc_t deviceStart( struct driver_str* drv, unsigned devIdx ); rc_t deviceStop( struct driver_str* drv, unsigned devIdx ); bool deviceIsStarted( struct driver_str* drv, unsigned devIdx ); - bool deviceIsAsync( struct driver_str* drv, unsigned devIdx ); rc_t deviceExecute( struct driver_str* drv, unsigned devIdx ); void deviceRealTimeReport( struct driver_str* drv, unsigned devIdx );