Skip to content

Commit

Permalink
demo: display WM9707 codec when found
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Mar 28, 2011
1 parent ecb9635 commit e758b81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions software/libhal/snd.c
Expand Up @@ -64,6 +64,8 @@ void snd_init()
codec_id = snd_ac97_read(0x00);
if(codec_id == 0x0d50)
printf("SND: found LM4550 AC'97 codec\n");
else if(codec_id == 0x6150)
printf("SND: found WM9707 AC'97 codec\n");
else
printf("SND: warning, unknown codec found (ID:%04x)\n", codec_id);

Expand Down

0 comments on commit e758b81

Please sign in to comment.