Photon Voice v2.58

Public Member Functions | Properties | List of all members
AudioInPusher Class Reference

Inherits IAudioPusher< short >.

Public Member Functions

 AudioInPusher (ILogger logger, int samplingRate, int channels, string deviceID)
 
void SetCallback (Action< short[]> callback, ObjectFactory< short[], int > bufferFactory)
 
ArraySegment< byte > DequeueOutput (out FrameFlags flags)
 
void EndOfStream ()
 
GetPlatformAPI< I > ()
 
void Dispose ()
 
- Public Member Functions inherited from IAudioPusher< short >
void SetCallback (Action< T[]> callback, ObjectFactory< T[], int > bufferFactory)
 Set the callback function used for pushing data. More...
 

Properties

int SamplingRate [get]
 
int Channels [get]
 Number of channels in the audio signal. More...
 
string Error [get]
 
bool ErrorAccess [get]
 

Property Documentation

◆ Channels

int Channels
get

Number of channels in the audio signal.