Commit 02bfd071 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

cleanup

parent c42b7219
...@@ -57,21 +57,21 @@ class AlsaLayer : public AudioLayer { ...@@ -57,21 +57,21 @@ class AlsaLayer : public AudioLayer {
/** /**
* Destructor * Destructor
*/ */
~AlsaLayer(void); ~AlsaLayer();
/** /**
* Start the capture stream and prepare the playback stream. * Start the capture stream and prepare the playback stream.
* The playback starts accordingly to its threshold * The playback starts accordingly to its threshold
* ALSA Library API * ALSA Library API
*/ */
void startStream(void); void startStream();
/** /**
* Stop the playback and capture streams. * Stop the playback and capture streams.
* Drops the pending frames and put the capture and playback handles to PREPARED state * Drops the pending frames and put the capture and playback handles to PREPARED state
* ALSA Library API * ALSA Library API
*/ */
void stopStream(void); void stopStream();
/** /**
* Concatenate two strings. Used to build a valid pcm device name. * Concatenate two strings. Used to build a valid pcm device name.
...@@ -111,9 +111,9 @@ class AlsaLayer : public AudioLayer { ...@@ -111,9 +111,9 @@ class AlsaLayer : public AudioLayer {
int soundCardGetIndex(const std::string &description); int soundCardGetIndex(const std::string &description);
void playback(int maxSamples); void playback(int maxSamples);
void capture(void); void capture();
void audioCallback(void); void audioCallback();
/** /**
* Get the index of the audio card for capture * Get the index of the audio card for capture
...@@ -178,15 +178,15 @@ class AlsaLayer : public AudioLayer { ...@@ -178,15 +178,15 @@ class AlsaLayer : public AudioLayer {
* Drop the pending frames and close the capture device * Drop the pending frames and close the capture device
* ALSA Library API * ALSA Library API
*/ */
void closeCaptureStream(void); void closeCaptureStream();
void stopCaptureStream(void); void stopCaptureStream();
void startCaptureStream(void); void startCaptureStream();
void prepareCaptureStream(void); void prepareCaptureStream();
void closePlaybackStream(void); void closePlaybackStream();
void stopPlaybackStream(void); void stopPlaybackStream();
void startPlaybackStream(void); void startPlaybackStream();
void preparePlaybackStream(void); void preparePlaybackStream();
bool alsa_set_params(snd_pcm_t *pcm_handle); bool alsa_set_params(snd_pcm_t *pcm_handle);
......
...@@ -49,7 +49,7 @@ class SamplerateConverter { ...@@ -49,7 +49,7 @@ class SamplerateConverter {
SamplerateConverter(int freq); SamplerateConverter(int freq);
/** Destructor */ /** Destructor */
~SamplerateConverter(void); ~SamplerateConverter();
/** /**
* resample from the samplerate1 to the samplerate2 * resample from the samplerate1 to the samplerate2
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment