Changeset 137 for libmpc/branches/r2d/libwavformat
- Timestamp:
- 11/15/06 01:14:23 (18 years ago)
- Location:
- libmpc/branches/r2d/libwavformat
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/libwavformat/libwaveformat.h
r68 r137 53 53 } t_wav_input_handler; 54 54 55 typedef struct 55 typedef struct 56 56 { 57 57 t_wav_input_file_callback m_callback; … … 71 71 t_wav_uint32 m_data_position; 72 72 73 73 74 74 75 75 t_wav_uint8 m_workbuffer[512]; … … 131 131 132 132 #endif //__LIBWAVEFORMAT_H__ 133 -
libmpc/branches/r2d/libwavformat/output.c
r68 r137 140 140 } t_riff_header; 141 141 142 static const t_riff_header g_header_riff = { 'R','I','F','F'};143 static const t_riff_header g_header_wave = { 'W','A','V','E'};144 static const t_riff_header g_header_data = { 'd','a','t','a'};145 static const t_riff_header g_header_fmt = { 'f','m','t',' '};142 static const t_riff_header g_header_riff = {{'R','I','F','F'}}; 143 static const t_riff_header g_header_wave = {{'W','A','V','E'}}; 144 static const t_riff_header g_header_data = {{'d','a','t','a'}}; 145 static const t_riff_header g_header_fmt = {{'f','m','t',' '}}; 146 146 147 147 static t_wav_uint32 waveformat_write(t_wav_output_file * p_file,void const * p_buffer,t_wav_uint32 p_buffer_size) … … 277 277 278 278 delta_written = waveformat_write(p_file,p_file->m_workbuffer,delta * p_file->m_bytes_per_sample) / p_file->m_bytes_per_sample; 279 279 280 280 if (delta_written > 0) 281 281 { … … 305 305 306 306 delta_written = waveformat_write(p_file,p_file->m_workbuffer,delta * p_file->m_bytes_per_sample) / p_file->m_bytes_per_sample; 307 307 308 308 if (delta_written > 0) 309 309 {
Note: See TracChangeset
for help on using the changeset viewer.