23 #ifndef INCLUDED_AUDIO_OSX_IMPL_H
24 #define INCLUDED_AUDIO_OSX_IMPL_H
33 #include <AudioToolbox/AudioToolbox.h>
34 #include <AudioUnit/AudioUnit.h>
42 #include <AvailabilityMacros.h>
43 #ifndef MAC_OS_X_VERSION_10_6
44 #define MAC_OS_X_VERSION_10_6 1060
46 #if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6
47 #define GR_USE_OLD_AUDIO_UNIT
56 const AudioStreamBasicDescription& asbd);
75 (
const std::string& device_name,
77 std::vector < AudioDeviceID >* all_ad_ids,
78 std::vector < std::string >* all_names);
#define GR_AUDIO_API
Definition: gr-audio/include/gnuradio/audio/api.h:30
void GR_AUDIO_API get_num_channels_for_audio_device_id(AudioDeviceID ad_id, UInt32 *n_input, UInt32 *n_output)
Include this header to use the message passing features.
Definition: logger.h:131
void GR_AUDIO_API find_audio_devices(const std::string &device_name, bool is_input, std::vector< AudioDeviceID > *all_ad_ids, std::vector< std::string > *all_names)