: Build ALSA to play file wave
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2162>
======================================================================
Reported By: pvtuan Assigned To: tiwai ====================================================================== Project: ALSA - driver Issue ID: 2162 Category: CORE - pcm Reproducibility: always Severity: minor Priority: normal Status: resolved Distribution: Kernel Version: 2.6.11-1.1369_FC4 Resolution: duplicate Duplicate: 2161 Fixed in Version: ====================================================================== Date Submitted: 05-26-2006 12:12 CEST Last Modified: 05-26-2006 14:45 CEST
======================================================================
Summary: Build ALSA to play file wave
Description:
I write a example to open sound card and playback a wave file. In my file I want to know sizeof type "snd_pcm_hw_params_t". So I use function "sizeof(snd_pcm_hw_params_t)" for my purpose. When I build my example, there is an error:invalid application of `sizeof' to incomplete type. I try to find definition of this type but only se "typedef _snd_pcm_hw_params snd_pcm_hw_params_t" and no more.
Can you help me with this problem?
Thank you for your help.
Thanks in advance
PVTuan
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
duplicate of 0002161 Build ALSA to play file wave
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
05-26-06 12:12 pvtuan New Issue 05-26-06 12:12 pvtuan Kernel Version => 2.6.11-1.1369_FC4 05-26-06 14:45 tiwai Relationship added duplicate of 0002161 05-26-06 14:45 tiwai Duplicate ID 0 => 2161 05-26-06 14:45 tiwai Status new => resolved 05-26-06 14:45 tiwai Resolution open => duplicate 05-26-06 14:45 tiwai Assigned To => tiwai
======================================================================