summaryrefslogtreecommitdiffstats
path: root/core.h
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-09-05 16:38:25 +1000
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:32 +1100
commit93db730a4d435e835d144e3393088968e1645c87 (patch)
tree79ced019a01a3602a0d5425477e42348d2b2cd5c /core.h
parent91c57bc05904d2f87af864ad9d5f686428ce827f (diff)
Fix warnings generated by checkpatch.pl
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'core.h')
-rw-r--r--core.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/core.h b/core.h
index de428c2..fb64030 100644
--- a/core.h
+++ b/core.h
@@ -16,8 +16,8 @@
/**
* PCM buffer complete callback
- *
- * These are called from the audiopath when a PCM buffer has completed, and
+ *
+ * These are called from the audiopath when a PCM buffer has completed, and
* new data can be submitted/retrieved
*/
typedef int (*avirt_buff_complete)(struct snd_pcm_substream *substream);
@@ -27,10 +27,10 @@ typedef int (*avirt_buff_complete)(struct snd_pcm_substream *substream);
*/
struct avirt_audiopath {
const char *name;
- unsigned version[3];
+ unsigned int version[3];
struct snd_pcm_hardware *hw;
struct snd_pcm_ops *pcm_ops;
- unsigned blocksize;
+ unsigned int blocksize;
void *context;
};
@@ -55,7 +55,7 @@ struct avirt_alsa_group {
* AVIRT core info
*/
struct avirt_coreinfo {
- unsigned version[3];
+ unsigned int version[3];
struct avirt_alsa_group playback;
struct avirt_alsa_group capture;