Commit Graph

  • 4516bd117c client: client_defer_output() can create the first defer buffer Max Kellermann 2008-08-28 20:03:56 +02:00
  • 20f06162dd client: return early on error in client_defer_output() Max Kellermann 2008-08-28 20:03:54 +02:00
  • 7774cd2774 client: moved code to client_defer_output() Max Kellermann 2008-08-28 20:03:51 +02:00
  • 4448b17e2e don't free client resources except in client_close() Max Kellermann 2008-08-28 20:03:49 +02:00
  • 61443c13e6 client: allocate clients dynamically Max Kellermann 2008-08-28 20:03:48 +02:00
  • a091c148e6 client: added function client_by_fd() Max Kellermann 2008-08-28 20:03:06 +02:00
  • d15e1e09a2 client: return early in client_new() Max Kellermann 2008-08-28 20:03:03 +02:00
  • c0197c58ba client: renamed all public functions Max Kellermann 2008-08-28 20:03:02 +02:00
  • 6d18e00099 client: renamed internal functions and variables Max Kellermann 2008-08-28 20:02:59 +02:00
  • fe03cb9549 client: renamed Interface to struct client Max Kellermann 2008-08-28 20:02:58 +02:00
  • deb29e0884 renamed interface.c to client.c Max Kellermann 2008-08-28 20:02:43 +02:00
  • 9340e291f0 imported list.h from the Linux kernel sources Max Kellermann 2008-08-28 20:02:20 +02:00
  • bc1c8835c6 const pointers Max Kellermann 2008-08-28 20:02:17 +02:00
  • 801c71ed1c unsigned integers and size_t Max Kellermann 2008-08-28 20:02:16 +02:00
  • 1560a70b01 include cleanup Max Kellermann 2008-08-28 20:01:08 +02:00
  • b7861868cf protect locate.h from double inclusion Max Kellermann 2008-08-28 20:01:08 +02:00
  • f34f694ec3 moved player_command_finished() to player_thread.c Max Kellermann 2008-08-26 08:45:15 +02:00
  • e2c8b960de moved code to pc_init(), dc_init() Max Kellermann 2008-08-26 08:45:14 +02:00
  • 5e51fa020d renamed player.c to player_control.c Max Kellermann 2008-08-26 08:44:38 +02:00
  • b616dff77d no commandError() in playerSeek() Max Kellermann 2008-08-26 08:44:34 +02:00
  • bf4af19f54 don't initialize "i" if we overwrite it anyway Max Kellermann 2008-08-26 08:44:33 +02:00
  • a2b24462e8 renamed decoderInit() to decoder_thread_start() Max Kellermann 2008-08-26 08:44:29 +02:00
  • 56cdce6946 renamed decode.h to decoder_control.h Max Kellermann 2008-08-26 08:44:19 +02:00
  • dff8c6450b renamed decode.c to decoder_thread.c Max Kellermann 2008-08-26 08:44:12 +02:00
  • 4255bba0f7 moved global variable "pc" to player.h Max Kellermann 2008-08-26 08:41:05 +02:00
  • a94845ee00 moved global variable "ob" to outputBuffer.h Max Kellermann 2008-08-26 08:41:05 +02:00
  • 15c9352bb6 moved enum decoder_command to decoder_api.h Max Kellermann 2008-08-26 08:41:05 +02:00
  • 1c03c721ea moved variable "dc" to decode.h Max Kellermann 2008-08-26 08:40:47 +02:00
  • 9521c92f66 player_thread: removed decode(), renamed decodeParent() Max Kellermann 2008-08-26 08:29:37 +02:00
  • 70904adf18 hide DecoderControl accesses in inline functions Max Kellermann 2008-08-26 08:29:35 +02:00
  • a1ce999978 check for decoder error before state!=START Max Kellermann 2008-08-26 08:27:18 +02:00
  • c6035ea332 don't reset dc->command in quitDecode() Max Kellermann 2008-08-26 08:27:18 +02:00
  • 8a4970f863 added decoder_control.c Max Kellermann 2008-08-26 08:27:18 +02:00
  • 7d3429a6d8 removed the "queue" parameter from syncPlaylistWithQueue() Max Kellermann 2008-08-26 08:27:18 +02:00
  • a9f0d85115 merge the playlist lock functions into clearPlayerQueue() Max Kellermann 2008-08-26 08:27:17 +02:00
  • 2a06e2dafa use switch/case in syncPlaylistWithQueue() Max Kellermann 2008-08-26 08:27:17 +02:00
  • 110cef6fda don't call playerStop() before playerPlay() Max Kellermann 2008-08-26 08:27:17 +02:00
  • 7125fdc4f2 assert locked/unlocked in queue lock functions Max Kellermann 2008-08-26 08:27:17 +02:00
  • f168695699 don't unlock player queue in playerStop(), playerWait() Max Kellermann 2008-08-26 08:27:17 +02:00
  • 113c1c0af5 queueSong() cannot fail Max Kellermann 2008-08-26 08:27:17 +02:00
  • b94af79134 fix a comment regarding the player queue Max Kellermann 2008-08-26 08:27:17 +02:00
  • 4613115bec document the PLAYER_QUEUE_ constants Max Kellermann 2008-08-26 08:27:17 +02:00
  • 55377fbd9f added enum player_queue_state Max Kellermann 2008-08-26 08:27:16 +02:00
  • ae00330285 rewrote playerKill() Max Kellermann 2008-08-26 08:27:16 +02:00
  • 92d9797b8c player: don't call STOP before CLOSE_AUDIO Max Kellermann 2008-08-26 08:27:16 +02:00
  • cff923b9d8 playlist: eliminate unused fd parameters Max Kellermann 2008-08-26 08:27:16 +02:00
  • 3db333b5a4 player: no "fd" and no return value Max Kellermann 2008-08-26 08:27:16 +02:00
  • 6df980a996 flac: decoder command means EOF Max Kellermann 2008-08-26 08:27:16 +02:00
  • 8a5109483d made "sample_size" static const Max Kellermann 2008-08-26 08:27:16 +02:00
  • e056ff2b02 moved jack configuration to the JackData struct Max Kellermann 2008-08-26 08:27:16 +02:00
  • 479d02da0e jack: removed unused macros Max Kellermann 2008-08-26 08:27:15 +02:00
  • edd7e2f94e jack: don't set audioOutput->data=NULL Max Kellermann 2008-08-26 08:27:15 +02:00
  • 806a9f02a1 jack: initialize JackData in jack_initDriver() Max Kellermann 2008-08-26 08:27:15 +02:00
  • 83215bf9ce jack: added freeJackClient() Max Kellermann 2008-08-26 08:27:15 +02:00
  • dc989987ab jack: initialize jd->client after !jd check Max Kellermann 2008-08-26 08:27:15 +02:00
  • 2383231123 jack: eliminate superfluous freeJackData() calls Max Kellermann 2008-08-26 08:27:15 +02:00
  • f46de2c32f mp3, flac: check for seek command after decoder_read() Max Kellermann 2008-08-26 08:27:15 +02:00
  • e530181e23 check decoder_command!=NONE instead of decoder_command==STOP Max Kellermann 2008-08-26 08:27:15 +02:00
  • 4515ac5ecb mp3: converted the MUTEFRAME_ macros to an enum Max Kellermann 2008-08-26 08:27:14 +02:00
  • 95fff55d7e mp3: converted the DECODE_ constants to an enum Max Kellermann 2008-08-26 08:27:14 +02:00
  • 1c196478b6 added flag "decoder.seeking" Max Kellermann 2008-08-26 08:27:14 +02:00
  • cf139dc012 wavpack: don't use "isp" before initialization Max Kellermann 2008-08-26 08:27:14 +02:00
  • 2e822a577d wavpack: moved code to wavpack_open_wvc() Max Kellermann 2008-08-26 08:27:14 +02:00
  • af58de6543 simplified code in the ogg decoder plugin Max Kellermann 2008-08-26 08:27:14 +02:00
  • 940ecf5345 added decoder_read() Max Kellermann 2008-08-26 08:27:14 +02:00
  • d80260ab4e wavpack: added InputStreamPlus.decoder Max Kellermann 2008-08-26 08:27:14 +02:00
  • a1b430cb88 oggvorbis: don't detect OGG header if stream is not seekable Max Kellermann 2008-08-26 08:27:13 +02:00
  • 7bbca0842d added AacBuffer.decoder Max Kellermann 2008-08-26 08:27:13 +02:00
  • 468f61d587 mp3: added mp3DecodeData.decoder Max Kellermann 2008-08-26 08:27:13 +02:00
  • 7653ab434e mp3: audio_linear_dither() returns mpd_sint16 Max Kellermann 2008-08-26 08:27:13 +02:00
  • 9c823d67a7 mp3: changed outputBuffer's type to mpd_sint16[] Max Kellermann 2008-08-26 08:27:13 +02:00
  • 2a9608536c mp3: moved num_samples calculation out of the loop Max Kellermann 2008-08-26 08:27:13 +02:00
  • 3f55b5a1e4 mp3: eliminated outputPtr Max Kellermann 2008-08-26 08:27:13 +02:00
  • f0bcb4a44a mp3: don't do a second flush in mp3_decode() Max Kellermann 2008-08-26 08:27:13 +02:00
  • 2e8bd3ae1d mp3: always flush directly after decoding/dithering Max Kellermann 2008-08-26 08:27:12 +02:00
  • af83ac5ec6 mp3: dither a whole block at a time Max Kellermann 2008-08-26 08:27:12 +02:00
  • e99536e8eb mp3: moved dropSamplesAtEnd check out of the loop Max Kellermann 2008-08-26 08:27:12 +02:00
  • e4c6c01903 mp3: make samplesPerFrame more local Max Kellermann 2008-08-26 08:27:12 +02:00
  • 60a155624c mp3: unsigned integers Max Kellermann 2008-08-26 08:27:12 +02:00
  • f667da1b46 mp3: removed double cmd==STOP check Max Kellermann 2008-08-26 08:27:12 +02:00
  • 09fbbdc366 mp3: moved code to dither_buffer() Max Kellermann 2008-08-26 08:27:12 +02:00
  • d9583aa95b mp3: don't check dropSamplesAtStart in the loop Max Kellermann 2008-08-26 08:27:12 +02:00
  • df251a9960 assert song->url != NULL Max Kellermann 2008-08-26 08:27:11 +02:00
  • e99333167e aac: support decoding AAC streams Max Kellermann 2008-08-26 08:27:11 +02:00
  • 5300f79ca9 aac: splitted aac_parse_header() from initAacBuffer() Max Kellermann 2008-08-26 08:27:11 +02:00
  • 351dda01bd aac: check buffer lengths Max Kellermann 2008-08-26 08:27:11 +02:00
  • 9131f9ebfe aac: use fillAacBuffer() instead of manual reading Max Kellermann 2008-08-26 08:27:11 +02:00
  • 00c47b3c85 find AAC frames Max Kellermann 2008-08-26 08:27:11 +02:00
  • f43e39047d aac: moved code to adts_check_frame() Max Kellermann 2008-08-26 08:27:11 +02:00
  • b7ad3e4121 aac: moved code to aac_buffer_shift() Max Kellermann 2008-08-26 08:27:11 +02:00
  • a3cc928c71 aac: use inputStreamAtEOF() Max Kellermann 2008-08-26 08:27:10 +02:00
  • 35858dfe3a aac: don't depend on consumed data in fillAacBuffer() Max Kellermann 2008-08-26 08:27:10 +02:00
  • 2a14141121 aac: simplified fillAacBuffer() Max Kellermann 2008-08-26 08:27:10 +02:00
  • 1d18f0089a aac: make adtsParse() void Max Kellermann 2008-08-26 08:27:10 +02:00
  • 0ca8f9ac49 aac: use size_t Max Kellermann 2008-08-26 08:27:10 +02:00
  • a6332fd13b aac: removed unused initAacBuffer() parameters Max Kellermann 2008-08-26 08:27:10 +02:00
  • 4ca24b960b eliminate unused variables in the AAC decoder Max Kellermann 2008-08-26 08:27:10 +02:00
  • 82ca4cf8ce added InputStream.ready Max Kellermann 2008-08-26 08:27:10 +02:00
  • 6120635f06 added decoder_plugin_register() Max Kellermann 2008-08-26 08:27:09 +02:00
  • a68ef497f5 don't call quitDecode() in waitOnDecode() Max Kellermann 2008-08-26 08:27:09 +02:00