Changeset ac07a13 in mainline
- Timestamp:
- 2011-11-30T23:08:49Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 84d6c39
- Parents:
- c25df01
- Location:
- uspace/drv/audio/sb16
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/beep.h
rc25df01 rac07a13 31 31 extern const void *beep; 32 32 extern const size_t beep_size; 33 extern const unsigned channels; -
uspace/drv/audio/sb16/beep16.c
rc25df01 rac07a13 4441 4441 0xc3ee, 0xc93e, 0xcec5, 0xd47e, 0xda64, 0xe06b, 0xe699, 0xecda, 0xf332, 0xf996, 4442 4442 }; 4443 const size_t beep_size = sizeof(beep );4443 const size_t beep_size = sizeof(beep16); 4444 4444 const void *beep = beep16; 4445 const unsigned channels = 1; -
uspace/drv/audio/sb16/sb16.c
rc25df01 rac07a13 135 135 136 136 ddf_log_note("Playing startup sound.\n"); 137 sb_dsp_play(&sb->dsp, beep, beep_size, 44100, 1, 16);137 sb_dsp_play(&sb->dsp, beep, beep_size, 44100, channels, 16); 138 138 139 139 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.