diff options
author | Guenter Geiger <ggeiger@users.sourceforge.net> | 2004-02-02 12:18:59 +0000 |
---|---|---|
committer | Guenter Geiger <ggeiger@users.sourceforge.net> | 2004-02-02 12:18:59 +0000 |
commit | 2e416ee0095f1bf608f849f156d564e0f45fb8ab (patch) | |
tree | 9e4881e81953b434b91dbd35218d78f05b27e82e /pd/portaudio/pa_linux_alsa/pa_linux_alsa.h | |
parent | ae6b5d89ea93b95c2990895077cf5e8f0bba9ad9 (diff) |
merged in version_0_37_1test6
svn path=/trunk/; revision=1305
Diffstat (limited to 'pd/portaudio/pa_linux_alsa/pa_linux_alsa.h')
-rw-r--r-- | pd/portaudio/pa_linux_alsa/pa_linux_alsa.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/pd/portaudio/pa_linux_alsa/pa_linux_alsa.h b/pd/portaudio/pa_linux_alsa/pa_linux_alsa.h deleted file mode 100644 index 62c9512c..00000000 --- a/pd/portaudio/pa_linux_alsa/pa_linux_alsa.h +++ /dev/null @@ -1,45 +0,0 @@ - -#include <alsa/asoundlib.h> - -#include <pthread.h> - -#include "pa_util.h" -#include "pa_process.h" -#include "pa_cpuload.h" -#include "pa_stream.h" - -typedef struct PaAlsaStream -{ - PaUtilStreamRepresentation streamRepresentation; - PaUtilCpuLoadMeasurer cpuLoadMeasurer; - PaUtilBufferProcessor bufferProcessor; - - snd_pcm_t *pcm_capture; - snd_pcm_t *pcm_playback; - - int callback_finished; /* bool: are we in the "callback finished" state? */ - - int frames_per_period; - int playback_hostsampleformat; - - int capture_channels; - int playback_channels; - - int capture_interleaved; /* bool: is capture interleaved? */ - int playback_interleaved; /* bool: is playback interleaved? */ - - int callback_mode; /* bool: are we running in callback mode? */ - pthread_t callback_thread; - - /* the callback thread uses these to poll the sound device, waiting - * for data to be ready/available */ - unsigned int capture_nfds; - unsigned int playback_nfds; - struct pollfd *pfds; - - /* these aren't really stream state, the callback uses them */ - snd_pcm_uframes_t capture_offset; - snd_pcm_uframes_t playback_offset; -} -PaAlsaStream; - |