mirror of
https://github.com/openharmony/third_party_tinyalsa.git
synced 2026-07-19 15:24:22 -04:00
included only necessary headers
If users want to use only pcm.c or mixer.c they can. It's not necessary to include tinyalsa/asoundlib.h because mixer.c doesn't use pcm.h and pcm.c doesn't use mixer.h.
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@
|
||||
#define __user
|
||||
#include <sound/asound.h>
|
||||
|
||||
#include <tinyalsa/asoundlib.h>
|
||||
#include <tinyalsa/mixer.h>
|
||||
|
||||
/** A mixer control.
|
||||
* @ingroup tinyalsa-mixer
|
||||
|
||||
Reference in New Issue
Block a user