Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems setting volume on alsa #1563

Closed
installgentoo opened this issue Jul 8, 2022 · 2 comments
Closed

problems setting volume on alsa #1563

installgentoo opened this issue Jul 8, 2022 · 2 comments
Labels
Milestone

Comments

@installgentoo
Copy link

installgentoo commented Jul 8, 2022

Bug report

Describe the bug

Recently, after restarting mpd with an empty playlist, ncmpcpp/mpc can't adjust volume. When i start a song everything works as expected - music plays, volume is adjustable.

Adding a song doesn't fix the issue. Restarting with a paused song in playlist prevents the issue.

Expected Behavior

Ditto

Actual Behavior

Ditto

Version

Music Player Daemon 0.23.7 (0.23.7)
Copyright 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright 2008-2021 Max Kellermann <max.kellermann@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Database plugins:
 simple

Storage plugins:
 local


Decoders plugins:
 [dsdiff] dff
 [dsf] dsf
 [hybrid_dsd] m4a
 [ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 adx afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg opus psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tak tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve rtp:// rtsp:// rtsps://
 [pcm]

Filters:
 soxr

Tag plugins:


Output plugins:
 null alsa httpd

Encoder plugins:
 null lame wave

Input plugins:
 file io_uring alsa ffmpeg

Playlist plugins:
 extm3u m3u pls

Protocols:
 file:// alsa:// ftp:// gopher:// hls+http:// hls+https:// http:// https:// mmsh:// mmst:// rtmp:// rtmpe:// rtmps:// rtmpt:// rtmpte:// rtmpts:// rtp:// rtsp:// rtsps:// srtp://

Other features:
 epoll icu inotify tcp un

Configuration

music_directory         "/_/music"
playlist_directory	"/home/user/.ncmpcpp"
db_file                 "/var/lib/mpd/database"
state_file              "/var/lib/mpd/state"
pid_file                "/var/tmp/mpd.pid"
user                    "mpd"
auto_update             "yes"
log_file                "/tmp/mpd_log"
log_level               "verbose"

audio_output {
 type            "alsa"
 name            "My ALSA Device"
       	device          "default"
       	mixer_device    "default:0"
        mixer_type	"hardware"
        mixer_control   "PCM"
        mixer_index     "0"
 auto_resample   "yes"
}

audio_output_format             "48000:24:2"

samplerate_converter            "soxr high"

volume_normalization            "yes"

filesystem_charset "UTF-8"

Log

Jul 08 16:17 : state_file: Loading state file /var/lib/mpd/state
Jul 08 16:17 : inotify: initializing inotify
Jul 08 16:17 : event: RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
Jul 08 16:17 : inotify: watching music directory
Jul 08 16:17 : client: [0] opened from 127.0.0.1:35352
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "plchanges "0""
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "decoders"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "volume "-2""
Jul 08 16:17 : client: [0] command returned 3
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "volume "-2""
Jul 08 16:17 : client: [0] command returned 3
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "volume "-2""
Jul 08 16:17 : client: [0] command returned 3
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "volume "-2""
Jul 08 16:17 : client: [0] command returned 3
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "volume "2""
Jul 08 16:17 : client: [0] command returned 3
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "volume "2""
Jul 08 16:17 : client: [0] command returned 3
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "volume "2""
Jul 08 16:17 : client: [0] command returned 3
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "volume "-2""
Jul 08 16:17 : client: [0] command returned 3
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "lsinfo """
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "lsinfo "rock""
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : client: [0] process command "addid "rock/ratt round and round.m4a""
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "playid "1""
Jul 08 16:17 : playlist: play 0:"rock/ratt round and round.m4a"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : playlist: queue song 0:"rock/ratt round and round.m4a"
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : decoder_thread: probing plugin ffmpeg
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "plchanges "2""
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'ftyp' parent:'root' sz: 24 8 3356850
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: ISO: File Type Major Brand: M4A
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'free' parent:'root' sz: 8 32 3356850
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'mdat' parent:'root' sz: 3310330 40 3356850
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'moov' parent:'root' sz: 46488 3310370 3356850
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'mvhd' parent:'moov' sz: 108 8 46480
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: time scale = 1000
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'trak' parent:'moov' sz: 46356 116 46480
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'tkhd' parent:'trak' sz: 92 8 46348
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'edts' parent:'trak' sz: 36 100 46348
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'elst' parent:'edts' sz: 28 8 28
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: track[0].edit_count = 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: duration=265900 time=2048 rate=1.000000
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'mdia' parent:'trak' sz: 46220 136 46348
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'mdhd' parent:'mdia' sz: 32 8 46212
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'hdlr' parent:'mdia' sz: 45 40 46212
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: ctype=[0][0][0][0]
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stype=soun
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'minf' parent:'mdia' sz: 46135 85 46212
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'smhd' parent:'minf' sz: 16 8 46127
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'dinf' parent:'minf' sz: 36 24 46127
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'dref' parent:'dinf' sz: 28 8 28
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: Unknown dref type 0x206c7275 size 12
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'stbl' parent:'minf' sz: 46075 60 46127
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'stsd' parent:'stbl' sz: 103 8 46067
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: size=87 4CC=mp4a codec_type=1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: audio channels 2
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: version =0, isom =1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'esds' parent:'stsd' sz: 51 8 51
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: MPEG-4 description: tag=0x03 len=34
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: MPEG-4 description: tag=0x04 len=20
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: esds object type id 0x40
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: MPEG-4 description: tag=0x05 len=2
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: Specific MPEG-4 header len=2
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: mp4a config channels 2 obj 2 ext obj 0 sample rate 44100 ext sample rate 0
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'stts' parent:'stbl' sz: 32 111 46067
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: track[0].stts.entries = 2
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: sample_count=11453, sample_duration=1024
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: sample_count=1, sample_duration=360
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'stsc' parent:'stbl' sz: 64 143 46067
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: track[0].stsc.entries = 4
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'stsz' parent:'stbl' sz: 45836 207 46067
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: sample_size = 0 sample_count = 11454
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'stco' parent:'stbl' sz: 32 46043 46067
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 0, offset 28, dts 0, size 8, distance 0, keyframe 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 1, offset 30, dts 1024, size 576, distance 0, keyframe 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 2, offset 270, dts 2048, size 253, distance 0, keyframe 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 3, offset 36d, dts 3072, size 200, distance 0, keyframe 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 4, offset 435, dts 4096, size 244, distance 0, keyframe 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 5, offset 529, dts 5120, size 324, distance 0, keyframe 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 6, offset 66d, dts 6144, size 324, distance 0, keyframe 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 7, offset 7b1, dts 7168, size 281, distance 0, keyframe 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 8, offset 8ca, dts 8192, size 301, distance 0, keyframe 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 9, offset 9f7, dts 9216, size 315, distance 0, keyframe 1
...
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 11451, offset 32810b, dts 11725824, size 119, distance 0, keyframe 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 11452, offset 328182, dts 11726848, size 375, distance 0, keyframe 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: AVIndex stream 0, sample 11453, offset 3282f9, dts 11727872, size 33, distance 0, keyframe 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: Processing st: 0, edit list 0 - media time: 2048, duration: 11726190
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: drop a frame at curr_cts: 0 @ 0
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: drop a frame at curr_cts: 1024 @ 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'udta' parent:'moov' sz: 16 46472 46480
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: type:'meta' parent:'udta' sz: 8 8 8
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: on_parse_exit_offset=3356850
Jul 08 16:17 : ffmpeg: detected input format 'mov,mp4,m4a,3gp,3g2,mj2' (QuickTime / MOV)
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: Before avformat_find_stream_info() pos: 3356850 bytes read:54680 seeks:1 nb_streams:1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 0, dts -46440
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: demuxer injecting skip 2048 / discard 0
Jul 08 16:17 : ffmpeg/aac: skip 2048 / discard 0 samples due to side data
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: All info found
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0: start_time: 0 duration: 265.9
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: format: start_time: 0 duration: 265.947 (estimate from stream) bitrate=100 kb/s
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: After avformat_find_stream_info() pos: 48 bytes read:62872 seeks:2 frames:1
Jul 08 16:17 : ffmpeg: codec 'aac'
Jul 08 16:17 : decoder: audio_format=44100:f:2, seekable=true
Jul 08 16:17 : decoder: converting to 48000:24:2
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : output: OutputThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not permitted
Jul 08 16:17 : soxr: soxr engine 'cr32s'
Jul 08 16:17 : soxr: soxr precision=20, phase_response=50.00, passband_end=0.91, stopband_begin=1.00
Jul 08 16:17 : soxr: samplerate conversion ratio to 1.09
Jul 08 16:17 : ffmpeg/aac: skip 2048 / discard 0 samples due to side data
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 1, dts -23220
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 2, dts 0
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 3, dts 23220
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 4, dts 46440
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 5, dts 69660
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 6, dts 92880
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 7, dts 116100
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 8, dts 139320
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 9, dts 162540
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 10, dts 185760
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 11, dts 208980
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 12, dts 232200
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 13, dts 255420
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 14, dts 278639
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 15, dts 301859
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 16, dts 325079
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 17, dts 348299
Jul 08 16:17 : alsa_output: opened default type=PLUG
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 18, dts 371519
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 19, dts 394739
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 20, dts 417959
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 21, dts 441179
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 22, dts 464399
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 23, dts 487619
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 24, dts 510839
Jul 08 16:17 : alsa_output: buffer: size=2048..16384 time=42666..341334
Jul 08 16:17 : alsa_output: period: size=1024..1024 time=21333..21334
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 25, dts 534059
Jul 08 16:17 : alsa_output: default period_time = buffer_time/4 = 341333/4 = 85333
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 26, dts 557279
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 27, dts 580499
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 28, dts 603719
Jul 08 16:17 : alsa_output: format=S16_LE (Signed 16 bit Little Endian)
Jul 08 16:17 : alsa_output: buffer_size=16384 period_size=1024
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 29, dts 626939
Jul 08 16:17 : output: opened "My ALSA Device" (alsa) audio_format=48000:16:2
Jul 08 16:17 : output: converting in=48000:24:2 -> f=48000:16:2 -> out=48000:16:2
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 30, dts 650159
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 31, dts 673379
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 32, dts 696599
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 33, dts 719819
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 34, dts 743039
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 35, dts 766259
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 36, dts 789478
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 37, dts 812698
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 38, dts 835918
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 39, dts 859138
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 40, dts 882358
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 41, dts 905578
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 42, dts 928798
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 43, dts 952018
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 44, dts 975238
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 45, dts 998458
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 46, dts 1021678
Jul 08 16:17 : client: [0] process command "status"
Jul 08 16:17 : client: [0] command returned 0
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 47, dts 1044898
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 48, dts 1068118
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 49, dts 1091338
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 50, dts 1114558
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 51, dts 1137778
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 52, dts 1160998
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 53, dts 1184218
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 54, dts 1207438
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 55, dts 1230658
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 56, dts 1253878
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 57, dts 1277098
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 58, dts 1300317
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 59, dts 1323537
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 60, dts 1346757
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 61, dts 1369977
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 62, dts 1393197
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 63, dts 1416417
Jul 08 16:17 : client: [0] process command "idle"
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 64, dts 1439637
Jul 08 16:17 : client: [0] command returned 1
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 65, dts 1462857
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 66, dts 1486077
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 67, dts 1509297
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 68, dts 1532517
Jul 08 16:17 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, sample 69, dts 1555737

attached

Alsa config

# Alsa kernel modules' configuration file.

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=2

options snd_hda_intel enable=0,1
#spwans hdmi
#options snd_hda_intel index=1
@installgentoo
Copy link
Author

installgentoo commented Jul 8, 2022

mpd_log.txt

@MaxKellermann
Copy link
Member

Caused by #1480

@MaxKellermann MaxKellermann added this to the 0.23 milestone Jul 8, 2022
GameKyuubi pushed a commit to GameKyuubi/MPD that referenced this issue Jul 31, 2022
If a mixer is "global", it is available even if the output isn't
open.  However, since the check was changed from IsEnabled() to
IsReallyEnabled(), enabled outputs have not yet been used have not
been "really" enabled yet, preventing using the mixer.

Fixes a regression by commit 35dbc1a
(part of MusicPlayerDaemon#1480).

Closes MusicPlayerDaemon#1563
GameKyuubi pushed a commit to GameKyuubi/MPD that referenced this issue Oct 14, 2022
If a mixer is "global", it is available even if the output isn't
open.  However, since the check was changed from IsEnabled() to
IsReallyEnabled(), enabled outputs have not yet been used have not
been "really" enabled yet, preventing using the mixer.

Fixes a regression by commit 35dbc1a
(part of MusicPlayerDaemon#1480).

Closes MusicPlayerDaemon#1563
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants