# Cinder

# cinder::audio::IoRegistrar Struct Reference

`#include <Io.h>`

List of all members.

## Classes
struct | Inst
## Public Types
typedef SourceRef(* | SourceCreationFunc )(DataSourceRef)
## Static Public Member Functions
static SourceRef | createSource (DataSourceRef dataSource, std::string extension)
static void | registerSourceType (std::string extension, SourceCreationFunc func, int32_t priority=2)
## Friends
class | Io

## Member Typedef Documentation

typedef SourceRef(* cinder::audio::IoRegistrar::SourceCreationFunc)(DataSourceRef)

## Member Function Documentation

SourceRef cinder::audio::IoRegistrar::createSource | ( | DataSourceRef | dataSource,
|  | std::string | extension |
| ) |  |  | `[static]`

void cinder::audio::IoRegistrar::registerSourceType | ( | std::string | extension,
|  | SourceCreationFunc | func,
|  | int32_t | priority = `2` |
| ) |  |  | `[static]`

## Friends And Related Function Documentation

friend class Io`[friend]`

The documentation for this struct was generated from the following files:

- include/cinder/audio/Io.h
- src/cinder/audio/Io.cpp