Changeset 365f259 in mainline for uspace/drv/audio/sb16/dsp.c
- Timestamp:
- 2013-03-03T17:14:26Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 90c1d80
- Parents:
- 80d5307
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dsp.c
r80d5307 r365f259 40 40 #include <libarch/ddi.h> 41 41 #include <libarch/barrier.h> 42 #include <macros.h> 42 43 #include <str_error.h> 43 44 #include <audio_pcm_iface.h> … … 74 75 [DSP_NO_BUFFER] = "NO BUFFER", 75 76 }; 76 if (state < (sizeof(state_names) / sizeof(state_names[0])))77 if (state < ARRAY_SIZE(state_names)) 77 78 return state_names[state]; 78 79 return "UNKNOWN";
Note:
See TracChangeset
for help on using the changeset viewer.