Changeset 4856:c81c1d059859 in roaraudio
- Timestamp:
- 04/11/11 12:09:31 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/driver_portaudio.h
r4855 r4856 44 44 }; 45 45 46 typedef struct {47 /*48 params.device = Pa_GetDefaultOutputDevice();49 params.channelCount = info->channels;50 params.sampleFormat = fmt;51 params.suggestedLatency = Pa_GetDeviceInfo(params.device)->defaultLowOutputLatency;52 params.hostApiSpecificStreamInfo = NULL;53 */54 void * device;55 int channelCount;56 PaSampleFormat sampleFormat;57 int suggestedLatency;58 void * hostApiSpecificStreamInfo;59 } PaStreamParameters;60 61 #define paOutputUnderflowed -162 63 void * Pa_GetDefaultOutputDevice(void);64 // Pa_WriteStream(device->stream, buf, write_frames);65 PaError Pa_WriteStream(PaStream * stream, void *, size_t);66 PaError Pa_StartStream(PaStream * stream);67 PaError Pa_StopStream(PaStream * stream);68 PaError Pa_CloseStream(PaStream * stream);69 70 46 int driver_portaudio_open(struct roar_vio_calls * inst, char * device, struct roar_audio_info * info, int fh, struct roar_stream_server * sstream); 71 47
Note: See TracChangeset
for help on using the changeset viewer.