home *** CD-ROM | disk | FTP | other *** search
- sound_log_table
- Defined in: <sound=>sound.$>.h
- Declaration: typedef
- struct
- { byte log [8192];
- }
- sound_log_table;sound_log_scale_table
- Defined in: <sound=>sound.$>.h
- Declaration: typedef
- struct
- { byte log_scale [256];
- }
- sound_log_scale_table;sound_channel_handler
- Defined in: <sound=>sound.$>.h
- Declaration: typedef
- struct
- { void *fill_code;
- void *overrun_fixup_code;
- <sound_log_table> *log_table;
- <sound_log_scale_table> *log_scale_table;
- }
- sound_channel_handler;sound_sccb
- Defined in: <sound=>sound.$>.h
- Declaration: typedef
- struct
- { byte amplitude;
- byte voice_no;
- byte voice_instance;
- byte flags;
- int pitch;
- int timbre;
- int buffer_fill_count;
- int r4;
- int r5;
- int r6;
- int r7;
- int r8;
- int reserved [7];
- int available [48];
- }
- sound_sccb;sound_scheduler
- Defined in: <sound=>sound.$>.h
- Declaration: typedef
- struct
- { void *scheduler;
- }
- sound_scheduler;sound_voice_generator
- Defined in: <sound=>sound.$>.h
- Declaration: typedef
- struct
- { int fill_code;
- int update_code;
- int gate_on_code;
- int gate_off_code;
- int instantiate_code;
- int free_code;
- int install_code;
- int voice_name_offset;
- }
- sound_voice_generator;sound_INSTALL_CODE
- Defined in: <sound=>sound.$>.h
- Declaration: #define sound_INSTALL_CODE (-390234112)sound_STATE_READ
- Defined in: <sound=>sound.$>.h
- Declaration: #define sound_STATE_READ 0sound_STATE_OFF
- Defined in: <sound=>sound.$>.h
- Declaration: #define sound_STATE_OFF 1sound_STATE_ON
- Defined in: <sound=>sound.$>.h
- Declaration: #define sound_STATE_ON 2xsound_configure
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_configure (int channel_count,
- int sample_size,
- int sample_period,
- <sound_channel_handler> *channel_handler,
- <sound_scheduler> *scheduler,
- int *channel_count_out,
- int *sample_size_out,
- int *sample_period_out,
- <sound_channel_handler> **channel_handler_out,
- <sound_scheduler> **scheduler_out);
- Summary: Configures the sound systemsound_configure
- Defined in: <sound=>sound.$>.h
- Declaration: extern void sound_configure (int channel_count,
- int sample_size,
- int sample_period,
- <sound_channel_handler> *channel_handler,
- <sound_scheduler> *scheduler,
- int *channel_count_out,
- int *sample_size_out,
- int *sample_period_out,
- <sound_channel_handler> **channel_handler_out,
- <sound_scheduler> **scheduler_out);
- Summary: Configures the sound systemxsound_enable
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_enable (int state,
- int *state_out);
- Summary: Enables or disables the sound systemsound_enable
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_enable (int state);
- Summary: Enables or disables the sound systemxsound_stereo
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_stereo (int channel_no,
- int position,
- int *position_out);
- Summary: Sets the stereo position of a channelsound_stereo
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_stereo (int channel_no,
- int position);
- Summary: Sets the stereo position of a channelxsound_speaker
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_speaker (int state,
- int *state_out);
- Summary: Enables or disables the speaker(s)sound_speaker
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_speaker (int state);
- Summary: Enables or disables the speaker(s)xsound_volume
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_volume (int volume,
- int *volume_out);
- Summary: Sets the overall volume of the sound systemsound_volume
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_volume (int volume);
- Summary: Sets the overall volume of the sound systemxsound_sound_log
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_sound_log (int linear,
- int *log);
- Summary: Converts a signed integer to a signed logarithm, scaling it by volumesound_sound_log
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_sound_log (int linear);
- Summary: Converts a signed integer to a signed logarithm, scaling it by volumexsound_log_scale
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_log_scale (int log,
- int *linear);
- Summary: Scales a signed logarithm by the current volume settingsound_log_scale
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_log_scale (int log);
- Summary: Scales a signed logarithm by the current volume settingxsound_install_voice
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_install_voice (<sound_voice_generator> *voice_generator,
- int voice_no,
- char **voice_name_out,
- int *voice_no_out);
- Summary: Adds a voice to the sound systemsound_install_voice
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_install_voice (<sound_voice_generator> *voice_generator,
- int voice_no,
- char **voice_name_out);
- Summary: Adds a voice to the sound systemxsoundinstallvoice_read_name
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsoundinstallvoice_read_name (int voice_no,
- char **voice_name);
- Summary: Reads the name of the voice installed in the specified slotsoundinstallvoice_read_name
- Defined in: <sound=>sound.$>.h
- Declaration: extern char *soundinstallvoice_read_name (int voice_no);
- Summary: Reads the name of the voice installed in the specified slotxsoundinstallvoice_add_named_voice
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsoundinstallvoice_add_named_voice (int voice_no,
- <sound_voice_generator> *voice_generator,
- char *voice_name,
- int *voice_no_out,
- char **voice_name_out);
- Summary: Adds a voice to the sound system, specifying its name in the local languagesoundinstallvoice_add_named_voice
- Defined in: <sound=>sound.$>.h
- Declaration: extern int soundinstallvoice_add_named_voice (int voice_no,
- <sound_voice_generator> *voice_generator,
- char *voice_name,
- char **voice_name_out);
- Summary: Adds a voice to the sound system, specifying its name in the local languagexsoundinstallvoice_read_local_name
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsoundinstallvoice_read_local_name (int voice_no,
- char **voice_name_out,
- char **voice_local_name_out);
- Summary: Reads the name and local name of the voice installed in the specified slotsoundinstallvoice_read_local_name
- Defined in: <sound=>sound.$>.h
- Declaration: extern char *soundinstallvoice_read_local_name (int voice_no,
- char **voice_local_name_out);
- Summary: Reads the name and local name of the voice installed in the specified slotxsoundinstallvoice_change_local_name
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsoundinstallvoice_change_local_name (int voice_no,
- char *voice_local_name);
- Summary: Changes the local name of the voice installed in the specified slotsoundinstallvoice_change_local_name
- Defined in: <sound=>sound.$>.h
- Declaration: extern void soundinstallvoice_change_local_name (int voice_no,
- char *voice_local_name);
- Summary: Changes the local name of the voice installed in the specified slotxsound_remove_voice
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_remove_voice (int voice_no,
- char **voice_name_out,
- int *voice_no_out);
- Summary: Removes a voice from the sound systemsound_remove_voice
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_remove_voice (int voice_no,
- char **voice_name_out);
- Summary: Removes a voice from the sound systemxsound_attach_voice
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_attach_voice (int channel_no,
- int voice_no,
- int *channel_no_out,
- int *voice_no_out);
- Summary: Attaches a voice to a channelsound_attach_voice
- Defined in: <sound=>sound.$>.h
- Declaration: extern void sound_attach_voice (int channel_no,
- int voice_no,
- int *channel_no_out,
- int *voice_no_out);
- Summary: Attaches a voice to a channelxsound_control_packed
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_control_packed (bits amp_and_channel,
- bits duration_and_pitch);
- Summary: Makes an immediate soundsound_control_packed
- Defined in: <sound=>sound.$>.h
- Declaration: extern void sound_control_packed (bits amp_and_channel,
- bits duration_and_pitch);
- Summary: Makes an immediate soundxsound_tuning
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_tuning (int tuning,
- int *tuning_out);
- Summary: Sets the tuning for the sound systemsound_tuning
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_tuning (int tuning);
- Summary: Sets the tuning for the sound systemxsound_pitch
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_pitch (int pitch,
- int *accumulator);
- Summary: Converts a pitch to internal format (a phase accumulator value)sound_pitch
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_pitch (int pitch);
- Summary: Converts a pitch to internal format (a phase accumulator value)xsound_control
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_control (int channel_no,
- int amplitude,
- int pitch,
- int duration);
- Summary: Makes an immediate soundsound_control
- Defined in: <sound=>sound.$>.h
- Declaration: extern void sound_control (int channel_no,
- int amplitude,
- int pitch,
- int duration);
- Summary: Makes an immediate soundxsound_attach_named_voice
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_attach_named_voice (int channel_no,
- char *voice_name);
- Summary: Attaches a named voice to a channelsound_attach_named_voice
- Defined in: <sound=>sound.$>.h
- Declaration: extern void sound_attach_named_voice (int channel_no,
- char *voice_name);
- Summary: Attaches a named voice to a channelxsound_read_control_block
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_read_control_block (int channel_no,
- int offset,
- int *channel_no_out,
- int *word);
- Summary: Reads a value from the sound channel control block (SCCB)sound_read_control_block
- Defined in: <sound=>sound.$>.h
- Declaration: extern void sound_read_control_block (int channel_no,
- int offset,
- int *channel_no_out,
- int *word);
- Summary: Reads a value from the sound channel control block (SCCB)xsound_write_control_block
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_write_control_block (int channel_no,
- int offset,
- int word,
- int *channel_no_out,
- int *word_out);
- Summary: Writes a value to the sound channel control block (SCCB)sound_write_control_block
- Defined in: <sound=>sound.$>.h
- Declaration: extern void sound_write_control_block (int channel_no,
- int offset,
- int word,
- int *channel_no_out,
- int *word_out);
- Summary: Writes a value to the sound channel control block (SCCB)xsound_qinit
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_qinit (void);
- Summary: Initialises the scheduler's event queuesound_qinit
- Defined in: <sound=>sound.$>.h
- Declaration: extern void sound_qinit (void);
- Summary: Initialises the scheduler's event queuexsound_qschedule
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_qschedule (int period,
- int swi_no,
- int swi_r0,
- int swi_r1,
- bool *failed);
- Summary: Schedules a sound SWI on the event queuesound_qschedule
- Defined in: <sound=>sound.$>.h
- Declaration: extern bool sound_qschedule (int period,
- int swi_no,
- int swi_r0,
- int swi_r1);
- Summary: Schedules a sound SWI on the event queuexsound_qremove
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_qremove (void);
- Summary: This call is for use by the scheduler onlysound_qremove
- Defined in: <sound=>sound.$>.h
- Declaration: extern void sound_qremove (void);
- Summary: This call is for use by the scheduler onlyxsound_qfree
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_qfree (int *free_count);
- Summary: Returns the minimum number of free slots in the event queuesound_qfree
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_qfree (void);
- Summary: Returns the minimum number of free slots in the event queuexsound_qs_dispatch
- This call is for use by the scheduler onlysound_qs_dispatch
- This call is for use by the scheduler onlyxsound_qtempo
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_qtempo (int tempo,
- int *tempo_out);
- Summary: Sets the tempo for the schedulersound_qtempo
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_qtempo (int tempo);
- Summary: Sets the tempo for the schedulerxsound_qbeat
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xsound_qbeat (int bar_length,
- int *bar_length_out);
- Summary: Sets or reads the beat counter or bar lengthsound_qbeat
- Defined in: <sound=>sound.$>.h
- Declaration: extern int sound_qbeat (int bar_length);
- Summary: Sets or reads the beat counter or bar lengthxsound_qinterface
- This call is for use by the scheduler onlysound_qinterface
- This call is for use by the scheduler onlyxservice_sound
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xservice_sound (int part);
- Summary: Parts of the sound system are starting up or dyingservice_sound
- Defined in: <sound=>sound.$>.h
- Declaration: extern void service_sound (int part);
- Summary: Parts of the sound system are starting up or dyingxevent_start_of_bar
- Defined in: <sound=>sound.$>.h
- Declaration: extern <os_error=>os.os_error> *xevent_start_of_bar (void);
- Summary: Sound start of bar eventevent_start_of_bar
- Defined in: <sound=>sound.$>.h
- Declaration: extern void event_start_of_bar (void);
- Summary: Sound start of bar eventSound
- <sound_log_table>
- <sound_log_scale_table>
- <sound_channel_handler>
- <sound_sccb>
- <sound_scheduler>
- <sound_voice_generator>
- <sound_INSTALL_CODE>
- <sound_STATE_READ>
- <sound_STATE_OFF>
- <sound_STATE_ON>
- <xsound_configure>
- <sound_configure>
- <xsound_enable>
- <sound_enable>
- <xsound_stereo>
- <sound_stereo>
- <xsound_speaker>
- <sound_speaker>
- <xsound_volume>
- <sound_volume>
- <xsound_sound_log>
- <sound_sound_log>
- <xsound_log_scale>
- <sound_log_scale>
- <xsound_install_voice>
- <sound_install_voice>
- <xsoundinstallvoice_read_name>
- <soundinstallvoice_read_name>
- <xsoundinstallvoice_add_named_voice>
- <soundinstallvoice_add_named_voice>
- <xsoundinstallvoice_read_local_name>
- <soundinstallvoice_read_local_name>
- <xsoundinstallvoice_change_local_name>
- <soundinstallvoice_change_local_name>
- <xsound_remove_voice>
- <sound_remove_voice>
- <xsound_attach_voice>
- <sound_attach_voice>
- <xsound_control_packed>
- <sound_control_packed>
- <xsound_tuning>
- <sound_tuning>
- <xsound_pitch>
- <sound_pitch>
- <xsound_control>
- <sound_control>
- <xsound_attach_named_voice>
- <sound_attach_named_voice>
- <xsound_read_control_block>
- <sound_read_control_block>
- <xsound_write_control_block>
- <sound_write_control_block>
- <xsound_qinit>
- <sound_qinit>
- <xsound_qschedule>
- <sound_qschedule>
- <xsound_qremove>
- <sound_qremove>
- <xsound_qfree>
- <sound_qfree>
- <xsound_qs_dispatch>
- <sound_qs_dispatch>
- <xsound_qtempo>
- <sound_qtempo>
- <xsound_qbeat>
- <sound_qbeat>
- <xsound_qinterface>
- <sound_qinterface>
- <xservice_sound>
- <service_sound>
- <xevent_start_of_bar>
- <event_start_of_bar>