Fix some compile errors when audio DEBUG is enabled

This commit is contained in:
Gregory Nutt 2014-07-24 15:05:13 -06:00
parent 2ef656c227
commit 0399be55d3
2 changed files with 6 additions and 6 deletions

View File

@ -352,7 +352,7 @@ static int null_configure(FAR struct audio_lowerhalf_s *dev,
switch (caps->ac_type)
{
case AUDIO_TYPE_FEATURE:
audvdbg(" AUDIO_TYPE_FEATURE\:n");
audvdbg(" AUDIO_TYPE_FEATURE\n");
/* Process based on Feature Unit */
@ -383,8 +383,8 @@ static int null_configure(FAR struct audio_lowerhalf_s *dev,
case AUDIO_TYPE_OUTPUT:
audvdbg(" AUDIO_TYPE_OUTPUT:\n");
audvdbg(" Number of channels: %u\n", caps->ac_channels);
audvdbg(" Sample rate: %u\n", ac_controls.hw[0]);
audvdbg(" Sample width: %u\n", ac_controls.b[2]);
audvdbg(" Sample rate: %u\n", caps->ac_controls.hw[0]);
audvdbg(" Sample width: %u\n", caps->ac_controls.b[2]);
break;
case AUDIO_TYPE_PROCESSING:

View File

@ -734,7 +734,7 @@ static int wm8904_configure(FAR struct audio_lowerhalf_s *dev,
switch (caps->ac_type)
{
case AUDIO_TYPE_FEATURE:
audvdbg(" AUDIO_TYPE_FEATURE\:n");
audvdbg(" AUDIO_TYPE_FEATURE\n");
/* Process based on Feature Unit */
@ -814,8 +814,8 @@ static int wm8904_configure(FAR struct audio_lowerhalf_s *dev,
case AUDIO_TYPE_OUTPUT:
audvdbg(" AUDIO_TYPE_OUTPUT:\n");
audvdbg(" Number of channels: %u\n", caps->ac_channels);
audvdbg(" Sample rate: %u\n", ac_controls.hw[0]);
audvdbg(" Sample width: %u\n", ac_controls.b[2]);
audvdbg(" Sample rate: %u\n", caps->ac_controls.hw[0]);
audvdbg(" Sample width: %u\n", caps->ac_controls.b[2]);
#warning Missing logic
break;