Commit Graph

  • e8bd9ddc9f moved code to player_thread.c Max Kellermann 2008-08-26 08:27:09 +02:00
  • 6104e9690e moved code to crossfade.c Max Kellermann 2008-08-26 08:27:09 +02:00
  • 2650b9eb31 added inline function audio_format_time_to_size() Max Kellermann 2008-08-26 08:27:09 +02:00
  • 0aedf7dd5a pass max_chunks to calculateCrossFadeChunks() Max Kellermann 2008-08-26 08:27:09 +02:00
  • 0fc2422cd0 converted MpdTagItem.type to an enum Max Kellermann 2008-08-26 08:27:09 +02:00
  • e754ed01a7 renamed functions in decoder_list.h Max Kellermann 2008-08-26 08:27:09 +02:00
  • 772d3da98a no camel case in struct decoder_plugin Max Kellermann 2008-08-26 08:27:08 +02:00
  • f1a014d094 renamed the InputPlugin function types Max Kellermann 2008-08-26 08:27:08 +02:00
  • 41c5fbbb07 renamed inputPlugin.* to decoder_list.* Max Kellermann 2008-08-26 08:27:08 +02:00
  • f5711e28da moved decoder externs to inputPlugin.c Max Kellermann 2008-08-26 08:27:08 +02:00
  • e41be362a1 renamed InputPlugin to struct decoder_plugin Max Kellermann 2008-08-26 08:27:08 +02:00
  • cdaa26c81d no busy-waiting for the player process Max Kellermann 2008-08-26 08:27:08 +02:00
  • b1de50f994 converted PlayerControl.state to enum Max Kellermann 2008-08-26 08:27:08 +02:00
  • efde884a13 added PlayerControl.command Max Kellermann 2008-08-26 08:27:07 +02:00
  • c7384b65ac eliminate OUTPUT_BUFFER_DC_STOP, OUTPUT_BUFFER_DC_SEEK Max Kellermann 2008-08-26 08:27:07 +02:00
  • 67bf4b448d added decoder_get_url() Max Kellermann 2008-08-26 08:27:07 +02:00
  • c60209ff04 don't set dc->seekable in wavpack plugin Max Kellermann 2008-08-26 08:27:07 +02:00
  • dc4d774481 use a local "initialized" flag instead of dc->state Max Kellermann 2008-08-26 08:27:07 +02:00
  • 17e9cc84c5 added decoder_seek_where() and decoder_seek_error() Max Kellermann 2008-08-26 08:27:07 +02:00
  • 78c55e2432 added decoder_command_finished() to decoder_api.h Max Kellermann 2008-08-26 08:27:07 +02:00
  • 817a68b2b2 added decoder_get_command() Max Kellermann 2008-08-26 08:27:07 +02:00
  • 2e9169de9d moved convState to struct decoder Max Kellermann 2008-08-26 08:27:06 +02:00
  • 1b845f94a0 moved struct AudioFormat to audio_format.h Max Kellermann 2008-08-26 08:27:06 +02:00
  • 08bdb43bef moved InputPlugin to decoder_api.h Max Kellermann 2008-08-26 08:27:06 +02:00
  • 4a87f1e815 remove one indent level from audiofile plugin Max Kellermann 2008-08-26 08:27:06 +02:00
  • d186260016 use break instead of local variable "eof" Max Kellermann 2008-08-26 08:27:06 +02:00
  • 4c06624988 removed local variable "eof" because it is unused Max Kellermann 2008-08-26 08:27:06 +02:00
  • ee3bbb5028 simplify several dc->command checks Max Kellermann 2008-08-26 08:27:06 +02:00
  • 0d8b551c5a added parameter total_time to decoder_initialized() Max Kellermann 2008-08-26 08:27:05 +02:00
  • 4590a98f0e added audio_format parameter to decoder_initialized() Max Kellermann 2008-08-26 08:27:05 +02:00
  • 0d45870cea added decoder_clear() and decoder_flush() Max Kellermann 2008-08-26 08:27:05 +02:00
  • ea51f73285 tail_chunk() returns ob_chunk pointer Max Kellermann 2008-08-26 08:27:05 +02:00
  • 5df6ff8d22 added OutputBuffer.notify Max Kellermann 2008-08-26 08:27:05 +02:00
  • 2a83ccdb8f added decoder_data() Max Kellermann 2008-08-26 08:27:05 +02:00
  • 8814c0c898 use the notify library in main_notify.c Max Kellermann 2008-08-26 08:27:05 +02:00
  • 4f80f53c29 do not sleep after openAudioDevice() Max Kellermann 2008-08-26 08:27:04 +02:00
  • 2bf7ec4f39 added decoder_initialized() Max Kellermann 2008-08-26 08:27:04 +02:00
  • 154aa496e8 added struct decoder Max Kellermann 2008-08-26 08:27:04 +02:00
  • 241cd043ca invoke the notify API directly Max Kellermann 2008-08-26 08:27:04 +02:00
  • 87beded44f removed "else" Max Kellermann 2008-08-26 08:27:04 +02:00
  • 9e0f7dcd1a added dc_command_finished() Max Kellermann 2008-08-26 08:27:04 +02:00
  • 726c6e86d3 don't busy wait for the decoder thread Max Kellermann 2008-08-26 08:27:04 +02:00
  • 8d3942e0c3 merged start, stop, seek into DecoderControl.command Max Kellermann 2008-08-26 08:27:04 +02:00
  • 180d78a8e6 don't set pc->errored_song in decodeStart() Max Kellermann 2008-08-26 08:27:03 +02:00
  • d507ff28c8 added dc.next_song, renamed pc.current_song Max Kellermann 2008-08-26 08:27:03 +02:00
  • b6909da758 clean up CPP includes Max Kellermann 2008-08-26 08:27:03 +02:00
  • a383f45117 enable -Wpointer-arith, -Wstrict-prototypes Max Kellermann 2008-08-26 08:27:02 +02:00
  • d05c8fd422 quote "=" in the CFLAGS check Max Kellermann 2008-08-25 15:51:18 +02:00
  • c003778454 fix warnings in the HTTP client Max Kellermann 2008-08-25 15:49:06 +02:00
  • 35918c9901 fixed ringbuf.c warnings Max Kellermann 2008-08-25 15:49:06 +02:00
  • f9f7086062 bs: better support for mp4/faad/aac and wavpack builds Eric Wong 2008-08-16 04:17:54 +00:00
  • a889684acd http: hopefully allow seeking to work on static files Eric Wong 2008-06-30 02:43:36 +00:00
  • c7d1ce07f3 don't call seekInputStream(0) if r==0 Max Kellermann 2008-06-30 02:43:32 +00:00
  • 7e99a0b0a9 eliminated local variable "to_read" Max Kellermann 2008-06-30 02:43:27 +00:00
  • 06bdc5bf25 introduce struct condition as a more correct version of Notify Eric Wong 2008-06-30 02:43:22 +00:00
  • d82a4aff25 utils: pthread_{mutex,cond}_init can fail, so check for it Eric Wong 2008-06-30 02:43:17 +00:00
  • 2a5dcba5ed http: initial rewrite using ringbuffer + pthreads Eric Wong 2008-06-30 02:43:13 +00:00
  • c71cfbac7a http: fix some small memory leaks when hitting redirects Eric Wong 2008-06-30 02:43:08 +00:00
  • 8426740f44 utils: add new unforgiving utility functions Eric Wong 2008-06-30 02:43:04 +00:00
  • c593152967 ringbuf: add thread-safe, thread-specific reset functions Eric Wong 2008-06-30 02:42:59 +00:00
  • 9873e07c5a ringbuf: get_{write,read}_vector returns total bytes in both vec elts Eric Wong 2008-06-30 02:42:55 +00:00
  • aa828c1b25 http: split out logic around getaddrinfo() and connect() Eric Wong 2008-06-30 02:42:49 +00:00
  • ec1eeeeaff http: split out auth code since it's mostly uninteresting for now Eric Wong 2008-06-30 02:42:45 +00:00
  • bec0835836 Add a generic ring buffer implementation Eric Wong 2008-06-30 02:42:40 +00:00
  • 3a932bf388 os_compat.h: add sys/uio.h for writev/readv Eric Wong 2008-06-30 02:42:34 +00:00
  • 72434d212c Die if a specific backend is requested but not found. Jim Ramsay 2008-06-16 13:43:03 +00:00
  • d1b4112f45 jack: initialize audioOutput->data Max Kellermann 2008-06-13 07:39:11 +00:00
  • 4f247ca4da mod: fix crashing on modtracker files Hans de Goede 2008-06-13 07:39:05 +00:00
  • 29df78fe1e audio.c: avoid magic numbers even if they have comments :) Eric Wong 2008-06-02 10:10:32 +00:00
  • f57be50d73 remove audioDeviceStates from playerData and getPlayerData Eric Wong 2008-06-02 10:10:26 +00:00
  • 6ac1d797af fix stream URL Max Kellermann 2008-06-01 22:25:20 +00:00
  • 56aab937d0 oggflac_plugin: fix build with libOggFLAC lib (libFLAC <= 7) Eric Wong 2008-06-01 22:25:07 +00:00
  • 7f6a44ef8e make DecoderControl.state an enum Max Kellerman 2008-06-01 22:25:00 +00:00
  • 8a4dff14ad Add the bs build system from mpd-ke Eric Wong 2008-06-01 22:24:55 +00:00
  • 97698bd4aa notify: don't use camelCase in notify.[ch] Max Kellerman 2008-06-01 22:24:44 +00:00
  • e0be3aad20 assert dc.state == DECODE_STATE_STOP Max Kellerman 2008-06-01 22:24:35 +00:00
  • 3c3620b301 fix race condition in main_notify.c Max Kellermann 2008-04-17 03:05:23 +00:00
  • 7c952c4f4b added ob_set_lazy() Max Kellermann 2008-04-15 05:57:22 +00:00
  • 071c8f4ac7 use dc.current_song instead of pc.current_song Max Kellermann 2008-04-15 05:57:14 +00:00
  • 119f457cff const pointers in decode.c Max Kellermann 2008-04-15 05:57:01 +00:00
  • d548deb45b const pointers in normalize.c Max Kellermann 2008-04-15 05:56:54 +00:00
  • f201f2c922 more const pointers in pcm_utils.[ch] Max Kellermann 2008-04-15 05:56:35 +00:00
  • df34beb98d fix XFADE_DISABLED=-1 Max Kellermann 2008-04-15 05:56:18 +00:00
  • b44506084e decode.c: make the crossfade state variable self-documenting Eric Wong 2008-04-14 06:41:05 +00:00
  • 93fee6fc85 command.c: remove dead commented code Eric Wong 2008-04-14 06:41:00 +00:00
  • 0f040a7030 Always compile ioops.h, since main_notify uses it now Eric Wong 2008-04-13 18:04:02 +00:00
  • 412ce8bdc4 Make the OutputBuffer API more consistent Eric Wong 2008-04-13 01:16:27 +00:00
  • c1963ed483 Stop passing our single OutputBuffer object everywhere Eric Wong 2008-04-13 01:16:15 +00:00
  • dec6b1612e Stop passing our single DecoderControl object everywhere Eric Wong 2008-04-13 01:16:03 +00:00
  • 98acfa8ac5 Get rid of PlayerControl inside the PlayerData struct Eric Wong 2008-04-13 01:15:50 +00:00
  • ae1335753a main_notify: just use cond_signal to wakeup, no need to trylock Eric Wong 2008-04-13 01:15:43 +00:00
  • 78370a9759 main_notify: use pthread_cond_signal instead of broadcast Eric Wong 2008-04-12 10:27:57 +00:00
  • 30bd8b2c0f Fix a deadlock after pause/next Eric Wong 2008-04-12 10:27:53 +00:00
  • baf9b94ecf Fix the problem of songs not advancing without client activity Eric Wong 2008-04-12 09:46:11 +00:00
  • 804088f590 command.h: include sllist.h which defines struct strnode Eric Wong 2008-04-12 04:27:09 +00:00
  • dec2a063cd const pointers in audioOutput.c Max Kellermann 2008-04-12 04:21:43 +00:00
  • b4ea6e52b2 const pointers in audio.c Max Kellermann 2008-04-12 04:21:39 +00:00
  • ac0ac9d4d8 flush after loop in sendDataToOutputBuffer() Max Kellermann 2008-04-12 04:21:34 +00:00
  • e4746b82c9 constant pointers in replayGain.c Max Kellermann 2008-04-12 04:21:28 +00:00
  • 1308290c0d yet another migration to size_t Max Kellermann 2008-04-12 04:21:22 +00:00