[alsa-devel] [PATCH alsa-lib] hwdep: add OXFW driver support

Takashi Sakamoto o-takashi at sakamocchi.jp
Sun Oct 26 14:43:00 CET 2014


On Oct 26 2014 22:29, Takashi Sakamoto wrote:
> Linux 3.19 newly support this driver. By hardware dependent interface,
> userspace applications can get hardware information, lock/unlock kernel
> streaming and receive lock status event.
> 
> Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>
> ---
>  include/hwdep.h        | 3 ++-
>  include/sound/asound.h | 3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)

This patch is for alsa-lib. I forgot to address it...

> diff --git a/include/hwdep.h b/include/hwdep.h
> index ad8bb49..3d3c31b 100644
> --- a/include/hwdep.h
> +++ b/include/hwdep.h
> @@ -73,8 +73,9 @@ typedef enum _snd_hwdep_iface {
>  	SND_HWDEP_IFACE_FW_DICE,	/**< TC DICE FireWire device */
>  	SND_HWDEP_IFACE_FW_FIREWORKS,	/**< Echo Audio Fireworks based device */
>  	SND_HWDEP_IFACE_FW_BEBOB,	/**< BridgeCo BeBoB based device */
> +	SND_HWDEP_IFACE_FW_OXFW,	/**< Oxford OXFW970/971 based device */
>  
> -	SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_FW_BEBOB  /**< last known hwdep interface */
> +	SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_FW_OXFW	/**< last known hwdep interface */
>  } snd_hwdep_iface_t;
>  
>  /** open for reading */
> diff --git a/include/sound/asound.h b/include/sound/asound.h
> index 6ee5867..c30a4d4 100644
> --- a/include/sound/asound.h
> +++ b/include/sound/asound.h
> @@ -96,9 +96,10 @@ enum {
>  	SNDRV_HWDEP_IFACE_FW_DICE,	/* TC DICE FireWire device */
>  	SNDRV_HWDEP_IFACE_FW_FIREWORKS,	/* Echo Audio Fireworks based device */
>  	SNDRV_HWDEP_IFACE_FW_BEBOB,	/* BridgeCo BeBoB based device */
> +	SNDRV_HWDEP_IFACE_FW_OXFW,	/* Oxford OXFW970/971 based device */
>  
>  	/* Don't forget to change the following: */
> -	SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_BEBOB
> +	SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_OXFW
>  };
>  
>  struct snd_hwdep_info {
> 


More information about the Alsa-devel mailing list